mirror of
https://github.com/byReqz/stocheck.git
synced 2024-12-26 10:51:48 +00:00
Add files via upload
This commit is contained in:
parent
1f306a21e3
commit
c65555cbac
@ -19,7 +19,8 @@ while [ -z "$1" ]; do
|
||||
echo "------------------- /dev/sd$x --------------------"
|
||||
smartctl -i /dev/sd$x | grep -e "=== START OF INFORMATION SECTION ===" -e "Device Model:" -e "Serial Number:" -e "Firmware Version:" -e "User Capacity:" -e "SMART support is:" -e "Sector Size:" -e "Rotation Rate:"
|
||||
echo ""
|
||||
smartctl -H /dev/sd$x | grep -e "=== START OF READ SMART DATA SECTION ===" -e "SMART overall-health self-assessment test result:"
|
||||
echo "=== START OF SELF-ASSESSMENT TEST RESULT ==="
|
||||
smartctl -H /dev/sd$x | grep -e "SMART overall-health self-assessment test result:"
|
||||
echo ""
|
||||
smartctl -A /dev/sd$x | grep -e "=== START OF READ SMART DATA SECTION ===" -e "SMART overall-health self-assessment test result:" -e "Reallocated_Sector_Ct" -e "Power_On_Hours" -e "Temperature_Celsius" -e "Media_Wearout_Indicator" -e "Power_Cycle_Count" -e "Reported_Uncorrect"
|
||||
echo "-------------------------------------------------"
|
||||
@ -39,7 +40,8 @@ while [ -z "$1" ]; do
|
||||
echo "------------------- /dev/nvme$x --------------------"
|
||||
smartctl -i /dev/nvme$x | grep -e "=== START OF INFORMATION SECTION ===" -e "Device Model:" -e "Serial Number:" -e "Firmware Version:" -e "User Capacity:" -e "SMART support is:" -e "Sector Size:" -e "Rotation Rate:"
|
||||
echo ""
|
||||
smartctl -H /dev/nvme$x | grep -e "=== START OF READ SMART DATA SECTION ===" -e "SMART overall-health self-assessment test result:"
|
||||
echo "=== START OF SELF-ASSESSMENT TEST RESULT ==="
|
||||
smartctl -H /dev/nvme$x | grep -e "SMART overall-health self-assessment test result:"
|
||||
echo ""
|
||||
smartctl -A /dev/nvme$x | grep -e "=== START OF READ SMART DATA SECTION ===" -e "SMART overall-health self-assessment test result:" -e "Reallocated_Sector_Ct" -e "Power_On_Hours" -e "Temperature_Celsius" -e "Media_Wearout_Indicator" -e "Power_Cycle_Count" -e "Reported_Uncorrect"
|
||||
echo "---------------------------------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user