Gathers system configuration information.
snap [-general] [-dev DeviceName]
snap script1 "script2 arg1 arg2" ...
The snap command gathers system configuration information and compresses the information into a pax file (snap.pax.Z). The file can then be transmitted to a remote system. The information gathered with the snap command may be required to identify and resolve system problems.
Approximately 8MB of temporary disk space is required to collect all system information, including contents of the error log.
| -dev OutputDevice | Copies the compressed image onto the specified device. |
| -general | Gathers general system information which is a subset of the system configuration information |
See Virtual I/O Server command exit status.
snapThe output of this command is written to the users home directory.
snap -general -dev /dev/rfd0Output is written to the /tmp/ibmsupt/general/lslpp.hBc and /tmp/ibmsupt/general/general.snap files. This command also writes the system information to a removable diskette.
snap foo1 "foo2 -x -y 3" "foo3 6" foo4Output is written to /tmp/ibmsupt/snapscripts/foo1, /tmp/ibmsupt/snapscripts/foo2 and /tmp/ibmsupt/snapscripts/foo3 assuming the destination directory is the default, /tmp/ibmsupt.
| snap.pax.Z |