블로그 이미지
암초보

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

Tag

05-02 14:22
2010. 11. 16. 11:39 O/S/각종 O/S 관련

exit code indicates if a signal may be sent.

So. it does nothing, but the exit code of your "kill -0 PID" command just returns 0 if you can send a signal to PID, and returns 1 if you can't (don't have access or invalid PID)


결론
해당 프로세스가 있으면 0, 없으면 1을 리턴한다네요.

'O/S > 각종 O/S 관련' 카테고리의 다른 글

솔라리스 cpu, memory 확인  (0) 2011.01.25
AIX cpu 정보 보기  (0) 2010.12.27
linux cpu,ram, bit 확인  (0) 2010.11.24
유닉스에서 shell 실행시 "bad interpreter"  (0) 2010.11.22
nohup 사용하기  (0) 2010.11.01
posted by 암초보