Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed May 30, 2024
1 parent e0b933b commit bdb6df5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![main](https://github.com/flowerinthenight/memx/actions/workflows/main.yml/badge.svg)](https://github.com/flowerinthenight/memx/actions/workflows/main.yml)

`memx` returns the calling process' memory usage (internal + shared) in kB. Linux-specific only. It does this by reading [`PSS`](https://en.wikipedia.org/wiki/Proportional_set_size) from `/proc/{pid}/smaps`.
`memx` returns the calling process' memory usage (internal + shared) in kB. Linux-specific only.

It does this by reading [`PSS`](https://en.wikipedia.org/wiki/Proportional_set_size) from `/proc/{pid}/smaps`.

0 comments on commit bdb6df5

Please sign in to comment.