JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 1M: System Administration Commands     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Introduction

System Administration Commands - Part 1

System Administration Commands - Part 2

luxadm(1M)

mail.local(1M)

makedbm(1M)

makemap(1M)

masfcnv(1M)

mdlogd(1M)

mdmonitord(1M)

mdnsd(1M)

medstat(1M)

metaclear(1M)

metadb(1M)

metadetach(1M)

metadevadm(1M)

metahs(1M)

metaimport(1M)

metainit(1M)

metaoffline(1M)

metaonline(1M)

metaparam(1M)

metarecover(1M)

metarename(1M)

metareplace(1M)

metaset(1M)

metassist(1M)

metastat(1M)

metasync(1M)

metattach(1M)

mib2mof(1M)

mibiisa(1M)

mkbootmedia(1M)

mkdevalloc(1M)

mkdevmaps(1M)

mkfifo(1M)

mkfile(1M)

mkfs(1M)

mkfs_pcfs(1M)

mkfs_udfs(1M)

mkfs_ufs(1M)

mknod(1M)

mkntfs(1M)

mkpwdict(1M)

modinfo(1M)

modload(1M)

modunload(1M)

mofcomp(1M)

mofreg(1M)

monacct(1M)

monitor(1M)

mount(1M)

mountall(1M)

mountd(1M)

mount_hsfs(1M)

mount_nfs(1M)

mount_pcfs(1M)

mount_smbfs(1M)

mount_tmpfs(1M)

mount_udfs(1M)

mount_ufs(1M)

mpathadm(1M)

mpstat(1M)

msgid(1M)

mvdir(1M)

named(1M)

named-checkconf(1M)

named-checkzone(1M)

named-compilezone(1M)

ncaconfd(1M)

ncheck(1M)

ncheck_ufs(1M)

ndd(1M)

ndmpadm(1M)

ndmpd(1M)

ndmpstat(1M)

netadm(1M)

netcfg(1M)

netcfgd(1M)

netservices(1M)

netstat(1M)

netstrategy(1M)

newaliases(1M)

newfs(1M)

newkey(1M)

nfs4cbd(1M)

nfsd(1M)

nfslogd(1M)

nfsmapid(1M)

nfsref(1M)

nfsstat(1M)

nscadm(1M)

nscd(1M)

nscfg(1M)

nsdb-list(1M)

nsdb-nces(1M)

nsdbparams(1M)

nsdb-resolve-fsn(1M)

nsdb-update-nci(1M)

nslookup(1M)

nsupdate(1M)

ntfscat(1M)

ntfsclone(1M)

ntfscluster(1M)

ntfscmp(1M)

ntfscp(1M)

ntfsfix(1M)

ntfsinfo(1M)

ntfslabel(1M)

ntfsls(1M)

ntfsprogs(1M)

ntfsresize(1M)

ntfsundelete(1M)

nulladm(1M)

nwamd(1M)

obpsym(1M)

oplhpd(1M)

pageout(1M)

parted(1M)

pbind(1M)

pcitool(1M)

pfedit(1M)

pginfo(1M)

pgstat(1M)

picld(1M)

ping(1M)

pkg2du(1M)

pkgadd(1M)

pkgadm(1M)

pkgask(1M)

pkgchk(1M)

pkgcond(1M)

pkg.depotd(1M)

pkgrm(1M)

pkg.sysrepo(1M)

plockstat(1M)

pntadm(1M)

polkit-is-privileged(1M)

pooladm(1M)

poolbind(1M)

poolcfg(1M)

poold(1M)

poolstat(1M)

ports(1M)

poweradm(1M)

poweroff(1M)

powertop(1M)

pppd(1M)

pppoec(1M)

pppoed(1M)

pppstats(1M)

praudit(1M)

prctmp(1M)

prdaily(1M)

projadd(1M)

projdel(1M)

projmod(1M)

prstat(1M)

prtacct(1M)

prtconf(1M)

prtdiag(1M)

prtdscp(1M)

prtfru(1M)

prtpicl(1M)

prtvtoc(1M)

psradm(1M)

psrinfo(1M)

psrset(1M)

pwck(1M)

pwconv(1M)

quot(1M)

quota(1M)

quotacheck(1M)

quotaoff(1M)

quotaon(1M)

rad(1M)

