我怎样才能找到这些文件或进程的作用(linux)
当我进入 *nix 系统并查看 ps -A
或 -e
或 top
时,我会看到大量正在运行的进程。例如。
init
migration/0
ksoftirqd/0
events/0
khelper
kacpid
kblockd/0
khubd
pdflush
pdflush
kswapd0
aio/0
kseriod
scsi_eh_0
kjournald
udevd
kauditd
kjournald
kjournald
kjournald
kjournald
kjournald
klogd
portmap
rpc.idmapd
sshd
xinetd
gpm
xfs
salinfod
dbus-daemon-1
cups-config-dae
hald
kjournald
agetty
minilogd
kjournald
screen
bash
sshd
bash
现在有些我知道他们的目的是什么,但很多我什至无法在 Google 上找到,或者我只是间接引用,例如 1999 年论坛上的一篇帖子抱怨这个过程。
除了一一追踪之外,我还能去哪里得到更好的解释吗?
注意,我并不是要求任何人直接告诉我它们是什么,而是指出我自己可以在哪里获得理解。
When I go onto a *nix system and look as ps -A
or -e
or top
I get a large number of processes that are running. For example.
init
migration/0
ksoftirqd/0
events/0
khelper
kacpid
kblockd/0
khubd
pdflush
pdflush
kswapd0
aio/0
kseriod
scsi_eh_0
kjournald
udevd
kauditd
kjournald
kjournald
kjournald
kjournald
kjournald
klogd
portmap
rpc.idmapd
sshd
xinetd
gpm
xfs
salinfod
dbus-daemon-1
cups-config-dae
hald
kjournald
agetty
minilogd
kjournald
screen
bash
sshd
bash
Now some i know what their purpose is, but many i cannot even seem to track down on Google, or i just get oblique references to, such as a post from a forum in 1999 complaining about the process.
Other than tracking them down one by one is there somewhere i can go to get a better explanation?
N.B. I am not asking anyone to tell me directly what they are but pointers to where i can get the understanding myself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
方括号里的东西是内核线程。对于其他人,获取全名(尝试将
www
添加到命令行)并点击 Google,或者查看/proc//exe
并使用您的包管理器找出可执行文件来自哪个包。The stuff in square brackets are kernel threads. For the others, get the full name (try adding
www
to the command line) and hit Google, or look at/proc/<pid>/exe
and use your package manager to figure out which package the executable comes from.某些进程可能有关联的联机帮助页(大多数进程末尾的 d 代表守护进程,您也可以尝试不带 d 的名称)
Some processes might have an associated manpage (the d at the end of most processes stand for daemon, you can also try the name without the d)