Return RSS memory usage as a humanized string.
()
| 136 | |
| 137 | |
| 138 | def mem_rss(): |
| 139 | """Return RSS memory usage as a humanized string.""" |
| 140 | p = ps() |
| 141 | if p is not None: |
| 142 | return humanbytes(_process_memory_info(p).rss) |
| 143 | |
| 144 | |
| 145 | def ps(): # pragma: no cover |