TL;DR

[Links] linux signal and kill command

c4fiber 2024. 1. 31. 16:50

 

what is linux signal

https://faculty.cs.niu.edu/~hutchins/csci480/signals.htm

 

LINUX Signals

int pause() This suspends execution until any signal is caught. It returns only when a signal is caught and handled (rather than the process terminating), in which case the return value is -1.

faculty.cs.niu.edu

 

man signal

https://man7.org/linux/man-pages/man7/signal.7.html

 

signal(7) - Linux manual page

signal(7) — Linux manual page signal(7) Miscellaneous Information Manual signal(7) NAME         top signal - overview of signals DESCRIPTION         top Linux supports both POSIX reliable signals (hereinafter "standard signals") and POSIX real-ti

man7.org

 

kill vs signal

https://www.quora.com/What-is-the-difference-between-kill-and-signal-system-calls-in-Linux

 

What is the difference between kill() and signal() system calls in Linux?

Answer (1 of 3): kill() system call is used for sending signal to the process whereas, signal() system call is used for changing deposition of the signal. Both are explained below:- kill() :- One process can send signal to another process by using kill( )

www.quora.com

 

리눅스 시그널 명령어

https://veneas.tistory.com/entry/Linux-%EB%A6%AC%EB%88%85%EC%8A%A4-%EC%8B%9C%EA%B7%B8%EB%84%90-%EB%AA%85%EB%A0%B9%EC%96%B4%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-%EC%A2%85%EB%A3%8C-kill

 

[Linux] 리눅스 시그널 명령어(프로세스 종료) - kill

목차 1. kill 명령어 [사용 형식] pid: 프로세스 ID(ps 또는 jobs 명령어를 통해 프로세스 ID를 확인할 수 있습니다.) 1. 시그널을 지정하지 않을 경우 기본 값인 정상 종료(15, SIGTERM) 시그널을 보냅니다.

veneas.tistory.com

 

리눅스 시그널 종류

https://zidarn87.tistory.com/351

 

리눅스마스터 1급 / 시그널 (signal) 종류

리눅스마스터 1급 / 시그널 (signal) 종류 번호 시그널 이름 발생 및 용도 1 SIGHUP(HUP) - hangup 시그널; 전화선 끊어짐 - 로그아웃과 같은 터미널에서 접속이 끊켰을 때 보내지는 시그널 - 데몬 관련 환

zidarn87.tistory.com

 

centos 시그널 종류

https://shypang.tistory.com/90

 

리눅스 시그널(Signal)

시그널(Signal)의 사전적인 뜻은 '신호'라는 의미이고 리눅스에서는 프로세스끼리 서로 통신할 때 사용한다. (리눅스 1급 마스터 정복하기 발췌) 특정 프로세스에서 다른 프로세스로 메시지를 보

shypang.tistory.com

 

 

'TL;DR' 카테고리의 다른 글

[Links] Spring boot  (1) 2024.01.31
[Links] shell에서 program detach, nohup & 활용 방법  (0) 2024.01.31
[LINKS] 객체지향의 SOLID 원칙  (0) 2024.01.31
[Links] JWT 토큰  (0) 2024.01.31