/tg/ Station 13 - Modules - TypesVar Details - Proc Details

memory_stats

Vars

last_rss_bytesRSS in raw bytes of the last sample (float precision, ~256 byte granularity at the 4GB scale)
last_rss_mbRSS (in MB) of the last sample, so users can see the current memory usage in the statpanel

Procs

get_status_lineFormatted for the statpanel, "sampling..." until the first successful RSS read

Var Details

last_rss_bytes

RSS in raw bytes of the last sample (float precision, ~256 byte granularity at the 4GB scale)

last_rss_mb

RSS (in MB) of the last sample, so users can see the current memory usage in the statpanel

Proc Details

get_status_line

Formatted for the statpanel, "sampling..." until the first successful RSS read