ADSM-L

Re: How to remember PID of just started dsmcad at UNIX

2003-04-09 13:23:43
Subject: Re: How to remember PID of just started dsmcad at UNIX
From: Thomas Denier <Thomas.Denier AT MAIL.TJU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 9 Apr 2003 13:23:16 -0400
> how to remember PID of just started dsmcad at UNIX.
> The $! works with "dsmc sched ... &" but not with "dsmcad ... &"
>
> We startet one dsmcad for every virtual node with different option
> files
> on the same server (TSM-Client)
> and want to remember the PIDs for stopping selected dsmcad processes.

If you are using the -optfile command line option, you don't really
need to remember the PIDs; you can use the output from a ps command
to figure out which process is which. You might be able to do the
same thing if you are using environment variables to select the
options file. Some but not all Unix implementations have a ps command
option that lists environment variables.

<Prev in Thread] Current Thread [Next in Thread>