mmlscallback command
Lists callbacks that are currently registered in the GPFS system.
Synopsis
mmlscallback [-Y] [CallbackIdentifier[,CallbackIdentifier...] | user | system | all]
Availability
Available on all IBM Spectrum Scale editions.
Description
Use the mmlscallback command to list some or all of the callbacks that are currently registered in the GPFS system.
Parameters
- -Y
- Displays the command output in a parseable format with a colon (:) as a field delimiter. Each
column is described by a header.Note: Fields that have a colon (:) are encoded to prevent confusion. For the set of characters that might be encoded, see the command documentation of mmclidecode. Use the mmclidecode command to decode the field.
- CallbackIdentifier
- Indicates the callback for which information is displayed.
- user
- Indicates all user-defined callbacks. This is the default.
- system
- Indicates all system-defined callbacks.
- all
- Indicates all callbacks currently registered with the system.
Exit status
- 0
- Successful completion.
- nonzero
- A failure has occurred.
Security
You must have root authority to run the mmlscallback command
The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For more information, see Requirements for administering a GPFS file system.
Examples
To list all of the callbacks that
are currently in the GPFS system,
issue this command:
mmlscallback
The system
displays information similar to: test1
command = /tmp/myScript
event = startup
test2
command = /tmp/myScript2
event = shutdown
parms = %upNodes
To list a specific
callback (for example, test2) that is currently in the GPFS system, issue this command:
mmlscallback test2
The
system displays information similar to: test2
command = /tmp/myScript2
event = shutdown
parms = %upNodes