mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 06:17:01 +00:00
System
- Check status of a process using PID
This commit is contained in:
parent
d6a31731d7
commit
c434421b77
11
README.md
11
README.md
@ -2037,6 +2037,17 @@ pidof python
|
|||||||
# or
|
# or
|
||||||
ps aux|grep python
|
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
|
##### NTP
|
||||||
```bash
|
```bash
|
||||||
# Start ntp:
|
# Start ntp:
|
||||||
|
Loading…
Reference in New Issue
Block a user