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
"hostname" is the name of the server like hrndva-pop01.mail.rr.com etc.
If anyone can help me, I would greatly appreciate it. I believe I would have to do a for loop in the script?
Thanks!
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
"hostname" is the name of the server like hrndva-pop01.mail.rr.com etc.
If anyone can help me, I would greatly appreciate it. I believe I would have to do a for loop in the script?
Thanks!