하는

2015-01-21 1 views
-1

Firstboot는이에 따라 실행하는 것 같다하는

[[email protected] ~]# ps ax |grep firstboot 
27891 pts/0 R+  0:00 grep firstboot 

나는 그것이 실행중인 경우 내가 확인 때

[[email protected] ~]# killall firstboot 
firstboot: no process killed 

을 죽일 수없는 것, PID는 것 변경되었습니다!

[[email protected] ~]# ps ax |grep firstboot 
28233 pts/0 S+  0:00 grep firstboot 

내가 프로세스를 종료하기 위해 무엇을 할 수 있는지에 중

[[email protected] ~]# chkconfig firstboot off 
error reading information on service firstboot: No such file or directory 

생각을 작동하지 않습니다 chkconfig를 사용?

답변

1

이 출력이 잘못 해석되었습니다.

[[email protected] ~]# ps ax |grep firstboot 
27891 pts/0 R+  0:00 grep firstboot 

firstboot가 실행 중임을 알려주지 않습니다. 거기에 명령이 있음을 알 수있다. grep firstboot. 그것은 grep이 실행 중임을 알려줍니다.

혼란을 피하기 위해 pgrep firstboot 또는 ps ax | grep '[f]irstboot'을 시도하십시오.