dinsdag 17 mei 2011

waar blijft mijn memory

Methode 1: 

Open terminal in spotlight
type: top







312M wired, 922M active, 349M inactive, 1583M used, 464M free.
wired: geheugen dat gebruikt wordt voor het operating systeem.
active: geheugen dat gebruikt wordt voor de applicaties die op het moment worden gebruikt
inactive: is geheugen dat gebruikt is voor een applicatie /proces dat gestopt is. Vaak wordt het zelfde proces kort daarna weer op gestart. Door nog een bladwijzer naar dit geheugen te houden kan dit proces dan heel snel gestart worden.
used: wired + active + inactive 
free: vrij geheugen kan voor alles gebruikt worden.




Methode 2:  Grafisch
Finder -> Applications -> utilities -> Activity Monitor


Op valt dat er 2 soorten processen zijn 64 en 32.
Snow Leopard is over op 64 bit.
De oude programma's draaien op 32.


Memory terug brengen.
Sluit programma's af die niet meer gebruikt worden.

Applicaties 
Safari
Finder
Preview

Andere mac osx processen
SystemUIServer: voor programma  Activity Monitor
DashboardClient: een widget die draait (F5)
WebKitPluginAgent : Flash plug in
mdworker : meta data importer
loginwindow:
lauchd
pboard: zorgt dat processen gestart worden bij booten of scheduled programmas

Proces stoppen
1 - Open Terminal in spotlight

2 - To turn Dashboard off:

Type this into Terminal and press enter:

defaults write com.apple.dashboard mcx-disabled -boolean YES

3 - find the Dock process id:

Type this into Terminal and press enter:

ps -ef | grep 'Dock' | grep -v 'ashboard' | grep -v 'grep'

The SECOND number from the left is the process id for the Dock.

4 - Kill the Dock:

Type this into terminal and press enter (replacing '' with the number you found above, second from the left):

kill -9



5 - To turn Dashboard on:

Type this into Terminal and press enter:

defaults write com.apple.dashboard mcx-disabled -boolean NO

7 - find the Dock process id:

Type this into Terminal and press enter:

ps -ef | grep 'Dock' | grep -v 'ashboard' | grep -v 'grep'

The SECOND number from the left is the process id for the Dock.

8 - Kill the Dock:

Type this into terminal and press enter (replacing '' with the number you found above, second from the left):

kill -9

9 - Press "F5" or whatever function key brings up Dashboard to assure it is functioning again now.

Geen opmerkingen:

Een reactie posten