ClusterPack Tutorial

z
List all processes on node3 and node4
% clps -C node3+node4 -a
For more details on the usage of clps, invoke the command:
%
man clps
Back to Top
1.6.15 Kill a user's process (or all of the user's processes) on some/all Cluster
Nodes
The 'clkill' command in /opt/clusterpack/bin is used to kill processes on Cluster Nodes. Since
using PIDs on a cluster is not feasible given there will be different PIDs on different hosts, clkill
can kill processes by name.
Some examples of clps usage:
z
Kill all processes belonging to user 'joeuser'
%
clkill -u joeuser
z
Interactively kill all processes named 'view_server'
% clkill -i -r view_server
will result in a session like:
node0 2260 user1 ? 0:00 view_server
Kill (y/n)? n
node1 8070 user1 ? 0:04 view_server
Kill (y/n)? y
z
Kill a process with PID 2260 on node1
% clkill -C node1 -p 2260
For more details on the usage of clkill, invoke the command:
Back to Top
1.6.16 Create a Cluster Group
Groups of Compute Nodes can be created, and added to all tools in ClusterPack
using /opt/clusterpack/bin/clgroup.