psopus.pl


Contents


Overview

The psopus.pl command allows the HST OPUS pipeline user to check the process status of OPUS processes, including OPUS servers, for multiple nodes at the same time. The processes can be owned by the current user or by a different user. In addition, this command will allow the current user to terminate his/her own processes on these nodes.

The script will utilize the user's setting of OPUS_REMOTE_SHELL and OPUS_HOME_DIR from the opus_login.csh file.

The script was designed to work on Tru64 (no longer supported), Solaris, and Linux machines.

Several presumptions are made, especially in regards to killing OPUS processes, in order to simplify use of the script. For example,

So when it comes right down to it, when the user specifies -kill, he must really want to kill all the OPUS processes on all the nodes. The user must correctly specify all nodes which are running processes and servers for the pipelines that need to be killed. If the user does NOT specify all the nodes on which processes are running, some servers may be restarted.

Note:
If the OPUS servers are killed before all the OPUS processes are finished coming down, OPUS servers may restart automatically. This state can easily occur when there are so many OPUS processes to terminate that the system has not had enough time to finish bringing them down before psopus.pl submits the command to the operating system to kill the OPUS servers. It is suggested that the user always verify the state of the servers with another psopus.pl -t a before assuming all processes are terminated.

Setup:

Usage:

For the most current help and examples, use "psopus.pl" or "psopus.pl -help".

Context:

For the most current help and examples, use "psopus.pl" or "psopus.pl -help".

Inputs

Outputs

Examples: