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 1aa1aac commit 1dbfef5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![main](https://github.com/flowerinthenight/memx/actions/workflows/main.yml/badge.svg)](https://github.com/flowerinthenight/memx/actions/workflows/main.yml)

Returns the calling process' memory usage (internal + shared) in kB. Linux-specific only.

Reference: https://en.wikipedia.org/wiki/Proportional_set_size
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 1dbfef5

Please sign in to comment.