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
vfcpmap on VIO Server
Viewed 10922 times since Tue, Jun 4, 2019
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 4176 times since Tue, Jul 17, 2018
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 13560 times since Thu, Feb 21, 2019
AIX 7.2 running on my Macbook?
Viewed 14351 times since Mon, Jun 3, 2019
AIX: Remove existing disk
Viewed 3681 times since Sun, Jun 3, 2018
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 3106 times since Thu, Feb 21, 2019
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 14841 times since Wed, Jun 19, 2019
Mirroring session (TTY) on AIX using portmir
Viewed 10749 times since Thu, Feb 21, 2019
Recovery from LED 552, 554, or 556 in AIX
Viewed 3905 times since Tue, Apr 16, 2019
Useful AIX commands
Viewed 11576 times since Sun, Jun 17, 2018