[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

show system directory-usage

Syntax

show system directory-usage
<depth number>
<path>

Syntax (TX Matrix Router)

show system directory-usage
<all-chassis |all-lcc | lcc number | scc>
<depth number>
<path>

Syntax (TX Matrix Plus Router)

show system directory-usage
<all-chassis |all-lcc | lcc number | sfc number>
<depth number>
<path>

Release Information

Command introduced before JUNOS Release 7.4.

sfc option introduced for the TX Matrix Plus router in JUNOS 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.

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.

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.

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.

path(Optional) Path or root directory to traverse.

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 124 describes the output fields for the show system directory-usage command. Output fields are listed in the approximate order in which they appear.

Table 124: 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

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]