UlrichBecker / get_linux_process_id

Module for C/C++ to find process-id numbers of current running linux-processes.

Repository from Github https://github.comUlrichBecker/get_linux_process_idRepository from Github https://github.comUlrichBecker/get_linux_process_id

Get Linux-Process IDs

Module for C/C++ to find process-id numbers of current running linux-processes.

  • Can be used to prevent multiple process instances on Linux instead of creating PID-files.
  • Similar to the shell-command "pidof".
  • Using of a callback-function for each found running process.
  • Evaluation of the whole command-line of each found process possible.
  • Useful to establish inter process communication.

Excuses my Eric Allman coding-style. ;-)

About

Module for C/C++ to find process-id numbers of current running linux-processes.

License:GNU General Public License v3.0


Languages

Language:C 78.7%Language:Makefile 16.4%Language:BitBake 4.8%