What is the easist way to find (in Linux Centos6)
1. check if a service is running ? i.e if i need to check the openfire is running or not how do i check it ? 2. how do i find-out the PID of a service ? i.e service openfore pid ?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
Or you can do ps -aux | grep 'service name' to show PIDs and how many instances of that service is running