snap
Use the satask snap command to collect diagnostic information from the node canister.
Syntax
Parameters
- -dump
- (Optional) Specifies that the most recent dump file on the node should be included in the snap file.
- -upload
- (Optional) Specifies that the snap file be uploaded after it is generated.
- -pmr pmr_number
- (Optional) Specifies the PMR number to use to upload the snap file. The format for a PMR is
a 13-character alphanumeric string or letters TS followed by 9 digits. If the specified PMR is
invalid or unknown, it is uploaded to a generic location on the server with the prefix:
If this option is not supplied, the snap file is uploaded using the machine type and serial number attributes.unknown_pmr_pmr_number_
- -noimm
- (Optional) Specifies that diagnostic data should not be collected from the Integrated Management Module (IMM).
- panel_name
- (Optional) Indicates the node on which to execute the snap command.
Description
This command completes immediately and the snap process runs as a background task. The user can use the sainfo lscmdstatus view to monitor the status of the task.
This command creates a new snap file to collect diagnostic information from the node. If this command is run from the command line, the snap file will be created in the /dumps directory on the specified node. Alternatively, if this command is run from a USB drive, the snap file will be created on the USB drive.
You can use the sainfo lsfiles command to list the files on the node.
An invocation example
satask snap
The resulting output:
No feedback
Important: The name of the output file (placed on the specified node) is
snap.single.nodeid.date.time.tgz.
An invocation example
satask snap -noimm
The resulting output:
No feedback
An invocation example
satask snap -dump 111584
The resulting output:
No feedback
An invocation example
satask snap -upload -pmr 63058,075,724
The resulting output:
No feedback
An invocation example
satask snap -upload -pmr TS000008577
The resulting output:
No feedback