Search Results

Search: Posts Made By: LRoberts
4,974
Posted By LRoberts
ssh -o ConnectTimeout=15 eventsit ...
ssh -o ConnectTimeout=15 eventsit



Please use code tags (https://www.unix.com/how-post-unix-linux-forums/167686-forum-video-tutorial-how-use-code-tags.html) <- click the link!
4,974
Posted By LRoberts
I see.... -o 'option' Process the option as if...
I see....
-o 'option' Process the option as if it was read from a configuration file.

I will give this a try.

---------- Post updated at 07:38 AM ---------- Previous update was at 07:35 AM...
4,974
Posted By LRoberts
That may be exactly what I am looking for. I did...
That may be exactly what I am looking for. I did not know there was a ConnectTimeout setting for SSH. what does the -o stand for?
4,974
Posted By LRoberts
Correct but is there someway to make that timeout?
Correct but is there someway to make that timeout?
4,974
Posted By LRoberts
Passwording is not an issue. We use a .hosts file...
Passwording is not an issue. We use a .hosts file which allows for an SSH to each server from one another.
The first line was just a type'o in here. :-)

Any other ideas?
913
Posted By LRoberts
So far it seems like nothing I try works to break...
So far it seems like nothing I try works to break out of it.
The odd thing is that it is very random. It will stop at random points in the server list. So one time the SSH might stick on one...
4,974
Posted By LRoberts
SSH Is hanging and the & sign does not seem to be working
I am having an issue where I am do an SSH to about 30 servers one at a time however my script is getting hung up sometimes on the SSH.
I thought the & at the end as seen below would fire it and move...
913
Posted By LRoberts
SSH Script is sticking, & sign not doing what I would expect
I am having an issue where I am do an SSH to about 30 servers one at a time however my script is getting hung up sometimes on the SSH.
I thought the & at the end as seen below would fire it and move...
1,288
Posted By LRoberts
Quote issues in VB.NET
Running into a small issue and not sure on the syntax to get around it...
I need to execute:

sc \\iamdc.grhq.XXX.com (file://\\iamdc.grhq.XXX.com) query "DirXMLRemote 8000"


My issue though...
8,814
Posted By LRoberts
That did the trick. Thank you! Big help.
That did the trick. Thank you! Big help.
8,814
Posted By LRoberts
Will that also follow all sub directories? That...
Will that also follow all sub directories? That was the one part I was not sure on. I need it to. Thank you very much for the help.

---------- Post updated at 04:08 AM ---------- Previous update...
8,814
Posted By LRoberts
Find, replace, file path in multiple files for Solaris 10
Guys I have a big issue that I need to get fixed ASAP however I can not seem to find a way to do it. We started to use zones with Solaris 10 at work and we moved a zone from a SIT box to a DEV box. ...
6,939
Posted By LRoberts
This is what I came up with... ...
This is what I came up with...

open(LOGF, ">>/lcl/apps/esm/bin/eventlogger.log");
print LOGF "Passed parameters: " . Dumper(\@_) . "\n";
close(LOGF);
my %parms =...
6,939
Posted By LRoberts
log data::dumper output to file
I am new to Perl and just started using the data::dumper.
i have been unable to figure out how to take the output that comes from the data::dumper and redirect it to a file.

I tried this....
...
3,274
Posted By LRoberts
Here is a sample output of.... ypcat...
Here is a sample output of....

ypcat osiunix_pods |cut -f 1-2 -d: | sort -t : -k 2



greenchromis.grhq.XXX.com:production
guppy.grhq.XXX.com:production
horsehead.grhq.XXX.com:production...
3,274
Posted By LRoberts
Changed but still does not work... As you can see...
Changed but still does not work... As you can see it still has the whole string...
Now checking for quality connection to: gulfweed.grhq.gfs.com:OES2 ...
3,274
Posted By LRoberts
It just does not seem to work. It does not like...
It just does not seem to work. It does not like my syntax.
This is how I am trying it...

#!/bin/sh
for remote_server in `ypcat osiunix_pods |cut -f 1-2 -d: | sort -t : -k 2`
do...
3,274
Posted By LRoberts
Well the problem is I do not really need to echo...
Well the problem is I do not really need to echo it. I just need to use the string.

I tried....

/lcl/tools/bin/sshPing.pl $remote_server | sed 's/:.*//' > /dev/null


But that did not...
3,274
Posted By LRoberts
Any examples of how I might do that? I do not...
Any examples of how I might do that?
I do not see much for examples on Google.
3,274
Posted By LRoberts
Strip a string in sh
I have a list of servers that I need my script to ping however this list also has the env they belong too such as SIT, PRD, warehouse and so on.
The break character for each section is :
A value in...
7,798
Posted By LRoberts
nawk command in Linux
I have a nawk command I use in Solaris....

ps -e -o comm | nawk -F'ora_pmon_' 'NF>1 {print $2}'


However it seems that this command will not work in Linux.
Linux bluemarron...
2,289
Posted By LRoberts
Filter on a grep
I am attempting to figure out how to only capture part of a grep command I am doing. So far no luck.

When I execute....

leviathan:/gfs/home/tivoli>ps -ef | /usr/ucb/ps -auxww | grep...
1,215
Posted By LRoberts
Remove end of values in file
leviathan:/lcl/apps/Tivoli/netcool/omnibus/bin>more pmonfile.dat
entp_stdby
ot1p_stdby
lawp_stdby


I am wonder how to remove the _stdby from all the values in this dat file using #!/bin/ksh
...
5,258
Posted By LRoberts
Yep now that works. It also shows the pid for...
Yep now that works. It also shows the pid for the grep itself though as well. I am trying to figure out how this is working, lol. Lost me on this one.

How can I make it so it does not return 2...
5,258
Posted By LRoberts
Gave it a try but got this... ...
Gave it a try but got this...

leviathan:/lcl/apps/Tivoli/netcool/omnibus/bin>./test.sh
./test.sh[3]: "${x:0:8}": bad substitution
leviathan:/lcl/apps/Tivoli/netcool/omnibus/bin>


Here is...
Showing results 1 to 25 of 104

 

Featured Tech Videos

All times are GMT -4. The time now is 04:35 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy