Need svcs equivalent command

Hi,

I am new to HP-UX.

Can someboby help me with the

 svcs 

equivalent command in HP-UX ???

svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX.

Thanks in advance.

The svcs(1) command is part of the SMF system that replaces the RC scripts used on earlier versions of Solaris, HP-UX still uses the rc scripts so svcs does not apply and no direct equivalent exists.

So for checking say NTP you will have to go back to checking is the ntp daemon running:

$ ps -ef | grep ntpd

and does it give a valid response when queried?

$ ntpq -p

to see if the NTP service started and is running okay.

There are of course commands like netstat and lsof to see if network daemons are listening and what ports they are using.

TonyFullerMalv

Thank you very much for the information.....