View Single Post
  #4   (View Single Post)  
Old 14th September 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I was thinking parsing the output of $ pgrep -lf. Another option might be to write a program that calls getppid(2) or getpid(2).
Reply With Quote