landscape-sysinfo reports wrong memory utilization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Undecided
|
Unassigned | ||
landscape-client (Ubuntu) |
Fix Released
|
Medium
|
Phillip Susi |
Bug Description
The reported percentage bears no relationship to actual:
psusi@devserv:~$ landscape-sysinfo
System load: 0.01 Processes: 105
Usage of /: 66.1% of 18.33GB Users logged in: 1
Memory usage: 24% IP address for br0: 10.1.1.4
Swap usage: 0%
Graph this data and manage this system at https:/
psusi@devserv:~$ free -m
total used free shared buffers cached
Mem: 2012 1494 517 0 153 1183
-/+ buffers/cache: 157 1854
Swap: 0 0 0
psusi@devserv:~$ apt-cache policy landscape-common
landscape-common:
Installed: 12.04.3-0ubuntu1
Candidate: 12.04.3-0ubuntu1
Version table:
*** 12.04.3-0ubuntu1 0
500 http://
100 /var/lib/
Related branches
- Jerry Seutter (community): Approve
- Geoff Teale (community): Approve
-
Diff: 77 lines (+12/-10)4 files modifiedlandscape/lib/sysstats.py (+4/-2)
landscape/lib/tests/test_sysstats.py (+4/-4)
landscape/monitor/tests/test_memoryinfo.py (+3/-3)
landscape/sysinfo/tests/test_memory.py (+1/-1)
Changed in landscape-client: | |
milestone: | none → 12.12 |
milestone: | 12.12 → 13.01 |
Changed in landscape-client: | |
milestone: | 13.01 → 13.02 |
Changed in landscape-client: | |
status: | New → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Changed in landscape-client (Ubuntu): | |
status: | In Progress → Fix Released |
Can you please paste or attach an up-to-date output of landscape-sysinfo together with the contents of /proc/meminfo?
landscape-sysinfo uses the contents of /proc/meminfo to calculate the memory usage value.