Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ps -o pid,sess,cmd afx | grep -A20 cron
- ps -o pid,sess,cmd afx | grep -A20 jenkins
- ps -o pid,sess,cmd afx | grep -A20 java
- Find a specific PID
- ===
- ps --headers aux | head -n 1; ps aux | awk '$2 == [enter PID here] { print $0 }'
- View a tree of processes
- ===
- pstree
Advertisement
Add Comment
Please, Sign In to add comment