HP Fabric Clustering System HP-UX Administrator's Guide, March 2008
HP-IB# dir syslog
========================================================
Existing Syslog-files on System
========================================================
slot date-created size file-name
--------------------------------------------------------
1 Wed Nov 26 11:19:25 2003 849964 ts_log
1 Tue Oct 21 16:00:03 2003 50373 ts_log.1.gz
1 Tue Sep 23 13:00:04 2003 54514 ts_log.2.gz
1 Fri Sep 12 17:00:03 2003 45265 ts_log.3.gz
4. Enter the delete command to remove a log file.
The syntax of the delete command is:
delete syslog:file | dir
where, file is the name of a log file. Enter the name exactly as shown by the dir command.
The syslog keyword and colon (:) are mandatory and indicate the logging file-system.
For example:
HP-IB# delete syslog:ts_log.3.gz
Delete file ts_log.3.gz? [yes(default) | yes]
5. Verify that you had successfully removed the log file.
HP-IB# dir syslog
========================================================
Existing Syslog-files on System
========================================================
slot date-created size file-name
--------------------------------------------------------
1 Wed Nov 26 11:19:25 2003 849964 ts_log
1 Tue Oct 21 16:00:03 2003 50373 ts_log.1.gz
1 Tue Sep 23 13:00:04 2003 54514 ts_log.2.gz
Deleting Image Files
To remove an uninstalled image file:
1. Log in to the CLI as a super user.
2. Enter the privileged-user mode.
HP-IB> enable
HP-IB#
3. Determine the currently installed system-images.
HP-IB# dir image
=========================================================================
Existing Boot-Images on System
=========================================================================
slot date-created size file-name
-------------------------------------------------------------------------
1 Mon Nov 17 14:20:09 2003 18911083 HP-AB291A-Release-1.1.3hp-build019.img
1 Mon Nov 17 14:20:09 2003 18911083 HP-AB291A-Release-1.1.3hp-build021.img
1 Mon Nov 17 14:27:51 2003 13082624 Release-1.1.3hp/build021
HP-IB#
4. Enter the delete command to remove an image file with a .img extension.
You cannot delete the system-image that booted the system because it is the actively being
used. The syntax of the delete command is:
delete image: image file | system image
where the image keyword and colon (:) are mandatory, and indicate the image file-system.
image file is the name of an image file and system image is the name of an installed
system-image. Enter either an image file name or installed system-image. Enter the name
exactly as shown by the dir command. For example:
96 Administration and Management