WM3700 WING 5.X : flash: log Directory partition Show allocated capacity command?

  • 0
  • 1
  • Question
  • Updated 2 months ago
  • Answered
flash: /log Directory partition Show allocated capacity command?

ex) Linux commands :  df -h
Photo of jeon min

jeon min

  • 360 Points 250 badge 2x thumb

Posted 2 months ago

  • 0
  • 1
Photo of Michael (Misha) Elin

Michael (Misha) Elin, SE

  • 506 Points 500 badge 2x thumb
Hello,
It is "show file systems". Also "dir", "cd", "del" and "service clear crash" are useful.

Misha
Photo of tknv

tknv, Employee

  • 382 Points 250 badge 2x thumb
Hi Jeon,

dir flash:/log/
and
service show info
Hoping it help.
Photo of Ondrej Lepa

Ondrej Lepa, Employee

  • 5,638 Points 5k badge 2x thumb
Hi Jeon,

if I get your question correctly, the closest to df -h is Misha's show file system

VX#show file systems
File Systems:

      Size(Mb)      Free(Mb)  Use%    Type  Prefix
            68            59    13   flash  nvram:
          7697          7146     7   flash  flash:
         22282         20574     7       -  vmsdb:
         22282         20574     7   flash  internal (/vms) 

However, Watanabe has also a good point listing available space by service show info

VX#service show info

7.0G out of 7.5G available for logs.
20.1G out of 21.8G available for history.
7.0G out of 7.5G available for crashinfo.

List of Files:

acct_server-initd.log                   5.2K    Aug 21 10:58
acct_server.log                         2.7K    Aug 21 10:58 <omitted>
So having this you can notice that flash: partition is mounted for logs and crash-info but rest (database, upgrade files etc) is stored within /internal.

Regards,
Ondrej