Chapter 3. Command Reference

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

Use show ramdisk files to view the current files and file sizes for RAM disk.

disk files

 

 

hostname# ramdisk files

 

-------

 

/ramLog filesystem: Size=40,089,600 Inuse=75,776 Free=40,013,824

Monitored files:

 

3766

/log/sys/message.log.z

19596

/ramLog/log/sys/message.log

 

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

-------

 

Inuse=6,511,616

Free=1,828,864

/ramRO filesystem: Size=8,340,480

No monitored files - Read-only

 

 

 

-------

filesystem: Size=12,518,400

Inuse=11,264

Free=12,507,136

/ramTmp

No monitored files - Read-only

 

 

 

show current

To show the current statistics for RAM disk usage of logs, use the show ramdisk stats command. For

RAM disk

example:

 

 

 

 

 

 

 

 

 

stats

 

 

 

 

 

 

 

 

 

 

hostname# show ramdisk stats

 

 

 

 

 

 

 

Enabled:

TRUE

1

secs forced sync:

28

 

 

 

 

Sync Delay:

 

 

 

 

 

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

 

Interval Cntdwn

Dirty

Flush

Sync

F/Sync

F/min

S/min

File

 

 

/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

112 X Family CLI Reference V 2.5.1