Previous Topic: sd set Command (3tsrv Utility)Next Topic: help Command (3tsrv Utility)


logs collect Command (3tsrv Utility)

Description:

Collect server logs and information and save them in a tar file

Syntax:
3tsrv logs collect [ file=file ] 
Arguments:
file

name of the tar file where the server logs and other server information are stored

Notes:

Server logs and files containing server information are saved in a directory named server_name-logs and the directory is tarred. The name of the tar is specified by the file argument. If file is not specified, then the tar file is named /var/log/server_name-logs.tar.
The following logs are collected, including the rotated copies (That is, xxx.1, xxx.2, and so on):

  1. /var/log/messages
  2. /var/log/applogic
  3. /var/log/secure
  4. /var/log/xen/ (the entire directory)

The following commands are executed on the server and the returned information is stored in the following files:

  1. lspci stored in lspci.out
  2. lspci -n stored in lspci-n.out
  3. lspci -v stored in lspci-v.out
  4. lsmod stored in lsmod.out
  5. cat /proc/cpuinfo stored in cpuinfo.out
  6. cat /proc/meminfo stored in meminfo.out
  7. dmidecode stored in dmidecode.out