Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好吧,我只启动了一个 tomcat 服务器,但是当我在我的 ubuntu 服务器中执行命令“htop”时,我看到内存中有 16 个 tomcat6 实例,它们具有完全相同的“命令”但 PID 不同。见下图:
默认情况htop下列出线程而不是进程,尝试top使用ps -ef | grep tomcat
htop
top
ps -ef | grep tomcat