How do you check if a process is still running?

Alvin Le

Member
How do you check if a process is still running?
Answer
Show activity on this post.
  1. if you want to check all processes then use ‘top’
  2. if you want to know processes run by java then use ps -ef | grep java.
  3. if other process then just use ps -ef | grep xyz or simply /etc/init.d xyz status.
  4. if through any code like .sh then ./xyz.sh status.
 

Tìm kiếm

Back
Top