Re: How to remember PID of just started dsmcad at UNIX
2003-04-09 11:27:42
Use
PID=` ps -e|grep dsmcad |grep -v grep|awk '{print $1}'`
echo $PID
Hope this helps
Balanand Pinni
-----Original Message-----
From: Andreas Boesler [mailto:andreas.boesler AT POSTBANK DOT DE]
Sent: Wednesday, April 09, 2003 8:53 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: How to remember PID of just started dsmcad at UNIX
Hello,
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.
Any tips ?
Thanks in advance !
Andreas.
|
|
|