List disks (using lsblk)
This commit is contained in:
parent
4e400ea669
commit
fb531af819
5
nench.sh
5
nench.sh
@ -31,6 +31,11 @@ uname -s -r -m
|
|||||||
|
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
|
||||||
|
printf 'Disks:\n'
|
||||||
|
lsblk --nodeps --noheadings --output NAME,SIZE,ROTA --exclude 1,2,11 | sort | awk '{if ($3 == 0) {$3="SSD"} else {$3="HDD"}; print}' | column -t
|
||||||
|
|
||||||
|
printf '\n'
|
||||||
|
|
||||||
# CPU tests
|
# CPU tests
|
||||||
export TIMEFORMAT='%3R seconds'
|
export TIMEFORMAT='%3R seconds'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user