Bug 181324

Summary: System Monitor didn't show correct Ram and Swap size
Product: [Applications] ksysguard Reporter: Shashwat <shashwat.pant>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: johnflux
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Shashwat 2009-01-19 18:28:05 UTC
Version:           4 (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

Hi
I am using Mandriva 2009.0 One 32 bit edition with KDE 4.1.3 updated.. I noticed that the system monitor didn't list coorrect size for my ram and swap.. 

My system in   :   AMD X3 Phenom 8650
2x2 Gb DDR2 800 Mhz Ram
640 Gb W AAKS Hard disk with 5.9 Gb of swap.. 

Here is the screenshot of what System Monitor shows http://www.imgx.org/files/29580_dicix/Sys%20moniter.png

Please fix it..

Regards
Comment 1 John Tapsell 2009-01-19 19:07:53 UTC
SVN commit 913676 by johnflux:

Use long longs instead of longs for storing the total amount of memory.  Fixes overflows 
on systems with more than 4GB of memory.
BUG:181324
CCBUG:159314


 M  +3 -3      gui/ksysguard.cc  
 M  +1 -1      gui/ksysguard.h  
 M  +25 -25    ksysguardd/Linux/Memory.c   [POSSIBLY UNSAFE: scanf]


WebSVN link: http://websvn.kde.org/?view=rev&revision=913676
Comment 2 Shashwat 2009-01-20 03:54:51 UTC
So you mean to say there will be problem ?

Well I know 4gb isn't suported by 32bit but gnome system monitor did show 3.2 gb and shows correct amount of swapp..

Check CPU Z Validation URL. . http://valid.canardpc.com/show_oc.php?id=482298
Comment 3 John Tapsell 2009-01-20 06:08:10 UTC
(In reply to comment #2)
> So you mean to say there will be problem ?

I have now fixed the problem for KDE 4.3,