linux에서 수호 프로세스 정지 도구 start-stop-daemon
2864 단어 Linux
1. 2. /sbin/start-stop-daemon 3. Commands: -S|--start -- ... , -K|--stop -T|--status -H|--help -V|--version Matching options (at least one is required): -p|--pidfile pid file to check -x|--exec program to start/check if it isrunning -n|--name process name to check -u|--user process owner to check Options: -g|-- group < group |gid> -c|--chuid group |gid]> 、 -s|--signal signal to send ( default TERM) -a|--startas program to start ( default is ) -r|--chroot chroot to before starting -d|--chdir change to ( default is /) -N|--nicelevel add incr to the process' nicelevel -P|--procsched use with for the kernel process scheduler ( default prio is 0) -I|--iosched < class [:prio]> use < class > with to set the IO scheduler ( default prio is 4) -k|--umask -b|--background -m|--make-pidfile pidfile , start-stop-daemon -R|--retry timeout , , KILL ; -t|--test -o|--oknodo exit status 0 (not 1) if nothing done -q|--quiet -v|--verbose
5. 1、 daemon start-stop-daemon --start --background --exec /root/proxy.py
2、 daemon start-stop-daemon --stop --name proxy.py
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
바이너리 파일cat 또는tail, 터미널 디코딩 시 처리 방법cat으로 바이너리 파일을 보려고 할 때 코드가 엉망이 되어 식은땀이 났다. 웹에서 스크롤된 정보의 처리 방법과alias의 설정을 요약합니다. reset 명령을 사용하여 터미널을 재설정합니다.이렇게 하면 고치지 못하...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.