-  Check status of a process using PID
This commit is contained in:
bonnie 2020-07-19 23:13:06 +08:00
parent d6a31731d7
commit c434421b77

View File

@ -2037,6 +2037,17 @@ pidof python
# or
ps aux|grep python
```
##### Check status of a process using PID
```bash
ps -p <PID>
#or
cat /proc/<PID>/status
cat /proc/<PID>/stack
cat /proc/<PID>/stat
```
##### NTP
```bash
# Start ntp: