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