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

Makefile to install the scripts into the proper location
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
    /etc/pm/sleep.d/ - probably useful for most users