Bug 181324 - System Monitor didn't show correct Ram and Swap size
Summary: System Monitor didn't show correct Ram and Swap size
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 18:28 UTC by Shashwat
Modified: 2009-01-20 06:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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,