Unix Signals?
math.stonybrook.edu·1d·
Discuss: Hacker News
💻Terminal Control
Preview
Report Post

A signal is a message which can be sent to a running process.

Signals can be initiated by programs, users, or administrators.

For example, to the proper method of telling the Internet Daemon (inetd) to re-read its configuration file is to send it a SIGHUP signal.

For example, if the current process ID (PID) of inetd is 4140, we would type:

kill -SIGHUP 4140

Another common use of signals is to stop a running process. To stop the inetd process completely, we would use this command:

kill 4140

By default, the kill command sends the SIGTERM signal. If SIGTERM fails, we can escalate to using the SIGKILL signal to stop the process:

kill -9 4140

Because SIGKILL cannot be handled, stopping…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help