tmux-mem-cpu-load/freebsd
Pawel "l0ner" Soltys 869d43f102 Fixed RAM usage calculation on FreeBSD
- Instead of displaying hardware ram quantity, display ram available to be
  allocated by applications. FreeBSD uses some ram for kernel, segment mappings
  and other stuff. Those memory pages are not available for allocation by
  applications.
- Calculate correctly ram usage. Active + Wired (buffers). Nothing else.

For more info see:
- http://www.cyberciti.biz/files/scripts/freebsd-memory.pl.txt
- conky source code on github
- output of top and vmstat on FreeBSD
- http://www.zabbix.com/forum/showthread.php?t=21826
- https://support.zabbix.com/browse/ZBXNEXT-774

htop on FreeBSD uses linux procfs compatibility layer, and thus it's readings
are a little off.
2015-02-13 18:46:28 +01:00
..
cpu.cc Strip unnecessary whitespaces 2015-01-20 15:03:49 +01:00
cpu.h FreeBSD and OpenBSD ports 2015-01-20 15:03:48 +01:00
getsysctl.h FreeBSD and OpenBSD ports 2015-01-20 15:03:48 +01:00
load.cc FreeBSD and OpenBSD ports 2015-01-20 15:03:48 +01:00
load.h FreeBSD and OpenBSD ports 2015-01-20 15:03:48 +01:00
memory.cc Fixed RAM usage calculation on FreeBSD 2015-02-13 18:46:28 +01:00
memory.h FreeBSD and OpenBSD ports 2015-01-20 15:03:48 +01:00