show system directory-usage
Syntax
Syntax (EX Series)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (QFX Series)
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.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Description
Display directory usage information.
Options
none | — | Display all directory usage information. |
all-chassis | — | (TX Matrix routers 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). Display directory usage information about all the T1600 or T4000 routers (in a routing matrix based on a TX Matrix Plus router) in the chassis. |
all-lcc | — | (TX Matrix routers 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 connected T1600 or T4000 LCCs. |
all-members | — | (EX4200 switches and MX Series routers 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. |
infrastructure name | — | (QFabric systems only) (Optional) Display directory information for the fabric control Routing Engines and fabric manager Routing Engines. |
interconnect-device name | — | (QFabric systems only) (Optional) Display directory information for the Interconnect device. |
node-group name | — | (QFabric systems only) (Optional) Display directory information for the Node group. |
lcc number | — | (TX Matrix routers 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 router that is connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
local | — | (EX4200 switches and MX Series routers only) (Optional) Display directory information for the local Virtual Chassis member. |
member member-id | — | (EX4200 switches and MX Series routers only) (Optional) Display directory information for the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1. |
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 routers only) (Optional) Display directory information for the TX Matrix Plus router. 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)
show system directory-usage (QFX3500 Switch)
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@switch> 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
show system directory-usage (QFX3500 Switch)
user@switch> show system directory-usage
/var/tmp 30K /var/tmp/gres-tp 2.0K /var/tmp/rtsdb 2.0K /var/tmp/vi.recover 2.0K /var/tmp/install 2.0K /var/tmp/pics