Was ist das Äquivalent von top -H -p <pid> unter OS X? </pid>

643
raulk

Ich muss die CPU-Nutzung von Threads überwachen, die von einem bestimmten Prozess erstellt werden.

In * nix kann man verwenden top -H -p <pid>, aber das ist in OS X nicht verfügbar.

Ein Äquivalent von ps -eLo pid,ppid,lwp,nlwp,osz,rss,ruser,pcpu,stime,etime,argswürde auch ausreichen.

0

1 Antwort auf die Frage

0
D Schlachter

Tree view in htop is similar (see picture). You can install htop with Homebrew, then toggle tree view with F5. To keep a process and its threads from jumping around on updates, you can select the parent process and use F to keep it in place.

htop