SNAP

SNAP: It gathers system configuration information and compresses the information to a pax file.

This file can be downloaded later to a tape or a cd or can be sent to a remote system. This SNAP information is later used by IBM to resolve real time problems.

Only root user is allowed to run this command.

8 MB approx. Temp space is needed for SNAP information.

/tmp/ibmsupt is a default directory for SNAP output.

To write SNAP output to a different directory, use –d flag.

Each execution appends information to previously created file.

Use –r flag to remove the previous information.

Various SNAP commands are:

# snap –g

This command gathers ODM, error report, trace file, user environment, paging space, amount of physical memory, security user information and device information.

# snap –a

This command gathers all system information.

# snap –c

Creates a compressed pax image.

# snap –D

It gathers dump and /unix information.

# snap –e

This command gathers HACMP specific information from all nodes.

# snap –r

Removes the previous information.

Examples:

# snap –ac –d <full path of the destination directory>

This command will gather all the system information, compress the pax image and finally saves the pax image in the specified directory.

# snap –r –d < full path of the destination directory >

This command will clear / remove all the collected snap data.

Hope you enjoyed this post.

Happy Learning!

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
A Change to the SMT Mode Default in POWER9
Viewed 5540 times since Fri, Jan 18, 2019
Awesome Command to show top 15 processes using memory on AIX
Viewed 24069 times since Thu, Nov 29, 2018
Do you Know These 5 Use of V$session View ?
Viewed 109159 times since Thu, Jun 21, 2018
AIX rootvg Mirroring
Viewed 4756 times since Mon, May 21, 2018
View mksysb content & restore individual files
Viewed 2028 times since Tue, Jul 17, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 3968 times since Tue, Jun 14, 2022
Migrating AIX User Environments
Viewed 2333 times since Wed, May 30, 2018
AIX Errpt - Diag - Alog
Viewed 3842 times since Wed, Mar 20, 2019
AIX: How to manage network tuning parameters
Viewed 4045 times since Mon, Jun 11, 2018
Removing Failed or Missing Paths
Viewed 2950 times since Wed, May 30, 2018