Skip to main content

jobstats

From the jobstats documentation:

jobstats is a free and open-source job monitoring platform designed for CPU and GPU clusters that use the Slurm workload manager. It was released in 2023 under the GNU GPL v2 license. Visit the Jobstats GitHub repository.

Usage

If you call jobstats JOB_ID with a job ID, it will show you a report of your CPU and GPU usage for that job. Note that this will only work for recent jobs as older jobs may not have a recorded metrics in the server.

================================================================================
Slurm Job Statistics
================================================================================
Job ID: 49272919
User/Account: mhar0048/vf68
Job Name: Terminal
State: CANCELLED
Nodes: 1
CPU Cores: 13
CPU Memory: 240GB (18.5GB per CPU-core)
GPUs: 1
QOS/Partition: desktopq/desktop
Cluster: m3
Start Time: Fri Dec 5, 2025 at 10:46 AM
Run Time: 01:21:19
Time Limit: 05:00:00

Overall Utilization
================================================================================
CPU utilization [ 0%]
CPU memory usage [ 1%]
GPU utilization [ 0%]
GPU memory usage [||||||||||||||||||||||||| 51%]

Detailed Utilization
================================================================================
CPU utilization per node (CPU time used/run time)
m3a102: 00:01:47/17:37:07 (efficiency=0.2%)

CPU memory usage per node - used/allocated
m3a102: 1.7GB/234.4GB (132.1MB/18GB per core of 13)

GPU utilization per node
m3a102 (GPU 2): 0.1%

GPU memory usage per node - maximum used/total
m3a102 (GPU 2): 22.8GB/45GB (50.7%)

Notes
================================================================================
* The overall GPU utilization of this job is only 0%. This value is low
compared to the cluster mean value of 50%. Please investigate the reason
for the low utilization. For more info:
https://researchcomputing.princeton.edu/support/knowledge-base/gpu-computing#util

* Have a nice day!

Strudel Integration

After your interactive job is complete, a 'Jobstats' button will appear on the right, listed in the completed jobs section for you to access this report. Again, note that this will only work for recent jobs as older jobs may not have a recorded metrics in the server.

Jobstats Strudel