Re:Understanding how killall works using strace
by belluchan on Sunday December 22, 2013 @09:15PM
(#6952747)
You could use strace or ... you could just look at the code: http://src.gnu-darwin.org/src/usr.bin/killall/killall.c.html
[ Parent
| on HN ]
Re:Understanding how killall works using strace
by alayne on Sunday December 22, 2013 @10:17PM
(#6952941)
Step 1: find the correct source code.
Reading code has its place and tracing code has its place. I have difficulty understanding nontrivial codebases without some amount of tracing. In this case you chose to present the source for a FreeBSD/OS X version of killall when OP is running Linux.
Re:Understanding how killall works using strace
by nly on Monday December 23, 2013 @04:09AM
(#6953647)
On my Linux system it's provided by psmisc:
http://sourceforge.net/p/psmisc/code/ci/master/tree/src/kill...
Re:Understanding how killall works using strace
by belluchan on Monday December 23, 2013 @02:13AM
(#6953424)
Finding the right source for killall for whatever platform you want is trivial.
Re:Understanding how killall works using strace
by FeeTinesAMady on Monday December 23, 2013 @02:23AM
(#6953446)
You didn't.