Skip to main content

lsinfo

info

This command is supported starting from fsched 10.79.

Overview

The lsinfo command displays cluster resource configuration, host models, and host types. It supports filtering by category and querying detailed configuration for specific resources.


Options

OptionDescriptionConflicts With
-lShow detailed information in multi-line formatCannot be used with -w
-wShow information in wide horizontal formatCannot be used with -l
-mShow current cluster host models (including CPU factor and architecture)Cannot be used with -M
-MShow all supported host models (including historical models and special configs)Cannot be used with -m
-rShow only resource configuration (such as CPU, memory, storage)No conflicts
-tShow only host types (such as OS architecture and platform type)No conflicts
[resource_name...]Query one or more resources by name, listed at the end of the command (for example ncpus mem)No conflicts

Examples

  1. Show all resource configuration

    lsinfo -r
  2. Query GPU and memory configuration

    lsinfo gpu mem
  3. Compare host models

    lsinfo -m   # current model
    lsinfo -M # all models
  4. Combine format and type query

    lsinfo -l -t  # long format host types

Notes

  1. Default behavior When no options are specified, the command shows:

    • All resource configuration (equivalent to -r)
    • All host types (equivalent to -t)
    • Current host model (equivalent to -m) and historical models (equivalent to -M)
  2. Configuration file precedence The following admin-configured files override the default display (not visible to normal users):

    • lsinfo_rsrc.conf: custom resource descriptions
    • lsinfo_model.conf: extended host models
    • lsinfo_type.conf: additional host types
  3. Resource aliases Some resources have equivalent aliases, for example:

    • r1mcpu
    • itidle
    • swpswap