PHV, thanks for the response and the code..where do I put all the hostnames in the script or how do I put them there? I don't have a file with all the hostnames but I do have all the host names that the process needs to be started on..
(</path/to/hostnames.lst)=====> can I put all the...
Thanks for the response. Basically these processes die down on multiple servers at the same time and then I have to manually log in to the admin server and run the command for each server manually...I replace the "HOSTNAME" part with the name of the server and run it multiple times to make sure...
Hello,
I am a Unix newbie and I need a script in which I can run a command on multiple servers at work. The command is to start a storage process and I am sick of doing it manually on all servers..
Here's the command:
/opt/bss/bin/snmptable -CB -v2c -c P67LzuBm hostname hrStorageTable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.