https://github.com/hauleth/os_process
Example implementation of function for fetching informations about OS process
https://github.com/hauleth/os_process
erlang
Last synced: 4 months ago
JSON representation
Example implementation of function for fetching informations about OS process
- Host: GitHub
- URL: https://github.com/hauleth/os_process
- Owner: hauleth
- Created: 2020-03-21T11:15:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-07T11:37:26.000Z (6 months ago)
- Last Synced: 2025-01-17T01:43:14.849Z (6 months ago)
- Topics: erlang
- Language: Erlang
- Homepage: https://bugs.erlang.org/browse/ERL-1200
- Size: 17.6 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `os_process`
Missing piece of system information in OTP.
This is small library that allows users to fetch more information about the
current process from the OS. ERTS support only one information - process ID
(that is strangely returned as a charlist).This library exposes more info about process:
- process ID (as integer)
- priority
- effective/real group/user ID (on Unixes)
- user name (on Windows)In addition to that, there is small helper function that also return C type
sizes.## License
[MIT](LICENSES/MIT.txt)