NetAdminTools.com
 
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Disabling Power Management on Solaris
Topic: Solaris   Posted:2003-12-25
Printer Friendly: Print

spacerspacer
We have a Sun box that displays "Saving system state... Please wait..." overnight. Well, this is the power management kicking in. Not happy with servers, so we need to disable this. The behavior of the power management service is set in /etc/power.conf. We can disable the automatic shutdown by editing this file.

Change:

autoshutdown            30              9:00 9:00               shutdown

To this:

autoshutdown            30              9:00 9:00               noshutdown

Probably a better way to deal with this is to simply disable the service completely:

# mv /etc/rc2.d/S85power /etc/rc2.d/s85power

Let's see what is running:

# ps -ef | grep powe
root   246     1  0   Dec 20 ?        0:00 /usr/lib/power/powerd
root  1140  1111  0 01:46:05 pts/1    0:00 grep powe
#      

Let's reboot, and make sure our system doesn't start the service again:

# ps -ef | grep powe
root   376   374  0 01:55:13 pts/1    0:00 grep powe
# 





Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com