sala@home:~$

acpi

Ha az energiagazdálkodással kapcsolatos információra van szükségünk, az acpi programot érdemes használni. Nem túl meglepő módon az ACPI ( Advanced Configuration and Power Interface ) szabványt támogatja. Kérhetünk információt az akksiról:

$ acpi -b
 Battery 0: Discharging, 81%, 01:52:54 remaining

a hőmérsékletről:

$ acpi -t
 Thermal 0: ok, 45.0 degrees C
 Thermal 1: ok, 38.4 degrees C
 Thermal 2: ok, 51.0 degrees C
 Thermal 3: ok, 52.0 degrees C
 Thermal 4: ok, 51.0 degrees C
 Thermal 5: ok, 55.0 degrees C

a ventilátorokról:

$ acpi -c
 Cooling 0: LCD 0 of 24
 Cooling 1: Fan 1 of 1
 Cooling 2: Fan 1 of 1
 Cooling 3: Fan 1 of 1
 Cooling 4: Fan 0 of 1
 Cooling 5: Fan 0 of 1
 Cooling 6: Fan 0 of 1
 Cooling 7: Fan 0 of 1
 Cooling 8: Fan 0 of 1
 Cooling 9: Fan 0 of 1
 Cooling 10: Fan 0 of 1
 Cooling 11: Fan 0 of 1
 Cooling 12: Fan 0 of 1
 Cooling 13: Fan 0 of 1
 Cooling 14: Processor 0 of 10
 Cooling 15: Processor 0 of 10

de valószínűleg legegyszerűbb, ha az összes információt kiíratjuk:

$ acpi -V
 Battery 0: Discharging, 79%, 02:27:53 remaining
 Battery 0: design capacity 4400 mAh, last full capacity 3797 mAh = 86%
 Adapter 0: off-line
 Thermal 0: ok, 45.0 degrees C
 Thermal 0: trip point 0 switches to mode critical at temperature 110.0 degrees C
 Thermal 1: ok, 37.5 degrees C
 Thermal 1: trip point 0 switches to mode critical at temperature 103.0 degrees C
 Thermal 1: trip point 1 switches to mode passive at temperature 60.0 degrees C
 Thermal 2: ok, 51.0 degrees C
 Thermal 2: trip point 0 switches to mode critical at temperature 105.0 degrees C
 Thermal 2: trip point 1 switches to mode passive at temperature 95.0 degrees C
 Thermal 3: ok, 50.0 degrees C
 Thermal 3: trip point 0 switches to mode critical at temperature 103.0 degrees C
 Thermal 3: trip point 1 switches to mode passive at temperature 100.0 degrees C
 Thermal 3: trip point 2 switches to mode active at temperature 84.0 degrees C
 Thermal 3: trip point 3 switches to mode active at temperature 74.0 degrees C
 Thermal 3: trip point 4 switches to mode active at temperature 62.0 degrees C
 Thermal 4: ok, 51.0 degrees C
 Thermal 4: trip point 0 switches to mode critical at temperature 100.0 degrees C
 Thermal 5: ok, 50.0 degrees C
 Thermal 5: trip point 0 switches to mode critical at temperature 108.0 degrees C
 Thermal 5: trip point 1 switches to mode active at temperature 105.0 degrees C
 Thermal 5: trip point 2 switches to mode active at temperature 96.0 degrees C
 Thermal 5: trip point 3 switches to mode active at temperature 87.0 degrees C
 Thermal 5: trip point 4 switches to mode active at temperature 79.0 degrees C
 Cooling 0: LCD 0 of 24
 Cooling 1: Fan 1 of 1
 Cooling 2: Fan 1 of 1
 Cooling 3: Fan 1 of 1
 Cooling 4: Fan 0 of 1
 Cooling 5: Fan 0 of 1
 Cooling 6: Fan 0 of 1
 Cooling 7: Fan 0 of 1
 Cooling 8: Fan 0 of 1
 Cooling 9: Fan 0 of 1
 Cooling 10: Fan 0 of 1
 Cooling 11: Fan 0 of 1
 Cooling 12: Fan 0 of 1
 Cooling 13: Fan 0 of 1
 Cooling 14: Processor 0 of 10
 Cooling 15: Processor 0 of 10