Skip to content

Library for getting information about running processes

License

ISC, LGPL-3.0 licenses found

Licenses found

ISC
LICENSE.ISC
LGPL-3.0
LICENSE.LGPLv3+
Notifications You must be signed in to change notification settings

jcnelson/libpstat

Repository files navigation

libpstat: OS-agnostic process stat

libpstat is a small library for getting information on running processes in an OS-agnostic way. The source is structured to make it easy to add support for additional operating systems. Currently, Linux is the only supported OS.

Building

To build:

$ make OS=$OS_NAME

Substitute $OS_NAME for "LINUX".

Installing

To install libpstat to /lib and headers to /usr/include/pstat:

$ sudo make install PREFIX=/ INCLUDE_PREFIX=/usr

Advanced: If you want to install libpstat's headers to a custom location, you can do so by setting the INCLUDE_DIR variable instead of the INCLUDE_PREFIX variable. For example, passing INCLUDE_DIR=/custom/location/ would install the headers directly to /custom/location, whereas INCLUDE_PREFIX=/custom/location would install the headers to /custom/location/include/pstat.

Documentation

TODO

About

Library for getting information about running processes

Resources

License

ISC, LGPL-3.0 licenses found

Licenses found

ISC
LICENSE.ISC
LGPL-3.0
LICENSE.LGPLv3+

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published