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
| Option | Description | Conflicts With |
|---|---|---|
-l | Show detailed information in multi-line format | Cannot be used with -w |
-w | Show information in wide horizontal format | Cannot be used with -l |
-m | Show current cluster host models (including CPU factor and architecture) | Cannot be used with -M |
-M | Show all supported host models (including historical models and special configs) | Cannot be used with -m |
-r | Show only resource configuration (such as CPU, memory, storage) | No conflicts |
-t | Show 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
-
Show all resource configuration
lsinfo -r -
Query GPU and memory configuration
lsinfo gpu mem -
Compare host models
lsinfo -m # current model
lsinfo -M # all models -
Combine format and type query
lsinfo -l -t # long format host types
Notes
-
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)
- All resource configuration (equivalent to
-
Configuration file precedence The following admin-configured files override the default display (not visible to normal users):
lsinfo_rsrc.conf: custom resource descriptionslsinfo_model.conf: extended host modelslsinfo_type.conf: additional host types
-
Resource aliases Some resources have equivalent aliases, for example:
r1m→cpuit→idleswp→swap