User Guide DDOC0199-000-A9
1-Slot Data Transport System (CSfC) 13 - 39 Command Line Interface
© 2024 Curtiss-Wright Defense Solutions Revision 1.0
13.3.25 rmcfree
NOTE
The DTS1+ / XDS1+ has only 1 RMC slot. As a result, the -s option is always -s 0.
NOTE
The rmcfree information displayed in the CLI help is incorrect. It will be updated in the next DTS
software release.
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
det=<d> ............................. Reports if RMC is detected
p=<#>.................................. Number of partitions
fmt=<f> .............................. File system format
mnt=<d> ............................. Reports if RMC is mounted
size=<sz>.......................... Size of RMC
used=<sz>.......................... Amount of file system used
free=<sz>.......................... Amount of file system available
used=<p> ............................ Percentage
Enumerated types:
<#> ...................................... Integer showing numerical value
<d> ...................................... Status. 0 = not detected / not mounted, 1 = detected / mounted
<f> ....................................... File system type (ext4, NA)
<p> ...................................... Percentage used. Integer from 0 to 100, or "na".
<summary> ......................... Command status summary (OK, ERR)
<sz> .................................... Disk space with unit indicators as powers of 1000. (G - Gigabytes, M -
Megabytes, K - Kilobytes). Examples: 46G, 180M. Also, "NA" for not
available
Example: Display storage status and usage of RMC in slot 0 .
Example: Display RMC storage status and usage of partition 1 of the RMC in slot 0..
cw_dts> rmcfree
[rmcfree]
RMC_F#: det p# fmt mnt size used free used
**********************************************************************
RMC_F0: 1 1 ext4 1 252G 63M 252G 1
[!rmcfree] <summary>
rmcfree -s 0
rmcfree -s 0 -p 1