[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1


ctsnap Command

Purpose

Gathers configuration, log, and trace information for the Reliable Scalable Cluster Technology (RSCT) product.

Syntax

ctsnap [ -h ] [ -d Output_Directory ]

Description

The ctsnap command gathers configuration, log, and trace information about the Reliable Scalable Cluster Technology (RSCT) components that are installed with the base operating system. These components include the following:

This command is typically executed when a problem is encountered with any of these components in order to provide information to your software-service organization.

The output of ctsnap is a compressed tar file and a log file (ctsnap.nnnnnnnn.tar.Z and ctsnap.nnnnnnnn.log, respectively, where nnnnnnnn is a timestamp). Both files should be provided to the software-service organization. By default these files are placed in the /tmp/ctsupt directory.

Flags


-h Writes the usage statement of the command to standard output.
-d Output_Directory Identifies the output directory (The default directory is /tmp/ctsupt).

Exit Status


0 Command has run successfully.
1 Command was not successful.

Security

Privilege Control: Only the root user should have execute (x) access to this command.

Examples

  1. To gather RSCT support information, type:

    ctsnap
    
  2. To gather RSCT support information and place it in the /tmp/mydir directory, type:

    ctsnap -d /tmp/mydir
    

Files


/usr/sbin/rsct/bin/ctsnap Location of the ctsnap command.
/tmp/ctsupt Default directory containing the output files.
/tmp/ctsupt/ctsnap.nnnnnnnn.tar.Z Compressed tar file that contains the collected data, where nnnnnnnn is a timestamp.
/tmp/ctsupt/ctsnap.nnnnnnnn.log Log file of the command execution, where nnnnnnnn is a timestamp.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]