Skip to content
Snippets Groups Projects
Forked from Eesaan Atluri / rc-user-add-test
Source project has a limited visibility.
user avatar
authored
Name Last commit Last update
..
.gitignore
README.md
scontext.sh

squeue-with-context-switches

Augments squeue with context switches per second in the last column. Because context switching stats are node local, the script must be run on a node.

The intent is to help with investigating context switching caused by specific jobs, and as a proof-of-concept. Any statistic that is attached to a PID could be added to the output of this script, or have its own script.

To use

  1. ssh $nodename for any node on the system. Hopefully you are able to get in!
  2. ./scontext.sh to see context switching information.