Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Log the System Storage Information

Action

To log the system storage statistics for the amount of free disk space in the router’s file system, use the following Junos OS CLI operational mode command:

user@host> show system storage | save filename

Sample Output

user@host> show system storage | save test
Wrote 14 lines of output to ‘test’

user@host> show system storage 
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     65687    26700    33733    44%    /
devfs              16       16        0   100%    /dev/
/dev/vn1         9310     9310        0   100%    /packages/mnt/jbase
/dev/vn2         8442     8442        0   100%    /packages/mnt/jkernel-5.0R5.1
/dev/vn3        11486    11486        0   100%    /packages/mnt/jpfe-5.0R5.1
/dev/vn4         5742     5742        0   100%    /packages/mnt/jroute-5.0R5.1
/dev/vn5         1488     1488        0   100%    /packages/mnt/jcrypto-5.0R5.1
/dev/vn6          792      792        0   100%    /packages/mnt/jdocs-5.0R5.1
mfs:2373      1015815        3   934547     0%    /tmp
/dev/ad0s1e     25263       11    23231     0%    /config
procfs              4        4        0   100%    /proc
/dev/ad1s1f   9825963  1811085  7228801    20%    /var

Meaning

The sample output displays statistics about the amount of free disk space in the router’s file system. Values are displayed in 1024-byte (1-KB) blocks.

Published: 2013-02-25

Published: 2013-02-25