Jump to content

Wrong swap size displayed


hippocampe
 Share

Recommended Posts

When I installed Mdk 9, I made it use an already existing swap partition. It's size is 509 Mb and is properly reported by Diskdrake.

Whenever I run the command

free

I get this instead:

             total       used       free     shared    buffers     cached

Mem:        256936     244736      12200          0       3172     127580

-/+ buffers/cache:     113984     142952

Swap:       248968       2948     246020

 

Now the swap size is half of what it's supposed to be!!!

 

What gives :?:

Link to comment
Share on other sites

what does

procinfo

say?

 

 

procinfo

Linux 2.4.19-16mdk (quintela@bi.mandrakesoft.com) (gcc 3.2 ) #1 Fri Sep 20 18:15:05 CEST 2002 1CPU [localhost]



Memory:      Total        Used        Free      Shared     Buffers      Cached

Mem:        191112      186684        4428           0        7708       75964

Swap:       562192       22776      539416

 

Could it be possible that diskdrake made its own swap, ignoring by some mistake, your wishes? Just a thought. I think you would have noticed it in diskdrake but......

Link to comment
Share on other sites

from ML9.0

[bvc@localhost bvc]$ urpmq -g procinfo

Monitoring/procinfo

[bvc@localhost bvc]$ rpm -q procinfo

procinfo-18-2mdk

[bvc@localhost bvc]

 

Maybe you should (with no rpm proccess running)see if there're any _db.0? files in /var/lib/rpm that you need to delete and run

rpm --rebuilddb

and

rpm --initdb

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...