Scroll to navigation

SNAP(8) Linux on Power Service Tools SNAP(8)

NAME

snap - generate a configuration snapshot for service

SYNOPSIS

/usr/sbin/snap [-athv] [-d dir] [-o file]

DESCRIPTION

The snap script copies several system status and config files and the output of several commands from the system into snap.tar.gz in the current directory. System servicers may ask that this be run in order collect data to diagnose a problem.

OPTIONS

-a
All data; collect detailed information (more files and output).
-d dir
Specify the directory where files and ouput will be collected (default: /tmp/ibmsupt).
-h
Print a help message.
-o file
Specify the output path and filename (.tar required, .tar.gz optional) (default: snap.tar.gz).
-t
Add hostname and timestamp to output filename.
-v
verbose output

FILES

These are some of the files that are archived:
/var/log/messages
 
/var/log/scanoutlog.*
 
/proc (select files)
 
/dev/nvram
 
/etc/yaboot.conf
30 May 2012 Linux