1832651 Members
2865 Online
110043 Solutions
New Discussion

Show services running

 
Dan Decker
Frequent Advisor

Show services running

I am having a brain freeze, I know there is a way to display what services are running on a DBox9000 running 10.2. Itt looks like everything is running but one item and for the life of me I cannot remember how to check

Thanks in advance
It's not done Till I am satisfied
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Show services running

Hi Dan,

It can't be as simple as ps -ef?

Clay
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Show services running

Hi again:

Maybe also rpcinfo -p?
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Show services running

Hi Dan

ps -aef | grep the process name

or cat /etc/services | more and see the lines which are unhashed .


Manoj Srivastava

Wodisch
Honored Contributor

Re: Show services running

Hello Dan,

we can only guess what you ask for, but I think you
want to see the "network services running", and then
the command would be
netstat -a | more

HTH,
Wodisch
eran maor
Honored Contributor

Re: Show services running

Hi Dan

1. use the command ps -ef | grep -i name of process to get the list of process in the system .

2. you can check the /etc/services to check all the services and the number of port for them .

3. use rpcinfo to see all the service for nfs .
love computers
Mark van Hassel
Respected Contributor

Re: Show services running

Hi Dan,

I agree with the people above: what do you want to see.
* Processes: use ps
* RPC (Remote Procedure Call) services: use rpcinfo
* Internet services: check /etc/inetd.conf
* you can also check the network status of daemons, services and processes by using netstat.

Note: /etc/services is not a list of active services but it is a database with the official service names and the corresponding protocol and port. (this means that not all services are even available on your system or for HPUX for that matter).
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us