int proc_swap_total(void);
no arguments
The total amount of swap available, in kilobytes.
On success, returns the total amount of swap (in Kbytes). On error, -1 is returned.
proc_swap_free(), proc_swap_used(), proc_swap_cached(), proc_swap_pused() proc_mem_total(), proc_mem_free()
INDEX |