19.12.2014, 12:01 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
suslisko
Titel: Swap problem  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
datebro
Titel: Swap problem  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst 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
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kilgoretrout
Titel:   BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Re: Swap problem  BeitragVerfasst am: 24.05.2006, 21:26 Uhr
Team Member
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"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
2radical
Titel: RE: Re: Swap problem  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.