Skip to content

C program that lets user send POSIX signals to processes by giving just name of the process and type of signal to be sent.

Notifications You must be signed in to change notification settings

KarolGutkowski/Send-Signal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send-Signal

To compile the program simply run: make send_signals

Running the program:
send_signals -p process_name -s signal_type
-p process name - process name to which the signal is to be sent
-s signal_type - either name of signal (i.e SIGKILL) or a number that indicates signal number in the system
providing wrong signal signature will or nonexsitng process name will yield an error


Current version of the program allows to send one signal to process indentified by given name (for examples check ps au)
if there are more than one processes under the same name the program shall send signal to the one with the lowest ID (meaning parent process).

Future iterations of this software will include:

  • timed signall sending and sending of multipe signals
  • choosing processes from tree of processes if there are more than one under the same name
  • extending the range of signals handled by the program

About

C program that lets user send POSIX signals to processes by giving just name of the process and type of signal to be sent.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published