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
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2391 times since Fri, Apr 19, 2019
AIX, Security, System Admin↑ Generating random passwords
Viewed 2772 times since Fri, Apr 19, 2019
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 4883 times since Mon, May 21, 2018
AIX: How to determine which application created the OS core file
Viewed 2242 times since Mon, Jun 11, 2018
Part 3, Tuning swap space settings AIX7
Viewed 8792 times since Wed, Jun 19, 2019
Undocumented AIX command lquerypv
Viewed 3323 times since Mon, Jul 16, 2018
Backup and Restore With AIX
Viewed 4116 times since Sat, May 19, 2018
Creating Normal,Big,Scalable VG on AIX
Viewed 14160 times since Fri, Feb 1, 2019
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10416 times since Wed, Jun 5, 2019
AIX -- extending Logical Volumes online
Viewed 2522 times since Tue, Mar 12, 2019