Wednesday, August 26, 2015

Viewing threads in top or ps


 

When we are dealing with multi threaded applications, we can use top or P's to see wayward threads.











PS has -L option to view threads.
Top has -H option to view threads.
You can use top -n 1 command in to create a simple 'top' logging script.

No comments:

Post a Comment