1
vote
1answer
136 views

Command-line Number of thread per process on MacOS

I'd like to be able to get the number of thread per process in command-line and get the exact same number I can see via the Activity Monitor. At the moment the IntelliJ IDEA process (PID 5235) has ...
0
votes
0answers
39 views

Command to get associated threads for pid in OSX

In Linux I can use one of the following ps -p pid -L -o pid,tid,%cpu,%mem ps -C command -L -o pid,tid %cpu,%mem What is the equivalent command for OS X ?.
6
votes
3answers
1k views

Can I close a firefox tab through the console?

There I was downloading a bunch of stuff from the Internet quite happily using Firefox built-in download manager when I decided to check code academy (a site that teaches you how to program in ...
2
votes
1answer
619 views

Peeking inside Firefox - what's maxing out the CPU

I am having a Firefox with plenty of add-ons installed. Sometimes Firefox get stuck with high CPU usage on the pages having no Flash. I'd like to solve what's causing this in a more professional ...