User Guide DDOC0099-000-AH
DTS1 CSfC 12 - 26 Command Line Interface
© 2020 Curtiss-Wright Defense Solutions Revision 5.0
12.3.16 mbit
NOTE
The DTS1 has only 1 RMC slot. As a result, the -s option is always -s 0.
Description
The mbit command executes maintenance built-in tests.
Syntax
mbit [-h | --help | --version]
Options
-h, --help............................Print help message.
--version..........................Print program version.
-s, --slot............................Slot number where the RMC unit is located. Operations on all slots
is prohibited.
-p, --pnum............................Partition number. Ranges from 1-128. Operations on all partitions is
prohibited.
--go.......................................Required for destructive/disruptive tests.
CAUTION
DATA LOSS. Use of --disk option will destroy data on the disk
--disk ..................................Run disk test on RMC in slot <slotNum> or on partition <partnum>.
--smart ................................View SMART stats for RMC in slot <slotNum>.
--eth DEVICE .....................Run Ethernet self-tests on DEVICE. DEVICE is one of: eth0, eth1.
The interface will be taken offline for this test. Do not perform test
on the interface used for the CLI.
CAUTION
DATA LOSS. Use of --fsck option may destroy data on the disk
--fsck ..................................Run file system check on RMC in slot <slotNum> or on partition
<partnum> on RMC <slotNum>. All --fsck* options will unmount
the RMC/partition.
--fsckro..............................Read-only version of --fsck.
CAUTION
DATA LOSS. Use of --fsckauto option may destroy data on the disk
--fsckauto..........................Auto-repair version of --fsck. Fixes simple problems without
intervention.
CAUTION
DATA LOSS. Use of --fsckyes option may destroy data on the disk
--fsckyes............................Auto-repair version of --fsck, assuming 'yes' to all repair prompts.
NOTE
Output of this command is not formalized. For interactive use.
Example: Full disk test output data
Example: Disk partition test output data
cw_dts> mbit --disk -s 0 --go
[mbit]
====== File is a block device
====== File corresponds to whole disk
dT=14 p=0 Tx=700 Rx=645 tM=141.86 rM=87.49 M=110.24 Ex2=0 Ex=0 LgB=-98.87
[!mbit] OK
cw_dts> mbit --disk -s 0 -p 1 --go
[mbit]
====== File is a block device
====== File corresponds to partition 1 on disk 2
dT=14 p=0 Tx=700 Rx=645 tM=141.86 rM=87.49 M=110.24 Ex2=0 Ex=0 LgB=-98.87
[!mbit] OK