Movement
h left
l right
j down
k up
1G 1st line
G last line
H top of screen
L bottom of screen

Articles, notes and random thoughts on Software Development and Technology
h left
l right
j down
k up
1G 1st line
G last line
H top of screen
L bottom of screen
Install: sudo apt-get install smartmontools
List SMART status, whether enabled:
sudo smartctl -i /dev/sda (change drive device here)
Run test for a drive:
smartctl -t long /dev/sda
You can view a drive’s test statistics by typing:
smartctl -l selftest /dev/sda
To display detailed SMART information for an IDE drive, type:
sudo smartctl -a /dev/hda
To display detailed SMART information for a SATA drive, type:
sudo smartctl -a -d ata /dev/sda
cat /var/log/dmesg|more
<Directory>
Options FollowSymLinks
AllowOverride None
#authentification
AuthType Digest
AuthName "munin"
AuthDigestFile /var/www/munin/.htpasswd
#people using apache 2.2 will use instead:
#AuthUserFile /var/www/munin/.htpasswd
require valid-user
</Directory>
sudo htdigest -c /var/www/dirname/.htpasswd realmname username