aboutsummaryrefslogtreecommitdiff
path: root/TODO
blob: 67b821cdc5301008f9e5d20d1b576d1eb7622b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
A rough set of notes for things that need to be implemented; patches welcome!

init scripts to run all counters on boot

file_system_reporter.sh
  Add MBR and other Grub
    dd if=/dev/sda of=/tmp/mbr bs=512
    dd if=/dev/sda bs=512 count=1 2>/dev/null | sha1sum

Fetch S.M.A.R.T. run time
  run_time_counter.sh
eg:
smartctl -A /dev/sda|grep Power_On_Hours
9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       194557723546097

Hook boot, suspend, and shutdown events
  /etc/rcS.d/smartmonster - boot/startup hook
  /etc/acpi or gnome-power-preferences - suspend and shutdown events