Files
libgtop/sysdeps/freebsd
Ting-Wei Lan a206cfc728 freebsd: rework system memory usage
Change the value of memory usage from:

  Used   = Wired
  Free   = Total - Wired
  Shared = 0
  Buffer = 0
  Cached = Cache
  User   = Wired - Cache
  Locked = Not Supported

To:

  Used   = Total - Free
  Free   = Free
  Shared = 0
  Buffer = Buf
  Cached = Cache
  User   = Active + Wired
  Locked = Not Supported

The left-hand side means fields in the glibtop_mem struct and the right-hand
side means the value showed by `top' command. This change should make the value
showed by gnome-system-monitor, which uses `User' field, become closer to
the real memory usage.

All sysctlbyname code in sysdeps/freebsd/mem.c has been moved to separate
functions to make the code cleaner.
2015-07-03 22:42:07 +08:00
..
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2007-07-02 15:47:24 +00:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-02-20 20:56:57 -05:00
2015-07-03 22:42:07 +08:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00