Stoping the server through a script
2000-04-17 08:16:41
Question...
I am trying to write a script that can be put in rc.shutdown that will
gracefully bring down the adsm server. That means I need to insure that there
are no tapes mounted. I can write a script that will chack for mounts and even
un-mount tapes. The problem I am having is checking for processes running and
then stoping them. If I just unmount the tapes, and if something like
reclemation is running, another tape will just be mounted.
Does anyone know of a way to get the process numbers into a script? There is no
unique entry on the process line (when "q pr" is used) that I can grep for as I
can with requests or mounts!
Any help would be greatly appreciated!
Thanks,
Scott
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Stoping the server through a script,
Scott Fluegge <=
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Gary Ison
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Brian Johnson
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Fred Johanson
|
|
|