📄 cpud.1
字号:
.\" Copyright (c) 2005 Alf Schlichting a.schlichting@lemarit.com.\" Copyright (c) 2004 Laurence Tratt.\" .\" http://tratt.net/laurie/.\" .\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED..\" IN NO EVENT SHALL THE AUTHOR OR HIS EMPLOYER BE LIABLE FOR ANY DIRECT,.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE..\".Dd April 13, 2005.Dt cpud 1.Sh NAME.Nm cpud.Nd Automatically adjust system performance.Sh SYNOPSIS.Nm cpud.Op Fl d.Sh DESCRIPTION.Nmautomatically adjusts the.Xr sysctl 3.Pa hw.setperfvalue depending on current processor usage. This allows laptop users to conservebattery life whilst the machine is idling, but to have good performance whenperforming CPU-intensive tasks..PpAfter startup.Nmlistens on its socket for connections telling it what scheme to load. After loading.Nmcontinuously monitors CPU utilization, mains power and battery life. If the processor is being heavily utilized it willtry to increase system performance to compensate. If the processor is idling,it will decrease system performance. As battery life decreases, the maximumspeed the machine can reach is gradually reduced to maximize battery life.If the battery reaches the low, or critical state, system performance isreduced to, and maintained at, the minimum until a change in circumstancesis detected..PpUse .Xr cpuctl 1to control the behaviour of.Nm ..PpThe options are as follows:.Bl -tag -width Ds.It Fl dTurn on debugging..Nmprints debugging output to stderr showing it altering system performance. Indebugging mode,.Nmdoes not daemonize itself..El.Pp.Sh FILES.Bl -tag -width /var/run/apmdev -compact.It Pa /var/run/apmdevdefault Unix domain socket for.Xr apmd 4used to monitor mains connection and remaining battery life..El.Bl -tag -width /var/run/cpudev -compact.It Pa /var/run/cpudevdefault Unix domain socket for.Xr cpud 1used for controlling the daemon..El.Bl -tag -width /etc/cpud.conf -compact.It Pa /etc/cpud.confdefault configuration file..El.Pp.Sh SEE ALSO.Xr apm 4 ,.Xr sysctl 3 ,.Xr sysctl 8 ..Sh HISTORYThe.Nmcommand is based on perfd by.An Laurence Tratt Aq laurie@tratt.net .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -