Using qps to Check Memory Usage

Article ID: 217
Last updated: 13 Jan, 2026

You can use the qps tool to check the memory usage of jobs running on Aitken or Electra. This tool is a Perl script that uses Secure Shell (SSH) protocol to access each node of a running job in order to get process status (ps) information on each node.

For Aitken and Electra jobs, you can run qps on the PFEs.

The qps tool is available in the /u/scicon/tools/bin directory.

TIP: You can run the command module load scicon/cli_tools or add the directory to your shell startup script so that you can invoke qps without typing the full path each time. For example:
set path = ( $path /u/scicon/tools/bin )

Syntax:

pfe21% qps job_id

Example:

pfe21% qps 26130

*** Job 26130, User abc, Procs 1
NODE     TIME    %MEM %CPU STAT TASK
r1i0n14 10:17:13  2.8 99.9 RL   ./a.out
r1i0n14 10:17:12  2.9 99.9 RL   ./a.out
r1i0n14 10:17:18  2.9 99.9 RL   ./a.out
r1i0n14 10:16:34  2.9 99.8 RL   ./a.out
r1i0n14 10:17:11  2.9 99.9 RL   ./a.out
r1i0n14 10:17:13  2.9 99.9 RL   ./a.out
r1i0n14 10:17:12  2.9 99.9 RL   ./a.out
r1i0n14 10:17:15  2.9 99.9 RL   ./a.out

Note: The percentage of memory usage by a process reported by this script is a percentage of the memory in the entire node.

Contact Us

General User Assistance

Security

  • Report security issues 24x7x365
  • Toll-free: 1-877-NASA-SEC (1-877-627-2732)
  • E-mail: soc@nasa.gov

User Documentation

High-End Computing Capability (HECC) Portfolio Office

NASA High-End Computing Program

Tell Us About It

Our goal is furnish all the information you need to efficiently and effectively use the HECC resources needed for your NASA computational projects.

We welcome your input on features and topics that you would like to see included on this website.

Please send us email with your wish list and other feedback.