SNAP in AIX

SNAP in AIX

 

Before running a snap .You need to Remove  old snap file.
# snap -r
 
For IBM Software Case.
Below command collect all the information.
# snap -ac  

For IBM Hardware Case
# snap -gc

snap  without  dump collection
# snap -aZc


# snap -gbc

Running snap with sudo. if  there is no authorization to run cp command.
Create file  snap.pax.Z in /tmp with your permissions and execute.
# snap -ac -d /tmp/


Flags:

-@         Gathers the workload partition information.
-a           Gathers all system configuration information except HACMP™ data.
-A          Gathers asynchronous (TTY) information.
-b           Gathers SSA information.
-B          Bypasses collection of SSA adapter dumps. The -B flag only works when the -b flag is also   specified
-c          Creates a compressed pax image.
-C         Retrieves all the files in the fwdump_dir directory.
-D         Gathers dump and /unix information. The primary dump device is used.
-d          AbsolutePath  (You must specify the absolute path.)
-e          Gathers HACMP specific information. -e cannot be used with any other flags except -m and -d.
-f          Gathers file system information.
-F         Gathers flash adapter information.
-g         Gathers the output of the lslpp -hac command, which is required to recreate exact operating system environments.
-G        Includes predefined Object Data Manager (ODM) files in general information collected with the -g flag.
-i         Gathers installation debug vital product data (VPD) information.
-k        Gathers kernel information
-l         Gathers programming language information.
-L        Gathers LVM information.
-m Nodelist             Node name list (separated by commas) to gather HACMP information.
-M Timeout             Specifies the maximum time out value in seconds, that the snap frame work waits before it kills one registered external product debug data command. Default time out value is 300 seconds.
-n          Gathers Network File System (NFS) information.
-N         Suppresses the check for free space required.
-o OutputDevice     Copies the compressed image onto the specified device.
-O FileSplitSize      Used to enable splitting of the snap output files into smaller files. The size of these files is specified as a parameter to the -O option and must be specified in megabytes. This flag can only be used when the -c flag is specified.
-p         Gathers printer information.
-P Files             Retrieves the named Files from the fwdump_dir directory.
-r         Removes snap command output from the /tmp/ibmsupt directory.
-R        Gathers SCSI RAID information.
-s         Gathers Systems Network Architecture (SNA) information.
-S         Includes security files in general information collected with the -g flag.
-t          Gathers Transmission control protocol information.
-T Filename        Gathers all the log files for a multi-CPU trace. Only the base file, trcfile, is captured with the -g flag.
-v Component        Displays the output of the commands executed by the snap command. Use this flag to view the specified name or group of files.
-w          Gathers WLM information.
-X         Gathers X.25 (Packet-based Communication Protocol) information.
-Y         Gathers InfiniBand information and saves it in the /tmp/ibmsupt/IB directory.
-z          Facilitates debug data collection for external products.
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 LVM QUORUM mysteries revealed
Viewed 3221 times since Wed, May 22, 2019
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 3614 times since Wed, Feb 6, 2019
AIX: How do you send an attachment via mail
Viewed 2775 times since Mon, Jun 11, 2018
Monitoring Events with AIX Audit
Viewed 3904 times since Wed, May 30, 2018
AIX - How to get network speed and statistic of ethernet adapter in AIX
Viewed 13542 times since Fri, Jun 8, 2018
Checking HBA status on AIX
Viewed 17994 times since Fri, Oct 5, 2018
AIX rootvg Mirroring
Viewed 4465 times since Mon, May 21, 2018
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 16611 times since Sun, Jun 30, 2019
AIX Increase paging space logical volume size
Viewed 2824 times since Tue, Jul 17, 2018
AIX Assign a PVID to a new hdisk
Viewed 6457 times since Tue, Jul 17, 2018