Code Sample |
$ sudo /etc/init.d/acpid start |
Code Sample |
$ ls /proc/acpi ac_adapter button event info sleep alarm dsdt fadt power_resource thermal_zone battery embedded_controller fan processor |
Code Sample |
$ ls /proc/acpi/thermal_zone/THM cooling_mode polling_frequency state temperature trip_points $ cat /proc/acpi/thermal_zone/THM/temperature temperature: 46 C $ cat /proc/acpi/thermal_zone/THM/trip_points critical (S5): 99 C $ sudo echo -n 45 > /proc/acpi/thermal_zone/THM/trip_points bash: /proc/acpi/thermal_zone/THM/trip_points: Permission denied |
Code Sample |
$ sudo cat /var/log/acpid [Tue Nov 27 09:59:23 2007] starting up [Tue Nov 27 09:59:23 2007] 4 rules loaded |
Quote |
I'd *love* toget the battery monitor and temperature monitor scripts hooked up to my Torsmo. It's on my to-do list. I've read some entries about them and it doesn't sound too hard. Any chance you could send me your files and spare me some effort? I'm running 4.1RC3. |
Code Sample |
${color red}$hr ${color grey}Uptime: $color $uptime ${color #ddd}Battery: $color ${battery} ${color #ddd}CPU Temp: $color ${acpitemp} degC ${color green}$hr$color $sysname $kernel on $machine ${color grey}Host: $color$nodename ${execi 180 ~/.torsmo_ip} ${color red}$hr |
Code Sample |
$ killall torsmo $ torsmo |