Is there a way to get the number of threads used inside a Docker container?

Viewed 1790

I know I can use docker container top to see the running processes of a container, but is there a different command to see the number of threads? Or does docker container top already do that?

1 Answers

the correct (approximate) command is 'docker stats' or 'docker container stats' specifically the PID column; it includes all processes and threads.

Related