From: SMTP%"gorokhovsky@binah.cc.brandeis.edu" 28-DEC-1993 11:24:39.85 To: EVERHART CC: Subj: PSTAT v2.1 X-Newsgroups: comp.os.vms From: gorokhovsky@binah.cc.brandeis.edu Subject: PSTAT v2.1 Message-ID: <1993Dec28.143255.6308@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Reply-To: gorokhovsky@binah.cc.brandeis.edu Organization: Brandeis University Date: Tue, 28 Dec 1993 14:32:55 GMT Lines: 48 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET PSTAT is a utility which helps regular users and system managers analyze and control processes on OpenVMS systems. This is the release of PSTAT v2.1; this version adds a lot of functionality to the utility. The major changes from the previous version are: cluster-wide operation support; deletion of selected processes from the command prompt with confirmation and log messages; /BEFORE and /AFTER qualifiers; handling of suspended processes on the host node; ability to select processes by the ratio; also a new feature which speeds up the operations in the continuous update mode (/LOCK). Here are some examples of using PSTAT: o Selection of processes by various characteristics - for example, $ PSTAT /USER=SM*TH /IMAGE=MA*L /BEFORE=TODAY /FULL will display detailed information about processes created before TODAY of users matching the specified username who run the image set by the /IMAGE qualifier, and $ PSTAT /TYPE=(DIALUP, REMOTE) /IMAGE=SPSS will display information about dialup and remote processes whose current image is matched by the /IMAGE qualifier. o Continuous monitoring of a process with a single keystroke deletion feature: $ PSTAT /CONTINUOUS /USERNAME=SMITH /TYPE=INTERACTIVE If there is a single process matching the specified characteristics, PSTAT will enter the continuous update mode. CTRL-D may be used to delete the currently displayed process, if the user who activated PSTAT has sufficient privilege to stop the process. o Deletion of multiple processes with similar characteristics: $ PSTAT /NODE=* /BEFORE=YESTERDAY /RATIO=LESS_THAN=0.01 /DELETE PSTAT will display and attempt to delete processes that were created before YESTERDAY with the connect to CPU time ratio less than 0.01 on all nodes in the cluster. The program will ask for the confirmation from the user for every deletion operation and output log messages indicating the status of the deletions. $ PSTAT /TYPE=DETACHED /PROCESS=SSV$LTA* /DELETE /NOCONFIRM The program will display and attempt to delete all matching processes as well as output log messages indicating the status of the deletions. o Quick detection and deletion of run-away processes by using the CPU time to connect time ratio and the continuous update mode. Version 2.1 was posted to vmsnet.sources. It is also available from Hunter Goatley's FILESERV and ftp site. If you have any questions, comments, or suggestions about PSTAT, please feel free to e-mail me. Regards, -Vadim Gorokhovsky gorokhovsky@binah.cc.brandeis.edu