API to get memory info

John Tapsell johnflux at gmail.com
Fri Jun 6 17:22:40 BST 2008


libksysguard isn't really suitable for this sort of thing.  it would
be a lot to load in just for one tiny bit of functionality

John

2008/6/5 Dominik Haumann <dhdev at gmx.de>:
> 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 :)
> Dominik
>




More information about the kde-core-devel mailing list