• 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

sinfo: command not found

by Deepika

“Sinfo” is a command-line tool that is part of the Slurm workload manager, which is a highly scalable and flexible job scheduling and management system used in high-performance computing (HPC) environments. The purpose of “sinfo” is to provide users with information about the nodes and partitions that are managed by the Slurm scheduler.

“Sinfo” can be used to view a wide range of information about the nodes and partitions, including the number of nodes available, their state, and the amount of memory and CPU resources available on each node. This information can be useful for users who need to schedule and manage their computational workloads efficiently and effectively.

Some of the options available with “sinfo” include the ability to display information about specific partitions or nodes, to filter the output based on various criteria, and to sort the output based on different fields. This allows users to quickly and easily identify the resources that are available to them and to plan their workloads accordingly.

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

sinfo: command not found

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

Distribution Command
Debian apt-get install sinfo
Ubuntu apt-get install sinfo
Kali Linux apt-get install slurm-client
Fedora dnf install sinfo
Raspbian apt-get install sinfo

sinfo Command Examples

1. Show a quick summary overview of the cluster:

# sinfo --summarize

2. View the detailed status of all partitions across the entire cluster:

# sinfo

3. View the detailed status of a specific partition:

# sinfo --partition partition_name

4. View information about idle nodes:

# sinfo --states idle

5. Summarise dead nodes:

# sinfo --dead

6. List dead nodes and the reasons why:

# sinfo --list-reasons

Summary

In addition to “sinfo”, the Slurm workload manager also includes several other command-line tools that are commonly used in HPC environments. These include “squeue”, which allows users to view information about jobs that are currently running or waiting in the queue, and “sbatch”, which is used to submit batch jobs to the scheduler.

Overall, “sinfo” is a powerful and useful tool for users who need to manage and schedule computational workloads in HPC environments. By providing detailed information about the nodes and partitions that are available, users can optimize their use of system resources and ensure that their workloads are executed efficiently and effectively.

Filed Under: Linux

Some more articles you might also be interested in …

  1. ClusterSSH(cssh) – Manage Multiple SSH Sessions on Linux
  2. chroot: Run command or interactive shell with special root directory
  3. How to disable NetworkManager on CentOS / RHEL 7
  4. acpi: command not found
  5. mountstats Command Examples in Linux
  6. How to Migrate CentOS/RHEL 6 iptables Rules to CentOS/RHEL 7 firewalld
  7. “resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem
  8. Linux OS Service ‘yum-updatesd’
  9. How to find if NUMA configuration is enabled or disabled?
  10. sudoedit: command not found

You May Also Like

Primary Sidebar

Recent Posts

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

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright