How can I tell if a process is running?

Nam Phong

New member
How can I tell if a process is 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