show system directory-usage
Syntax
Syntax (EX Series Switch)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.
Description
Display directory usage information.
Options
- none
Display all directory usage information.
- all-chassis
(TX Matrix and TX Matrix Plus routers only) (Optional) Display directory usage information about all the T640 routers (in a routing matrix based on a TX Matrix router) or T1600 routers (in a routing matrix based on a TX Matrix Plus router) in the chassis.
- all-lcc
(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display directory information for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, display directory information for all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.
- all-members
(EX4200 switches only) (Optional) Display directory information for all members of the Virtual Chassis configuration.
- depth number
(Optional) Depth of the directory to traverse. This option is useful when you want to limit the output shown for a large file system.
- lcc number
(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display directory information for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display directory information for a specific T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.
- local
(EX4200 switches only) (Optional) Display directory information for the local Virtual Chassis member.
- member member-id
(EX4200 switches only) (Optional) Display directory information for the specified member of the Virtual Chassis configuration. Replace member-id with a value from 0 through 9.
- path
(Optional) Path or root directory to traverse.
- scc
(TX Matrix router only) (Optional) Display directory information for the TX Matrix router (or switch-card chassis).
- sfc number
(TX Matrix Plus router only) (Optional) Display directory information for the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.
Required Privilege Level
view
List of Sample Output
show system directory-usage scc (TX Matrix Router)show system directory-usage sfc (TX Matrix Plus Router)
Output Fields
Table 1 describes the output fields for the show system directory-usage command. Output fields are listed in the approximate order in which they appear.
Table 1: show system directory-usage Output Fields
Field Name | Field Description |
|---|---|
bytes | Number of bytes used by files in a directory. |
directory-name | Name of the directory. |
Sample Output
show system directory-usage scc (TX Matrix Router)
user@host> show system directory-usage /var/tmp
scc /var/tmp
1.0K /var/tmp/vi.recover
2.0K /var/tmp/instmp.tPMk8u
1.0K /var/tmp/install
/var/tmp/instmp.GUMpur
4.8M /var/tmp/instmp.GUMpur/packages
6.4M /var/tmp/troy1
297M /var/tmp/dsw
/var/tmp/pkg_tmp.2073
83K /var/tmp/pkg_tmp.2073/bin
/var/tmp/instmp.oMIDbl
89K /var/tmp/instmp.oMIDbl/bin
/var/tmp/instmp.byhMjR
4.6M /var/tmp/instmp.byhMjR/packages
/var/tmp/instmp.6fqHf3
1.7M /var/tmp/instmp.6fqHf3/packages
/var/tmp/instmp.mljECe
4.6M /var/tmp/instmp.mljECe/packages
show system directory-usage sfc (TX Matrix Plus Router)
user@host> show system directory-usage /var/tmp
sfc 0 sfc0-re0:
--------------------------------------------------------------------------
/var/tmp
46K /var/tmp/gres-tp
/var/tmp/sec-download
2.0K /var/tmp/sec-download/sub-download
2.0K /var/tmp/vi.recover
2.0K /var/tmp/install
795M /var/tmp/cores
766K /var/tmp/pr440594
