How can I see the number of threads in a Java process?
Using Linux Top command
Top
top -H -p (process id)
you could get process id of one program by this method :
ps aux | grep (your program name)
for example :
ps aux | grep user.py