Skip to content

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

License

Notifications You must be signed in to change notification settings

UlrichBecker/get_linux_process_id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ulrich BeckerUlrich Becker
Ulrich Becker
and
Ulrich Becker
Mar 23, 2023
f8a7020 · Mar 23, 2023

History

13 Commits
Feb 10, 2017
Sep 21, 2018
Mar 23, 2023
Jun 14, 2018
Feb 10, 2017
Feb 10, 2017
Oct 2, 2017
May 20, 2018

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published