I am running SL on my Macbook pro (model 8,1) with 4GB RAM. As it is right now I have only iTerm2, QuickSilver and Activity Monitor running (and a couple of daemons in the background e.g. Dropbox and Citations, neither using more than 20-30 MBs). When I check the memory usage, it shows 900+ MB as Wired
, and almost a gig as Active
.
Checked the list of My Processes, top process there appears to be eating 60-70 MBs. If I list all processes hierarchically I see kernel_task
which uses about 350 MBs. Needless to say this is very peculiar.
Being the paranoid nerd I am, I started wondering if I have some hidden malware eating up resources behind the scenes. Is there a way to check that? Otherwise what could be the reason for this unexplained high mem usage?
Best Answer
As your user, you only can see your launchd bootstrap in OSX. You live in the Aqua domain. So, to see everything that is running because of you:
Will show you what is loaded. That's not all, however.
launchctl
has many options, such as:So as your user:
Will give you everything that is loaded into launchd currently, anything actually running will have an 'A' beside it.
...
Here cookied (wtf?) is running. Below, the quarantine resolver is loaded, but not actually running.
Now, perhaps, you may be inclined to try something like:
Thinking that as root, you will see everything. No. Root lives down in the System domain, and can not really see you clearly. You will get things running in the System, or daemon domain.
Reading the man page, you'll find:
As the command that gives you the entire Mach Tree that is running on the system.
Activity monitor shows you some things, but I don't really like to depend on it.
Reference:
http://developer.apple.com/library/mac/#technotes/tn2083/_index.html