Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system directory-usage

Syntax

Syntax (EX Series)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax (QFX Series and OCX 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:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

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

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 (Junos OS)

show system directory-usage scc (TX Matrix Router)

show system directory-usage sfc (TX Matrix Plus Router)

show system directory-usage (QFX Series and OCX Series)

show system directory-usage (Relative Directory)

In this example, example_dir is a directory inside /var/tmp/, and the user ran this command inside /var/tmp/:

Sample Output (Junos OS Evolved)

show system directory-usage (Relative Directory)

In this example, example_dir is a directory inside /var/tmp/, and the user ran this command inside /var/tmp/:

Release Information

Command introduced before Junos OS Release 7.4.

sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.