HP Fabric Clustering System HP-UX Administrator's Guide, March 2008

File Management
The management of these files is performed automatically. Each file type is stored separately, in
separate file systems. All files share the 128 MB of flash memory. The names of the file systems
are:
syslog files
image files
config files
Listing Configuration, Image, and Log Files
To list the configuration files currently stored on the system:
Enter the dir command with the config keyword. For example:
HP-IB# dir config
============================================================================
Existing Configurations on System
============================================================================
slot date-created size file-name
----------------------------------------------------------------------------
1 Tue Jan 14 23:19:55 2003 9110 startup-config2
1 Tue Jan 14 00:11:04 2003 13925 startup-config
HP-IB#
Similarly, to list the log and image files currently stored on the system, enter the dircommand
with the syslogor imagekeywords.
Viewing Configuration Files
There are two ways to view configuration files. You may enter the show config command to
display the current system configuration or enter the more command to display the contents of
a specific configuration file. The show config command is described in “show config” (page 139).
The more command is described in this section.
To view the contents of a configuration file on the system:
Enter the more command, followed by config: and the name of a configuration file.
HP-IB# more config:sup-config
! Release-1.1.3hp/build023
! Mon Jan 12 19:49:38 2003
enable
config terminal
Viewing Log Files
The contents of the active log-file may be viewed using the show logging and more commands.
The show logging command displays the entire active log-file or log entries as they are being
entered in the active log-file. The more command displays the contents of a specified log file,
including the active log-file.
It is recommended you set the terminal page length to 0 when using the end argument. Otherwise,
you will have to keep pressing the space bar to continue each time the maximum display length
is reached. Refer to “show logging>” to set the number of lines displayed as you scroll through
the log data.
NOTE: You cannot view the compressed GNU-zip (.gz) log files that reside on the controller.
You must upload the files to a network host, then unzip them and view them on the host.
Do not change the window size after you have set the page length; changing the window size
would cause the terminal length to be overwritten by the actual size of the window.
To display the end of the active log-file and display new log entries as they occur,
Switch Administration and Management 91