lsdumps

Use the lsdumps command to display a list of files in a particular dumps directory on one of the nodes in the system.

Syntax

lsdumps [ -nohdr ] [ -delim delimiter ] [ -prefix directory_name ] [ { node_name | node_id } ]

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, then the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-prefix directory_name
(Optional) Specifies the name of the directory to list files for. The default is the /dumps directory. Valid directory names:
  • /dumps
  • /dumps/audit
  • /dumps/cimom
  • /dumps/cloud
  • /dumps/easytier
  • /dumps/elogs
  • /dumps/feature
  • /dumps/iostats
  • /dumps/iotrace
  • /dumps/mdisk
  • /home/admin/update
  • /dumps/drive
  • /dumps/enclosure
node_name | node_id
(Optional) Specifies the node ID or name to list the available dumps for. If you do not specify a node, the available dumps on the configuration node are listed.

Description

This command displays a list of files that are detected by a node. You can specify the name of the directory to list files for, and the node ID or name. If you do not specify a directory, the /dumps directory is used.

The files are listed in order of time that is created, with the oldest files listed first.

Use the lsdumps command with the optional prefix parameter to specify a directory. If you do not specify a directory, /dumps is used as the default. Use the optional node_id_or_name parameter to specify the node to list the available dumps. If you do not specify a node, the available dumps on the configuration node are listed.

An invocation example to list the files in /dumps on the configuration node

lsdumps

The resulting output:

id   filename 
0    svc.config.cron.bak_node1
1    svc.config.backup.xml_node1
2    recover.110584.100116.035201
3    dump.110584.100118.051550
4    ethernet.aaabbbX-1.trc

An invocation example to list the files in /dumps/easytier on the configuration node

lsdumps -prefix /dumps/easytier/ node_1

The resulting output:

  id filename
  0  dpa_heat.78RE5LV-1.150705.074636.data
  1  dpa_log_78RE5LV-1_20150707062320_00000000.xml.gz