files command

This command manages files uploaded to the advanced management module.

Table 1. files command
Function What it does Command Valid targets
Display file list and free space Displays a list of files and space remaining in the advanced management module file system. files
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Delete file Deletes a file from the advanced management module file system.
Note: This command can only be used to delete files: it will not delete directories.
files -d filename

where filename is a valid, existing filename of less than 256 characters in length.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis administration
  • Chassis configuration
  • Blade administration
  • Blade configuration
  • I/O module administration
  • I/O module configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example: To view the files and remaining space in the management module file system, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  files
               
To delete the file tftproot/tftp_file.pkt from the management module file system, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  files -d tftproot/tftp_file.pkt
               

The following example shows the information that is returned from these commands:

               system:mm[1]> files
     12288 Thu Jan 05 13:28:23 2006 lost+found/
      1024 Thu Jul 06 19:32:51 2006 tftproot/
      1024 Thu Jul 06 19:34:15 2006 tftproot/manu/
      1024 Thu Jul 06 19:34:15 2006 tftproot/manu/manu2/
         0 Sat Aug 19 09:22:02 2006 tftproot/tftp_file.pkt
         0 Sun Oct 01 07:57:19 2006 tftproot/.Do_not_delete_this_directory
         0 Tue Dec 15 11:07:19 2009 test
         0 Thu Apr 13 23:45:40 2006 bob.pkt
      1024 Tue Feb 02 15:29:17 2010 pubkeys/
       426 Tue Feb 02 15:29:17 2010 pubkeys/ssh_key.pub
      5652 Fri May 12 00:56:36 2006 asm.cfg
Total space:   73108480 bytes
Used:             24576 bytes
Available:     73083904 bytes
system:mm[1]> files -d tftproot/tftp_file.pkt
OK
system:mm[1]>