lsfiles

Use the lsfiles command to display the files on the node that you want to retrieve with the satask cpfiles command.

Syntax

sainfolsfiles [ -prefixpath ] [ panel_name ]

Parameters

panel_name
The name of the panel. The command will fail if the panel_name
ID is not in the list returned by the lsservicenodes command.
Note: If panel_name is not supplied, this applies to the node on which the command is running.
-prefix path
The path must exist in a permitted listable directory. You can use the following -prefix paths:
  • /dumps (the default if -prefix is not set)
  • /dumps/audit
  • /dumps/cimom
  • /dumps/configs
  • /dumps/drive
  • /dumps/easytier
  • /dumps/elogs
  • /dumps/enclosure
  • /dumps/feature
  • /dumps/iostats
  • /dumps/iotrace
  • /dumps/mdisk
  • /dumps/syslogs
  • /home/admin/update

Description

This command displays a list of the files on the node that you want to retrieve using the satask cpfiles command.

An invocation example to list the files in the /dumps directory

sainfo lsfiles -prefix /dumps

The resulting output:

filename     
sublun.trc.old    
sublun.trc        
100050.trc.old    
eccore.100050.100305.183051 
eccore.100050.100305.183052 
ethernet.100050.trc 
100050.trc 

An invocation example to list the files in the /dumps/easytier directory

sainfo lsfiles -prefix /dumps/easytier/ 01-1

The resulting output:

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