raidctl(1M)

ramdiskadm(1M)

rarpd(1M)

rcapadm(1M)

rcapd(1M)

rctladm(1M)

rdate(1M)

rdisc(1M)

reboot(1M)

rem_drv(1M)

remove_allocatable(1M)

removef(1M)

reparsed(1M)

repquota(1M)

restricted_shell(1M)

rexd(1M)

rexecd(1M)

rlogind(1M)

rmmount(1M)

rmt(1M)

rmvolmgr(1M)

rndc(1M)

rndc-confgen(1M)

roleadd(1M)

roledel(1M)

rolemod(1M)

root_archive(1M)

route(1M)

routeadm(1M)

routed(1M)

rpcbind(1M)

rpc.bootparamd(1M)

rpcinfo(1M)

rpc.mdcommd(1M)

rpc.metad(1M)

rpc.metamedd(1M)

rpc.metamhd(1M)

rpc.rexd(1M)

rpc.rstatd(1M)

rpc.rusersd(1M)

rpc.rwalld(1M)

rpc.smserverd(1M)

rpc.sprayd(1M)

rpc.yppasswdd(1M)

rpc.ypupdated(1M)

rquotad(1M)

rsh(1M)

rshd(1M)

rstatd(1M)

rtc(1M)

rtquery(1M)

runacct(1M)

rusersd(1M)

rwall(1M)

rwalld(1M)

rwhod(1M)

sa1(1M)

sa2(1M)

sadc(1M)

sar(1M)

sasinfo(1M)

savecore(1M)

sbdadm(1M)

sched(1M)

sckmd(1M)

scmadm(1M)

sconadm(1M)

sendmail(1M)

sftp-server(1M)

shadowd(1M)

shadowstat(1M)

share(1M)

shareall(1M)

sharectl(1M)

share_nfs(1M)

share_smb(1M)

showmount(1M)

shutacct(1M)

shutdown(1M)

slpd(1M)

smattrpop(1M)

smbadm(1M)

smbd(1M)

smbiod(1M)

smbiod-svc(1M)

smbios(1M)

smbstat(1M)

smrsh(1M)

smtp-notify(1M)

sndradm(1M)

sndrd(1M)

sndrsyncd(1M)

snmpdx(1M)

snmp-notify(1M)

snmpXwbemd(1M)

snoop(1M)

soconfig(1M)

soladdapp(1M)

soldelapp(1M)

solstice(1M)

sppptun(1M)

spray(1M)

sprayd(1M)

srptadm(1M)

sshd(1M)

ssh-keysign(1M)

startup(1M)

statd(1M)

stclient(1M)

stmfadm(1M)

stmsboot(1M)

strace(1M)

strclean(1M)

strerr(1M)

sttydefs(1M)

su(1M)

sulogin(1M)

suriadm(1M)

svadm(1M)

svcadm(1M)

svcbundle(1M)

svccfg(1M)

svc.configd(1M)

svc.ipfd(1M)

svc.startd(1M)

swap(1M)

sxadm(1M)

sync(1M)

syncinit(1M)

syncloop(1M)

syncstat(1M)

sysconfig(1M)

sysdef(1M)

syseventadm(1M)

syseventconfd(1M)

syseventd(1M)

syslogd(1M)

talkd(1M)

tapes(1M)

telnetd(1M)

tftpd(1M)

th_define(1M)

th_manage(1M)

tic(1M)

tncfg(1M)

tnchkdb(1M)

tnctl(1M)

tnd(1M)

tninfo(1M)

tpmadm(1M)

traceroute(1M)

trapstat(1M)

ttymon(1M)

tunefs(1M)

turnacct(1M)

txzonemgr(1M)

tzreload(1M)

tzselect(1M)

uadmin(1M)

ucodeadm(1M)

ufsdump(1M)

ufsrestore(1M)

umount(1M)

umountall(1M)

System Administration Commands - Part 3

poweradm

- manage power management properties

Synopsis

poweradm [-v] get [-a all|smf|platform|current] property ...
poweradm [-v] set property=value ...
poweradm [-v] list
poweradm show
poweradm -?

Description

The poweradm program is used to display and manage the Power Management settings within a Solaris instance.

The Power Management properties and their values are stored in the service management facility (see smf(5)).

