Last Update: "2008/03/10 12:24:33 makoto"
acpi
envstat
acpi がある程度利用出来るかどうかは envstat を使うと確認可能です。
利用可能な項目を表示
ttyp1:makoto@macbook 12:13:10/080310(~)> envstat -l
acpiacad0 connected
acpiacad0 disconnected
acpibat0 present
acpibat0 design cap
acpibat0 last full cap
acpibat0 technology
acpibat0 design voltage
acpibat0 warn cap
acpibat0 low cap
acpibat0 voltage
acpibat0 charge rate
acpibat0 discharge rate
acpibat0 charge
acpibat0 charging
acpibat0 discharging
ttyp1:makoto@macbook 12:13:22/080310(~)>
各項目の値を表示
ttyp1:makoto@macbook 12:13:22/080310(~)> envstat -w 5
acpia acpia acpib acpib acpib acpib acpib acpib acpib acpib acpib acpib acpib acpib acpib
bool bool bool Wh Wh integ V Wh Wh V W W Wh bool bool
ON OFF ON 50.20 51.98 0.00 10.95 0.25 0.10 12.41 * * 49.82 OFF OFF
ttypd:makoto@genova 10:44:55/080310(...gcc/work)> envstat
envstat: No sensors found
何も表示されない機械もある
ttyp0:makoto@catania 12:23:26/080310(~)> envstat
ttyp0:makoto@catania 12:23:28/080310(~)>
(amd64)
pts/1:makoto@agrigento 12:27:04/080310(~)> envstat
envstat: no drivers registered
|