operating system - Handle signals of child processes -


is possible catch signals received (specifically sigsegv, sigabrt) child processes of program without modifying (or minimal modification)? program i'm talking pretty complex tool of don't have low-level (implementation details) knowledge of. have access source code. can start using command like:

$ ./tool_name start       # tool_name executable created after compiling , building source code 

it forks many child processes , want see if child processes being killed signal or not.

what have thought create simple c program , call above command through (using system()). write signal handler above signals i'm looking for, , other stuffs. right way keep track of signals received child processes? there better way same?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -