API to get memory info

Dominik Haumann dhdev at gmx.de
Thu Jun 5 19:56:17 BST 2008

On Sunday 01 June 2008, Aurélien Gâteau wrote:
> Hello,
> Is there an API in the kdelibs to get memory info? I am looking for a
> way to get the amount of physical memory installed.
> Aurélien

There is a class the KTimeMon applet in KDE 3.5 uses that is locataed in
  3.5/kdeaddons/kicker-applets/ktimemon/sample.{cc, h}
It's pretty simple but seems to do its job very reliable.
Using libksysguard sounds like a better idea, but imo it also should go into 
Solid somehow.

Maybe that helps :)

More information about the kde-core-devel mailing list