opendarwin man page for pmset

Query: pmset

OS: opendarwin

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PMSET(1)						    BSD General Commands Manual 						  PMSET(1)

NAME
pmset -- modify power management settings
SYNOPSIS
pmset [-a | -b | -c] [dim minutes] [spindown minutes] [sleep minutes] [womp 1/0] [ring 1/0] [autorestart 1/0] [dps 1/0] [reduce 1/0] [powerbutton 1/0] [lidwake 1/0] [acwake 1/0] [boot] pmset -g [disk | live | cap | sched]
DESCRIPTION
pmset changes and reads power management settings such as idle sleep timing, wake on administrative access, automatic restart on power loss, etc.
SETTING
The -a, -b, -c flags determine whether the settings apply to battery (-b), charger (wall power) (-c), or all (-a). Use a minutes argument of 0 to set the idle time to never. pmset must be run as root. The boot argument tells power management that system bootup is complete. Loginwindow handles this on a normal Mac OS X system.
GETTING
The -g flag outputs the settings currently in use (same as -g live ). -g disk will tell you the settings on disk. -g cap will tell you which power management features the machine supports. -g sched will show scheduled startup/wake and shutdown/sleep events.
ARGUMENTS
dim - display dim timer (value in minutes) spindown - disk spindown timer (value in minutes) sleep - system sleep timer (value in minutes) womp - wake on ethernet magic packet (value = 0/1) ring - wake on modem ring (value = 0/1) autorestart - automatic restart on power loss (value = 0/1) dps - dynamically change processor speed based on load (value = 0/1) reduce - reduce processor speed (value = 0/1) powerbutton - sleep the machine when power button is pressed (value = 0/1) lidwake - wake the machine when the laptop lid(or clamshell) is opened (value = 0/1) acwake - wake the machine when power source (AC/battery) is changed (value = 0/1)
OTHER ARGUMENTS
These arguments don't directly affect power management settings: boot - tell the kernel that system boot is complete
EXAMPLES
pmset -b dim 5 pmset -a dim 10 spindown 10 sleep 30 womp 1 pmset -g live
FILES
All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist pmset modifies the same file that System Preferences Energy Saver modifies. Darwin August 19, 2002 Darwin
Related Man Pages
apmsleep(1) - redhat
gnome-power-preferences(1) - opensolaris
pmset(1) - osx
caffeinate(8) - mojave
systemsetup(8) - mojave
Similar Topics in the Unix Linux Community
AIX 4.3.3 takes forever to log in
Acess HD from live CD
1st Post, and it's a moan :(
Can't login on CDE AIX 4.2
AIX does not boot after power on