ADSM-L

Re: Cancel all processes

2004-07-14 07:56:56
Subject: Re: Cancel all processes
From: "Warren, Matthew (Retail)" <Matthew.Warren AT POWERGEN.CO DOT UK>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 14 Jul 2004 12:56:33 +0100
I don't think there is a psecific command, but from a unix Ksh script I
do it with the following;


procs=$(dsmadmc -id=x -pa=x select \'grepme\',process_num from processes
| awk '/^grepme/{print $2}')
for proc in ${procs}
do
        dsmadmc -id=x -pa=x can pr ${proc}
done



-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Patrick Rainer
Sent: Wednesday, July 14, 2004 12:20 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Cancel all processes

Hi

Is there a possibility to cancel all active processes at once, like
"cancel session all" for sessions?
I need such a command for an installation routine.

Regards
Patrick


___________________________ Disclaimer Notice __________________________
This message and any attachments are confidential and should only be read by 
those to whom they are addressed. If you are not the intended recipient, please 
contact us, delete the message from your computer and destroy any copies. Any 
distribution or copying without our prior permission is prohibited.

Internet communications are not always secure and therefore Powergen Retail 
Limited does not accept legal responsibility for this message. The recipient is 
responsible for verifying its authenticity before acting on the contents. Any 
views or opinions presented are solely those of the author and do not 
necessarily represent those of Powergen Retail Limited. 

Registered addresses:

Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 
8LG.
Registered in England and Wales No: 3407430

Telephone +44 (0) 2476 42 4000
Fax +44 (0) 2476 42 5432

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