如何在Linux下查看服务的运行情况

2025-01-03 21:02:34
推荐回答(1个)
回答1:

root@localhost:~# top
top - 14:53:43 up 32 days, 5:46, 4 users, load average: 0.56, 0.52, 0.62
Tasks: 221 total, 1 running, 220 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8.5 us, 3.5 sy, 0.1 ni, 87.3 id, 0.6 wa, 0.1 hi, 0.0 si, 0.0 st

root@localhost:~# ps aux|grep bash
root 11643 0.0 0.0 25352 4908 pts/7 Ss+ 10月11 0:00 -bash