Update armbianmonitor
This commit is contained in:
parent
9ae926fe17
commit
da0d169f9a
@ -289,26 +289,30 @@ ParseOptions() {
|
|||||||
} # ParseOptions
|
} # ParseOptions
|
||||||
|
|
||||||
DisplayUsage() {
|
DisplayUsage() {
|
||||||
echo -e "Usage: ${BOLD}${0##*/} [-h] [-b] [-c \$path] [-d \$device] [-D] [-m] [-p] [-r] [-u]${NC}\n"
|
|
||||||
echo -e "############################################################################"
|
# Kept for referance.
|
||||||
if [ ${FullUsage} ]; then
|
# if [ ${FullUsage} ]; then
|
||||||
echo -e "\nDetailed Description:"
|
# echo -e "\nDetailed Description:"
|
||||||
grep "^#" "$0" | grep -v "^#\!/bin/bash" | sed 's/^#//'
|
# grep "^#" "$0" | grep -v "^#\!/bin/bash" | sed 's/^#//'
|
||||||
fi
|
# fi
|
||||||
echo -e "\n Use ${BOLD}armbianmonitor${NC} for the following tasks:\n"
|
echo
|
||||||
echo -e " armbianmonitor ${BOLD}-c /path/to/test${NC} performs disk health/performance tests"
|
echo "Usage: $(basename $0) [-h] [-b] [-c \$path] [-d \$device] [-D] [-m] [-p] [-r] [-u]"
|
||||||
echo -e " armbianmonitor ${BOLD}-d${NC} monitors writes to \$device"
|
echo
|
||||||
echo -e " armbianmonitor ${BOLD}-D${NC} tries to upload debug disk info to improve armbianmonitor"
|
echo "Options:"
|
||||||
echo -e " armbianmonitor ${BOLD}-m${NC} provides simple CLI monitoring - scrolling output"
|
echo " -c /path/to/test Performs disk health/performance tests"
|
||||||
echo -e " armbianmonitor ${BOLD}-M${NC} provides simple CLI monitoring - fixed-line output"
|
echo " -d Monitors writes to \$device"
|
||||||
echo -e " armbianmonitor ${BOLD}-n${NC} provides simple CLI network monitoring - scrolling output"
|
echo " -D Tries to upload debug disk info to improve armbianmonitor"
|
||||||
echo -e " armbianmonitor ${BOLD}-N${NC} provides simple CLI network monitoring - fixed-line output"
|
echo " -m Provides simple CLI monitoring - scrolling output"
|
||||||
echo -e " armbianmonitor ${BOLD}-p${NC} tries to install cpuminer for performance measurements"
|
echo " -M Provides simple CLI monitoring - fixed-line output"
|
||||||
echo -e " armbianmonitor ${BOLD}-r${NC} tries to install RPi-Monitor"
|
echo " -n Provides simple CLI network monitoring - scrolling output"
|
||||||
echo -e " armbianmonitor ${BOLD}-u${NC} tries to upload armbian-hardware-monitor.log for support purposes"
|
echo " -N Provides simple CLI network monitoring - fixed-line output"
|
||||||
echo -e " armbianmonitor ${BOLD}-v${NC} tries to verify installed package integrity"
|
echo " -p Tries to install cpuminer for performance measurements"
|
||||||
echo -e " armbianmonitor ${BOLD}-z${NC} runs a quick 7-zip benchmark to estimate CPU performance\n"
|
echo " -r Tries to install RPi-Monitor"
|
||||||
echo -e "############################################################################\n"
|
echo " -u Tries to upload armbian-hardware-monitor.log for support purposes"
|
||||||
|
echo " -v Tries to verify installed package integrity"
|
||||||
|
echo " -z Runs a quick 7-zip benchmark to estimate CPU performance"
|
||||||
|
echo
|
||||||
|
|
||||||
} # DisplayUsage
|
} # DisplayUsage
|
||||||
|
|
||||||
MonitorMode() {
|
MonitorMode() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user