• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

sstat: command not found

by Deepika

sstat is a command-line tool that is part of the Slurm workload manager suite. It allows users and administrators to view information about running jobs on a Slurm-managed cluster.

The sstat command can be used to retrieve a wide range of information about running jobs, including resource usage, job status, memory usage, and more. It is particularly useful for monitoring and troubleshooting running jobs, as it provides real-time information on a variety of performance metrics.

If you encounter the below error while running the command deepika:

deepika: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install slurm-client
Ubuntu apt-get install slurm-client
Kali Linux apt-get install slurm-client
Fedora dnf install slurm
OS X brew install slurm
Raspbian apt-get install slurm-client

sstat Command Examples

1. Display status information of a comma-separated list of jobs:

# sstat --jobs=job_id

2. Display job ID, average CPU and average virtual memory size of a comma-separated list of jobs, with pipes as column delimiters:

# sstat --parsable --jobs=job_id --format=JobID,AveCPU,AveVMSize

3. Display list of fields available:

# sstat --helpformat

Summary

Overall, sstat is a powerful and flexible tool that is widely used in cluster computing environments to monitor job performance and troubleshoot issues.

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL : anacron basics (What is anacron and how to configure it)
  2. imagemagick for image optimization
  3. rpm-ostree Command Examples in Linux
  4. Linux OS Service ‘o2cb’
  5. scrot: command not found
  6. nmtui Command Examples in Linux
  7. binwalk Command Examples in Linux
  8. git pr: Check out GitHub pull requests locally
  9. atrm Command Examples in Linux
  10. How to Set Resource Limits for a Process with Systemd in CentOS/RHEL 7 and 8

You May Also Like

Primary Sidebar

Recent Posts

  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright