1819814 Members
2712 Online
109607 Solutions
New Discussion юеВ

GSP script

 
Paulo Alexandre Teixeir_1
Occasional Contributor

GSP script

I'm trying to make a script that makes the shutdown to all others machines, and after that i would try to reboot the machine from GSP. The ideia is, to shutdown all site and from a remote place, to turn on all site. If you don't know how to interact with gsp, by script, please tell me how i can run a script where i can shutdown all the others system, from there.
Thank you all
4 REPLIES 4
Balaji N
Honored Contributor

Re: GSP script

hi
i am not sure, but if you are looking at some script to automate a set of commands u type manually check out expect.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Paulo Alexandre Teixeir_1
Occasional Contributor

Re: GSP script

Maby i didn't express well. wath i need it's one script to send a signal to GSP, and make RS to reset the system and it start's. That's all
James A. Donovan
Honored Contributor

Re: GSP script

Take a look at using the utility, "expect".

http://expect.nist.gov/

Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs.
Remember, wherever you go, there you are...
Paulo Alexandre Teixeir_1
Occasional Contributor

Re: GSP script

I create the script, it's not perfect but will do'it. thnaks all