[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-hardware-devel
Subject:    Re: [Kde-hardware-devel] getTotalRAM() and getFreeRAM() in Solid
From:       "John Tapsell" <johnflux () gmail ! com>
Date:       2006-06-29 22:35:56
Message-ID: 43d8ce650606291535y749a961bhbddee2bee1f081a () mail ! gmail ! com
[Download RAW message or body]

There is code in ksysguardd that gets the memory, but it's not that
difficult:  you just read /proc/meminfo


But as a caveat, the trouble with ram is that it's difficult to report
nicely.  The numbers often don't mean anything.  What do you class a
free memory?  Does that include buffer? And so on.
_______________________________________________
Kde-hardware-devel mailing list
Kde-hardware-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-hardware-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic