User Guide
DDOC0099-000-AH
DTS1 CSfC
12 - 36
Command Line Interface
© 2020 Curtiss-Wright Defense Solutions
Revision 5.0
12.3.22
rmcfree
NOTE
The DTS1 has only 1 RMC slot. As a result, the -s option is always -s 0.
Description
The rmcfree command displays RMC storage status and usage.
Syntax
rmcfree
[
-h
|
--help
|
--version
]
rmcfree
[
-s
]
Options
-h
,
--help
............................Print help message.
--version
............................Print program version.
-s
,
--slot
............................Slot number of an RMC (0,A,all). Default is 'A' for all slots.
-p
,
--pnum
............................Partition number ((1-128, A, all). Default is 'A' for all partitions.
Example:
Status display
Line Identifier
RMC_F#:................................Current disk utilization status of RMC in slot "#"
Fields
mnt=
<m> ...............................Reports file system mount status
fs=
<t> ...................................File system type
size=
<sz>.............................Capacity of file system
used=
<sz>.............................Used capacity of file system
free=
<sz>.............................Free capacity of file system
used%=
<p> ............................Percentage of file system used
status=
<sts> .......................Summary status for the given line.
Enumerated types:
<m>........................................Mount status. 0 = not mounted, 1 = mounted
<t>..........................................File system type (ext4, NA)
<sz> .......................................Disk space with unit indicators as powers of 1000. (G - Gigabytes,
M - Megabytes, K - Kilobytes). Examples: 46G, 180M. Also, "NA"
for not available.
<p>.........................................Percentage used. Integer from 0 to 100, or "na".
<sts> ......................................Status message (OK, ERR "<str>")
<str> .......................................Text string
<summary> ............................Command status summary (OK, ERR)
Example:
Control commands
Display RMC storage status and usage of the RMC in slot 0. This command will show the information for all
partitions, if any.
Display RMC storage status and usage of partition 1 of the RMC in slot 0.
cw_dts>
rmcfree
[rmcfree]
RMC_F0: mnt=<m> fs=<t> size=<sz> used=<sz> free=<sz> used%=<p> status=<sts>
RMC_F1: mnt=<m> fs=<t> size=<sz> used=<sz> free=<sz> used%=<p> status=<sts>
RMC_F2: mnt=<m> fs=<t> size=<sz> used=<sz> free=<sz> used%=<p> status=<sts>
[!rmcfree] <summary>
rmcfree -s 0
rmcfree -s 0 -p 1