
Chapter 3. Command Reference
112 X Family CLI Reference V 2.5.1
show ramdisk
The show ramdisk command displays information on the RAM disk of the device.
files
shows the RAM disk files and sizes.
stats
shows the statistics of RAM disk size and usage, the sync interval countdown, and
information regarding log files stored on the RAM.
Using show ramdisk
show RAM
disk files
Use show ramdisk files to view the current files and file sizes for RAM disk.
hostname# ramdisk files
-------
/ramLog filesystem: Size=40,089,600 Inuse=75,776 Free=40,013,824
Monitored files:
19596 /ramLog/log/sys/message.log 3766 /log/sys/message.log.z
0 /ramLog/log/sys/message.log.1 0 /log/sys/message.log.1.z
11938 /ramLog/log/audit/audit.log 2671 /log/audit/audit.log.z
0 /ramLog/log/audit/audit.log.1 0 /log/audit/audit.log.1.z
30812 /ramLog/log/block/block.log 0 /log/block/block.log.z
0 /ramLog/log/block/block.log.1 0 /log/block/block.log.1.z
2382 /ramLog/log/alert/alert.log 0 /log/alert/alert.log.z
0 /ramLog/log/alert/alert.log.1 0 /log/alert/alert.log.1.z
0 /ramLog/log/peer/peer.log 0 /log/peer/peer.log.z
0 /ramLog/log/peer/peer.log.1 0 /log/peer/peer.log.1.z
-------
/ramRO filesystem: Size=8,340,480 Inuse=6,511,616 Free=1,828,864
No monitored files - Read-only
-------
/ramTmp filesystem: Size=12,518,400 Inuse=11,264 Free=12,507,136
No monitored files - Read-only
show current
RAM disk
stats
To show the current statistics for RAM disk usage of logs, use the show ramdisk stats command. For
example:
hostname# show ramdisk stats
Enabled: TRUE
Sync Delay: 1 secs forced sync: 28
Sem Write Timeout: 5 secs error cnt: 0
Write Error Count: 0 (total)
Write Error Count: 0 (consecutive) (allowed=3)
RAM Disk Stats - Begin: 2004-05-02 11:07:37 [CST]
End: 2004-05-03 08:36:59 [CST]
--- RAM Disk - /ramLog ---------------
Alloc Sz: 40262144
File Count: 10
File Interval Cntdwn Dirty Flush Sync F/Sync F/min S/min
/ramLog/log/sys/message.log 30 13 FALSE 30 25 1.20 0.02 0.02
/ramLog/log/sys/message.log.1 30 12 FALSE 0 13 0.00 0.00 0.01
Commentaires sur ces manuels