EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB32892: How to collect configuration and package information for the AIX operating system.


Community Admin

• Strategy


The snap command on AIX gathers system configuration information and compresses the information into a tar file.

The snap command on AIX gathers system configuration information and compresses the information into a tar file. Approximately 8 MB of temporary disk space is required to collect all system information, including the contents of the error log.
If users do not gather all system information ('snap -a' command), less disk space may be required (depending on the options selected). The snap -g command gathers general system information, including the following:

  • Error report
  • Copy of the customized Object Data Manager (ODM) database
  • Trace file
  • User environment
  • Amount of physical memory and paging space
  • Device and attribute information
  • Security user information

The output of the snap -g command is written to the /tmp/ibmsupt/general/general.snap file.
To run snap, users may run the command:


# snap -gc

Gathering general system information...
........................ done.

-rw------- 1 0 0 886825 Jun 11 12:14 /tmp/ibmsupt/snap.pax.Z

Users can extract the data collected in the zipped snapped file as follows:
Sample Code/Error

# mkdir /tmp/snap
# cd /tmp/snap
# uncompress snap.pax.Z
# tar -xf snap.pax

Users will find most of the relevant output in the extracted folder "./general/".
 
Users wishing to learn more about this command should refer to the documentation: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/snap.htm 
 
Third Party Software Installation WARNING
 
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 21, 2017

Last Updated:

June 21, 2017