Chinaunix首页 | 论坛 | 博客
  • 博客访问: 91449
  • 博文数量: 17
  • 博客积分: 560
  • 博客等级: 中士
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-31 15:58
文章分类

全部博文(17)

文章存档

2013年(2)

2012年(3)

2011年(6)

2010年(4)

2009年(2)

我的朋友

分类: 系统运维

2012-08-06 13:21:04

Subject

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 #

阅读(1414) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~