The SIGINT signal (signal interrupt)

Process States


SIGINT is a signal created by the controlling terminal (generally a keyboard) that sends an interrupt to a process

It is an indication to a thread that it should stop what it is doing.

This signal is generated by typing the interrupt character (typically control-C).


When sending the SIGINT, the program may close STDOUT (“output.log”) before the program finishes to print into the final log.

Example of command with a log redirection

myProgram > output.log

Discover More
Network - tcpdump

tcpdump is : a command-line packet analyzer and libpcap, a portable C/C++ library for network traffic capture (sniffer). It prints out a description of the contents of packets on a network interface...
Process States
Signal in Operating System

Signal has been borrowed from the modeling of process and are used for process communication

Share this page:
Follow us:
Task Runner