All users can run the list, get, and show forms given in the SYNOPSIS. These commands allow all users to view the current Power Management settings within a Solaris instance.

Only users and roles that belong to the Maintenance and Repair RBAC profile can execute the set form of poweradm given in the SYNOPSIS. See also the NOTES section below.

poweradm supports the following service property:

administrative-authority

The value for this property is specified as a string and can have the values:

...with platform as the default value. The significance of this property is the source of administrative control for power management within the Solaris kernel. That is, this property indicates the origin of time-to-full-capacity and time-to-minimum-responsiveness settings within the Solaris kernel. Only a Solaris user with appropriate privileges can set this property.

When the administrative-authority is set to platform the values of time-to-full-capacity and time-to-minimum-responsiveness will be taken from the platform code. Setting these values in SMF, using the poweradm command will have no effect upon the values in the kernel. The poweradm list command will indicate that the kernel is currently using the platform values. As these values are changed by the platform administrator, so they will be modified in the kernel. Also, commands to enable or disable the power management within the Solaris kernel will come from the platform code. On systems that run virtual machines, the hypervisor or virtual machine manager can be the source of this property.

When the administrative-authority is set to smf, the values of time-to-full-capacity and time-to-minimum-responsiveness will be taken from SMF. As these values in SMF are changed by the Solaris administrator, so they will be applied to the kernel. Setting these values in the platform will have no effect upon the values in the kernel while administrative-authority is set to smf. Under this condition, the poweradm command will indicate that the kernel is currently using the values from SMF. As these values are changed by the Solaris administrator, so they will be modified in kernel.

When the administrative-authority is set to none, power management within the Solaris kernel will be turned off, although the power service will continue to run. Any power management instructions from the platform will be ignored, as will the settings in SMF. Only when administrative-authority is set to one of the other values will power management within the Solaris kernel restart, using the settings from the specified source.

time-to-full-capacity

Specified in microseconds.

This parameter constrains the dynamic capacity adjustment allowed while the system is in an active state.

This parameter defines the maximum time the system is allowed to reach (re-provision and make available) its full capacity, returning from any lower-capacity/less-responsive state, while it has been using any or all of the PM features falling within this bound.

By default, this value is taken from the platform (for example, i86pc), because the default setting for administrative-authority is set to platform.

Alternatively, if administrative-authority is set to smf, this value is taken from the definition provided by the power service (that is, SMF). At install time this value is set to be undefined. If the Solaris administrator chooses to modify this property, a value appropriate to the needs of the workload or applications must be picked.

time-to-minimum-responsiveness

Specified in milliseconds.

This parameter constrains the dynamic capacity adjustment allowed while the system is in an inactive state.

This parameter defines how long the system is allowed to return to its active state—that is, to provide the minimum capacity required to meet the above time-to-full-capacity constraint.

Moderate values (seconds) allow hardware components or subsystems on the platform to be placed in slower-response inactive states; larger values still (for example, 30 seconds to minutes) allow for such as whole system suspension, using techniques such as suspend-to-RAM.

By default, this value is taken from the platform (for example, i86pc), because the default setting for administrative-authority is set to platform.

Alternatively, if administrative-authority is set to smf, this value is taken from the definition provided by the power service (that is, SMF). At install time this value is set to be undefined. If the Solaris administrator chooses to modify this property, a value appropriate to the needs of the workload or applications must be picked.

suspend-enable

By default no machine running Solaris is permitted to attempt a suspend operation. Setting this property to true will permit a suspend operation to be attempted. The value of administrative-authority has no effect upon this property.

platform-disabled

This property cannot be changed by the poweradm command. The value of platform-disabled can be viewed by running the list subcommand. If set to true and administrative-authority is set to platform, power management has been disabled by the platform. If set to false, control of power management will be through the values of the other properties, described above. The output of the show subcommand will display the values of these properties. On systems that run virtual machines, the hypervisor or virtual machine manager can be the source of platform-disabled. The default value for platform-disabled is false.

Options

The following options are supported.

-?

Display a synopsis of available subcommands and options.

-v

Provide verbose output. Can be used with any of the subcommands listed below.

Sub-commands

The following subcommands are supported:

get [-a all|smf|platform|current]

Retrieves the current value of the named property. The -a option can be used to indicate the origin of the value either: SMF (smf), the platform (platform), the current value used by the kernel (current) or all of the preceeding (all). By default, if no origin is specified then current is assumed.

