proc_swap_free()

The total amount of swap free

Syntax:

int proc_swap_free(void);

Arguments:

no arguments

Description:

The total amount of swap free, in kilobytes.

Return Values:

On success, returns the total amount of swap free (in Kbytes). On error, -1 is returned.

See Also:

proc_swap_total(), proc_swap_used(), proc_swap_cached(), proc_swap_pused() proc_mem_total(), proc_mem_free()



INDEX