[问题]关于开机进程配置。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
kwindva
帖子: 562
注册时间: 2007-05-05 23:30

[问题]关于开机进程配置。

#1

帖子 kwindva » 2007-11-03 18:41

在Ubuntu Wiki里“加速Ubuntu开机过程 ”这篇文章里,
[quote]1. acpi-support - 你最好使其在S运行等级处于“X”状态。
2. acpid - acpi守护程序.这两个用于电源管理,对于笔记本和台式电脑很重要,所以让它们开启。 [/quote]
但是我打开sysv-rc-conf,这两个东西在S 等级和1等级下面都没有“X”,是怎么回事?
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

#2

帖子 iblicf » 2007-11-03 19:00

S 是开机就运行的
0 关机
1 单用户
2-5 多用户,ubuntu 正常状态是 init 2
6 重启动

acpid 在运行级2-5 也行,
头像
kwindva
帖子: 562
注册时间: 2007-05-05 23:30

#3

帖子 kwindva » 2007-11-03 19:50

运行级别2是什么意思?我只有单用户啊。
头像
kwindva
帖子: 562
注册时间: 2007-05-05 23:30

#4

帖子 kwindva » 2007-11-03 20:00

还有在进程里有这两个,是管什么用的?
hal,killprocs。多谢。
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#5

帖子 Nile » 2007-11-03 20:03

kwindva 写了:运行级别2是什么意思?我只有单用户啊。
多用户指的是多用户模式,unix/linux系统是用不同的用户/组来区分权限的,并不是要登录创建一个会话才算是一个用户,你sudo的时候程序就是以root身份运行的。。。。
Thinkpad T400
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#6

帖子 Nile » 2007-11-03 20:16

hal是“硬件抽象层”类似于win中的hal.dll,在linux中是一个系统守护进程,具体看一下rh对hal的描述:

http://www.redhat.com/magazine/012oct05/features/hal/
Thinkpad T400
头像
kwindva
帖子: 562
注册时间: 2007-05-05 23:30

#7

帖子 kwindva » 2007-11-03 20:29

多谢。配置差不多了。现在剩下这么几个进程不知怎么判断。
console-screen,keyboard-setup,killprocs,libpam-foreground,module-initools,mountoverflow,udev-finish。
都很重要吗?有哪些可以毙掉?
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#8

帖子 Nile » 2007-11-03 20:37

看名字貌似都挺重要,ps aux一下,是root用户的一般别乱杀。
或者一个一个google吧,很容易找的,懒得查的话一个一个杀也没什么(只要不怕系统崩溃),想当年我就把initd“误杀”过一次,世界顿时静止了 :)
Thinkpad T400
azhwhy
帖子: 60
注册时间: 2007-11-06 11:21

#9

帖子 azhwhy » 2007-11-09 15:17

kwindva 写了:多谢。配置差不多了。现在剩下这么几个进程不知怎么判断。
console-screen,keyboard-setup,killprocs,libpam-foreground,module-initools,mountoverflow,udev-finish。
都很重要吗?有哪些可以毙掉?
我只找到这个
Package: libpam-foreground (0.3)
create lockfiles describing which users own which console
This PAM module creates a lockfile whenever a user logs in, specifying the username and the console. This allows software to check whether the user making a request is on the current foreground console or not.
azhwhy
帖子: 60
注册时间: 2007-11-06 11:21

#10

帖子 azhwhy » 2007-11-09 15:18

kwindva 写了:多谢。配置差不多了。现在剩下这么几个进程不知怎么判断。
console-screen,keyboard-setup,killprocs,libpam-foreground,module-initools,mountoverflow,udev-finish。
都很重要吗?有哪些可以毙掉?
我只找到这个
Package: libpam-foreground (0.3)
create lockfiles describing which users own which console
This PAM module creates a lockfile whenever a user logs in, specifying the username and the console. This allows software to check whether the user making a request is on the current foreground console or not.
azhwhy
帖子: 60
注册时间: 2007-11-06 11:21

#11

帖子 azhwhy » 2007-11-09 15:21

还有kiilprocs只在运行级别1里用,大概是杀掉其他用户进程的,我猜是
你大概也是装的command-line吧
azhwhy
帖子: 60
注册时间: 2007-11-06 11:21

#12

帖子 azhwhy » 2007-11-09 15:27

对了,S级别的libpam-foreground如果去掉的话,用fdisk -l就看不到插上的U盘
回复