The administrative-authority and suspend-enable properties do not have a platform value

set property=value...

Changes the named property to the given value. The properties administrative-authority and suspend-enable are automatically synchronized to the new value in the kernel. The properties time-to-full-capacity and time-to-minimum-responsiveness are synchronized to the kernel if and only if administrative-authority is set to smf. If the -v option is used and the kernel cannot be updated immediately because administrative-authority is not set to smf, a warning message will be issued.

Only users and roles that belong to the Maintenance and Repair RBAC profile can execute the set subcommand.

list

Lists all the available Power Management properties values and indicate whether power management is active.

show

Output human readable text that indicates whether the platform or the Solaris instance is controlling power management, whether power management is enabled, and, if it is enabled, the values of time-to-full-capacity and time-to-minimum-responsiveness.

Examples

Example 1 Setting Platform to Control Power Management

The following command sets the platform to control power management.

# poweradm set administrative-authority=platform

Example 2 Disabling Power Management

The following command disables power management.

# poweradm set administrative-authority=none

Example 3 Setting Useful Parameters

The following sequence of commands sets time-to-full-capacity to 300 microseconds, setstime-to-minimum-responsiveness to 500 milliseconds, and informs the Solaris instance of the new values.

# poweradm set time-to-full-capacity=300
# poweradm set time-to-minimum-responsiveness=500
# poweradm set administrative-authority=smf

Example 4 Disabling Suspend and Resume

The following command disables suspend and resume.

# poweradm set suspend-enable=false

Example 5 Listing Power Management Properties

The following command lists all available power management properties.

# poweradm list

Example 6 Obtaining Value of a Property

The following command shows the current value of time-to-full-capacity.

# poweradm get time-to-full-capacity

Example 7 Showing Value of a Property as Set by Platform

The following command retrieves the value of time-to-full-capacity set by the platform.

# poweradm get -a platform time-to-full-capacity

Note that this will only be the same as current value if administrative-authority has been set to platform. See the explanation of the administrative-authority property, above.

Example 8 Showing Value of a Property as Set by Solaris Instance

The following command retrieves the value of time-to-full-capacity set by the Solaris instance.

# poweradm get -a smf time-to-full-capacity

Note that this will only be the same as current value if administrative-authority has been set to smf. See the explanation of the administrative-authority property, above.

Example 9 Invoking show Subcommand

The following example commands illustrate the four possible contexts in which poweradm show can be invoked.

The following command is invoked when power management has been disabled by the platform.

# poweradm show
Power management is disabled with the hardware platform as the authority

The following command is invoked when power management has been disabled by the Solaris administrator.

# poweradm show
Power management is disabled with the Solaris instance as the authority

The following command is invoked when power management has been enabled by the platform.

# poweradm show
Power management is enabled with the hardware platform as the authority
time-to-full-capacity 300 microseconds
time-to-minimum-responsiveness 500 milliseconds

The following command is invoked when power management has been enabled by the Solaris instance.

# poweradm show
Power management is enabled with the Solaris instance as the authority
time-to-full-capacity 300 microseconds
time-to-minimum-responsiveness 500 milliseconds

Exit Status

0

Successful completion.

1

An error occurred.

2

Invalid command line options were specified.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/kernel/power
Interface Stability
Committed

See Also

attributes(5), smf(5), smf_security(5)

Notes

The power service is managed by the service management facility, smf(5), under the service identifier:

svc:/system/power:default

The properties that can be set by poweradm are defined in that service as:

If the service is disabled, no power management settings will be uploaded to the kernel in the future. Existing settings will not be undone until the next reboot. Disabling all power management is best accomplished by setting administrative-authority to none.

If administrative-authority is set to the value smf before both time-to-full-capacity and time-to-minimum-responsiveness have been set, the service will go into maintenance mode. In such a situation, set administrative-authority to the value none then set both time-to-full-capacity and time-to-minimum-responsiveness to the values you want, clear the service and then set administrative-authority to smf.

To set properties in the active_config and suspend property groups, the solaris.smf.value.power_config authorization is required. To set properties in the active_control property group requires the solaris.smf.value.power_control authorization is required. Both of these authorizations are part of the Maintenance and Repair profile.