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
Configuring an AIX client with multiple Kerberos realms
Viewed 9029 times since Mon, Jun 25, 2018
AIX↑ AIX www links
Viewed 3798 times since Sat, Apr 20, 2019
Problems with NFS on an AIX Reboot? Then Go Single
Viewed 7377 times since Wed, May 30, 2018
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 3895 times since Fri, Jun 8, 2018
Mirroring session (TTY) on AIX using portmir
Viewed 9423 times since Thu, Feb 21, 2019
AIX: Remove existing disk
Viewed 2711 times since Sun, Jun 3, 2018
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2752 times since Fri, Apr 19, 2019
AIX check the HBA status
Viewed 16663 times since Tue, May 22, 2018
AIX Oracle tuning
Viewed 222973 times since Tue, Jul 2, 2019
10 AIX Commands to Add to Your Toolbox
Viewed 4413 times since Sat, May 19, 2018