Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script for logging into HP Systems

Status
Not open for further replies.
Jun 12, 2001
19
US
Hello,
Im trying to setup a script to loginto my 8 HP systems. Does anyone have a real easy script to log into each system and stream the next login in a file that I can run from my desktop? Or is their a easier way to do this?

Please advise?

thanks

Chris
chrisam@rocketmail.com
 
Is it that you want to end up with 8 terminal windows open? One to each of your HPUX systems?

Or do you need to run a command on each system? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
As MikeLacey says if you want to run command on 8 machine use remsh machinename -n command
if you want to open 8 terminal windows open use xterm or dterm inside you script. do man on dterm. this is what I used on my script.
dtterm -title titlename -geometry 60x15 -display yoursystemname:0 -n yourmachinename -e rlogin remotesystem &

Sachin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top