mmlscallback command
Lists callbacks that are currently registered in the GPFS™ system.
Synopsis
mmlscallback [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
- 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 file system in IBM Spectrum Scale: Administration and Programming Reference.
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