.\" apm.1 -- .\" Created: Wed Jan 10 14:54:03 1996 by r.faith@ieee.org .\" Revised: Sun Apr 21 16:37:43 1996 by r.faith@ieee.org .\" Copyright 1996 Rickard E. Faith (r.faith@ieee.org) .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .TH APM 1 "10 Jan 1996" "" "Linux Programmer's Manual" .SH NAME apm \- 查詢高級電源管理(APM) BIOS .SH 總覽 .B apm [ \- .I VvmMsSdin ] .SH 描述 .B apm 讀取 .B /proc/apm 並用人能看懂的格式輸出。因爲提供了首要的 電池狀態,這個命令在有兼容的 .B APM BIOS 的筆記本電腦上非常有用。 .B apm 允許使機器進入等待或掛起模式。 .SH 選項 .TP .B -V, --version 輸出 .B apm 程序的版本並立即退出。 .TP .B -v, --verbose 輸出關於 .B APM BIOS 的版本和 .B Linux APM 驅動程序的版本的信息。 .TP .B -m, --minutes 輸出剩餘的總共的分鐘數而不是 .I hh:mm 格式。 .TP .B -s, --suspend 如果可能使機器進入掛起模式。 .TP .B -S, --standby 如果可能使機器進入等待模式。 .TP .B -i, --ignore 告訴系統在使用 .B AC (交流) 電源時忽略系統生成的 .B APM 掛起或等待事件。 對這樣的用戶有用:擁有膝上型電腦,在用電池爲電源 時希望 .B APM 事件發生,在使用 .B AC (交流) 電源時不希望 .B APM 事件發生。 .TP .B -n, --noignore 告訴系統在使用 .B AC 電源時不忽略系統生成的 .B APM 掛起或等待事件。 這是缺省的模式;提供這個選項作爲取消的前 面的 " .I apm -i " 調用的方法。 .SH 相關文件 .I /proc/apm .br .I linux/drivers/char/apm_bios.c .SH 著作者 本程序是由 Rik Faith (faith@cs.unc.edu)寫的,在 GPL 條款下 可以自由發佈。對這個程序絕對沒有任何擔保。當前的維護者是 Avery Pennarun (apenwarr@worldvisions.ca)。 .SH 參見 xapm(1), apmd(8) .SH [中文版維護人] mhss .SH [中文版最新更新] 2000/10/31 .SH 《中國 Linux 論壇 man 手冊頁翻譯計劃》: .BI http://cmpp.linuxforum.net .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR