Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display of RAM not correct? #46

Closed
wtrdk opened this issue Jan 29, 2014 · 11 comments
Closed

Display of RAM not correct? #46

wtrdk opened this issue Jan 29, 2014 · 11 comments

Comments

@wtrdk
Copy link

wtrdk commented Jan 29, 2014

Hi,

I really like this dashboard. The only thing is that the RAM usage displayed by the dashboard is very different than the RAM usage displayed by landscape-sysinfo (Ubuntu server)
The attached screenshots were made at the same time.
Ths dashboard displays usage of 73%, while landscape-sysinfo displays only 29%

EDIT:

Webmin shows roughly the same info as landscape-sysyinfo.
screenshot 190

screenshot 191
screenshot 189

@vernes
Copy link
Contributor

vernes commented Jan 29, 2014

Did you pull latest changes? PR #30 fixed this, can you confirm?

@wtrdk
Copy link
Author

wtrdk commented Jan 29, 2014

Hi,

I just did a git pull, and these screenshots show you the results:

screenshot 193
screenshot 192

2014-01-29 vernes notifications@github.com

Did you pull latest changes? PR #30https://github.com/afaqurk/linux-dash/pull/30fixed this, can you confirm?


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-33565033
.

@vernes
Copy link
Contributor

vernes commented Jan 29, 2014

Hmm.. strange. All it does is simply calling:

free -tmo|awk '{print $1","$2","$3-$6-$7","$4+$6+$7}'

@wtrdk
Copy link
Author

wtrdk commented Jan 29, 2014

It's interesting to compare your query to landscape-sysinfo, see added screenshot!

screenshot 196

@vernes
Copy link
Contributor

vernes commented Jan 29, 2014

So that is correct. Only logical answer could be that you don't have the latest version. Can you check your sh/mem.php?

@wtrdk
Copy link
Author

wtrdk commented Jan 29, 2014

Here you go!

So that is correct. Only logical answer could be that you don't have the > latest version. Can you check your sh/mem.php? > > — > Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-33576638 > .

@vernes
Copy link
Contributor

vernes commented Jan 29, 2014

That's not the latest version, please see https://github.com/afaqurk/linux-dash/blob/master/sh/mem.php

@wtrdk
Copy link
Author

wtrdk commented Jan 29, 2014

Thank you very much, that's much better.

The strange thing is that I performed a git pull just before providing you
the content of mem.php...

2014-01-29 vernes notifications@github.com

That's not the latest version, please see
https://github.com/afaqurk/linux-dash/blob/master/sh/mem.php


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-33579279
.

@vernes
Copy link
Contributor

vernes commented Jan 29, 2014

No problem. Check your git repo and you can close the issue

@wtrdk wtrdk closed this as completed Jan 29, 2014
@shahamit
Copy link

shahamit commented Jul 6, 2015

I understand that this issue is closed but since I am facing the same issue, I hope I will get some help out.

I installed this dashboard on my "Oracle Linux Server release 6.4" vm and see a big difference in the RAM usage shown by the dashboard when compared with the "top" command.

Output of top command
Linux Dashboard RAM usage

Total RAM being 16 gb, the top command shows that only 4 GB is free while the dashboard shows 15 GB is free.
What could I by missing?

@vernes
Copy link
Contributor

vernes commented Jul 7, 2015

I hope this will help

http://serverfault.com/a/379392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants