overload 1
resident :: () -> int
Resident set of this process in KiB, from /proc/self/status (-1 elsewhere).
overload 2
resident :: (pid: s32) -> (rss: int, peak: int)
The "VmRSS" and "VmHWM" lines of /proc/<pid>/status, in KiB.
resident :: () -> int
Resident set of this process in KiB, from /proc/self/status (-1 elsewhere).
resident :: (pid: s32) -> (rss: int, peak: int)
The "VmRSS" and "VmHWM" lines of /proc/<pid>/status, in KiB.