1
vote
0answers
18 views

How does Activity Monitor get the URLs related to a “Safari Web Content” process?

Does anyone know how Activity Monitor.app gets the list of URLs that are related to a Safari Web Content process? Those processes show up as com.apple.WebKit.WebContent in ps output.
0
votes
1answer
58 views

Run a program without networking?

Is there a way to run a program on OS X (e.g., from the command line) but without letting it see the network? I can turn off and disconnect all networking, but then all my other processes will be ...
4
votes
1answer
232 views

How do I monitor the total physical and virtual memory usage of a process and all of its descendants?

From the command line, how would I get the total physical and virtual memory usage of a process and all of its descendants (not just 1st-level children)? This is useful when you want to monitor the ...
3
votes
3answers
519 views

Is there a htop-on-linux like alternative for top / Activity Monitor on OS X?

I'm looking for a better alternative for top. Both top and Activity Monitor are highly limited with regards to features. In particular, I'm interested in the following features: Limit processes by ...
1
vote
2answers
366 views

Terminal in full screen mode: how do I recover from “cat /dev/random”

What are the ways I can regain control over my computer when I have terminal in full screen mode and type: cat /dev/random
6
votes
2answers
2k views

How can I kill a process using top on OS X?

On other Unixe,s I can use top and then hit K and type the process ID. How can I do that in OS X? I can type kill [the_pid] on its own at the command line and that works. However, I was wondering if ...
2
votes
3answers
1k views

Getting a list of currently running processes

I'd like to get a list of all the applications currently running on my machine using the command line. It should be similar to what you get when you open up Activity Monitor and choose to save the ...