linux - 自动启动进程和服务

标签 linux shell

我想控制我的系统使用的每个进程。 (并一一了解他们是做什么的) 我使用openbox,但我对如何控制启动程序和服务感到困惑。

我希望将我需要的一切(最小系统)放在一个地方。 具体执行什么?按什么顺序?

"/etc/xdg/autostart/"
"/usr/lib/x86_64-linux-gnu/openbox-autostart"
".config/openbox/autostart.sh"
"/etc/init.d/"
"/etc/rc3.d/"
... ???

最佳答案

您可以使用下面提到的命令进行检查。

ps - list the processes running on the system
kill - send a signal to one or more processes (usually to "kill" a process)
jobs - an alternate way of listing your own processes
bg - put a process in the background
fg - put a process in the forground

关于linux - 自动启动进程和服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30813912/

相关文章:

linux - 自动运行在 Linux 中是如何工作的

shell - 如何在不停止脚本的情况下终止 shell 脚本内的日志记录进程?

c - 有没有一种可移植的方法来管理存储在 Linux 中映射文件中的结构数据,而无需逐字节读取原始数据?

linux - 在特定位置获取单词后的文本

bash - 将简单的 shell 脚本作为 cronjob 运行

linux - 使用 shell 脚本从 userB 以 userA 身份启动服务

shell - 如何确定我的 csh 版本?

shell - 如何在 Mac OS X 中每天运行 shell 脚本或设置时间?

linux - 我们可以连接到远程网络中本地系统的数据库吗?

Android AVD 不适用于硬件加速