【问题标题】:Turn off firstboot on centos [closed]在centos上关闭firstboot [关闭]
【发布时间】:2015-01-22 00:53:03
【问题描述】:

Firstboot 似乎是基于此运行的:

[root@master ~]# ps ax |grep firstboot
27891 pts/0    R+     0:00 grep firstboot

我似乎无法杀死它

[root@master ~]# killall firstboot
firstboot: no process killed

当我检查它是否正在运行时,pid 似乎已经改变了!

[root@master ~]# ps ax |grep firstboot
28233 pts/0    S+     0:00 grep firstboot

使用 chkconfig 也不起作用

[root@master ~]# chkconfig firstboot off
error reading information on service firstboot: No such file or directory

关于我可以做些什么来终止进程的想法?

【问题讨论】:

    标签: centos centos6


    【解决方案1】:

    您对该输出的解释有误。

    [root@master ~]# ps ax |grep firstboot
    27891 pts/0    R+     0:00 grep firstboot
    

    这并不是告诉您 firstboot 正在运行。注意那里的命令grep firstboot。这告诉您您的grep 正在运行。

    尝试pgrep firstbootps ax | grep '[f]irstboot' 以避免这种混淆。

    【讨论】:

      猜你喜欢
      • 2013-02-09
      • 2011-05-31
      • 2012-03-14
      • 2019-02-09
      • 2016-04-23
      • 2012-01-08
      • 2012-10-06
      • 2021-01-11
      • 2015-12-11
      相关资源
      最近更新 更多