Autor |
Nachricht |
|
Titel: Swap problem
Verfasst am: 24.05.2006, 15:13 Uhr
|
|
Anmeldung: 24. Mai 2006
Beiträge: 3
|
|
I'm running a Kanotix HD installation on 256 MB of RAM, however I have a swap partition of 1 GB. When I look at the resources it shows that non of the swap space is used. This results in a Free physical memory of 4-50 MB depending on what im doing. Can someone help?
And second where can I see what processes are running and maybe shut some down? |
|
|
|
|
 |
|
Titel: Swap problem
Verfasst am: 24.05.2006, 16:39 Uhr
|
|
Anmeldung: 10. Sep 2004
Beiträge: 413
|
|
2: htop
1: Be happy. Unused Ram is bad Ram, and linux tends to use as much Ram as possible. Its not! Windows and uses Swap only if necessary.
Greetings
Datebro |
|
|
|
|
 |
|
Titel:
Verfasst am: 24.05.2006, 16:55 Uhr
|
|

Anmeldung: 03. Jul 2004
Beiträge: 525
|
|
I'd look at ksensors and never find swap being used . . . until I got into photo stitching when swap started showing usage.
drb |
_________________ Kernel 2.6.21-slh-up-7
_____________________
|
|
|
|
 |
|
Titel:
Verfasst am: 24.05.2006, 18:35 Uhr
|
|
Anmeldung: 28. Jul 2005
Beiträge: 24
|
|
As others have alluded to, this is completely normal. Linux caches frequent hard disk reads to any available ram until it is almost used up. The cached ram is still available for system use if needed; it's not really used up.
This is all done for system performance since info can be read much faster from ram than the hard drive. You will notice that the second or third time you open a large application like firefox, it opens much faster than the first time you launch it after just booting up. This is due to the fact that a lot of the data for firefox that was initially loaded from the hard drive is now present in the ram cache. If you launch an application that needs the ram occupied by the firefox data, the system will push the firefox data in the ram cache out and give the ram to the new ram intensive app rather than going to swap. To see exactly how much ram is being used and how much of that use is buffers/cache run:
$ free
And to get a printout of what processes are running, run:
$ ps aux
or:
$ top
which gives a running, updated tally. For a graphical tool that does the same, you can use KDE System Guard. |
|
|
|
|
 |
|
Titel: Re: Swap problem
Verfasst am: 24.05.2006, 21:26 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
suslisko hat folgendes geschrieben::
And second where can I see what processes are running and maybe shut some down?
htop is much better than top IMHO. Just run htop in a shell. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel: RE: Re: Swap problem
Verfasst am: 27.05.2006, 03:24 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
I show with 512MB with 502 MB swp:
joyboy@WorldsEnd:~$ free
total used free shared buffers cached
Mem: 482380 458724 23656 0 134148 117516
-/+ buffers/cache: 207060 275320
Swap: 514072 128 513944 |
_________________ illegitimati non carborundum
|
|
|
|
 |
|