HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

"lsof" for active services

 
SOLVED
Go to solution
arkie
Super Advisor

"lsof" for active services

Hi,

Where can I download the 'lsof' utility to use for viewing active listening services in HP-UX 11iv1
6 REPLIES
Horia Chirculescu
Honored Contributor
Solution

Re: "lsof" for active services

Try the porting page:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/

Best regards
Horia
Best regards from Romania,
Horia.
Steven Schweda
Honored Contributor

Re: "lsof" for active services

Did you try a Google search for, say, "lsof"?
arkie
Super Advisor

Re: "lsof" for active services

The "lsof -i|grep diagnostic" is showing no output. How can I possibly check if the diagnostic daemon is running or not?

I did issue the daemon start command
Horia Chirculescu
Honored Contributor

Re: "lsof" for active services

> The "lsof -i|grep diagnostic" is showing no output.

There is no daemon called "diagnostic". You should check for diagmon

>How can I possibly check if the diagnostic daemon is running or not?

lsof |grep diagmon

There are up to 3 (or maybe not?) daemons running (depending of the version used):

diagnostic daemon DIAGMON
diagnostic daemon DEMLOG
diagnostic daemon MEMLOGP

Do:
cat /sbin/init.d/diagnostic
and see what the script starts (look for start_msg section).


Bets regards
Horia.
Best regards from Romania,
Horia.
Prasanth Thomas
Valued Contributor

Re: "lsof" for active services

Hi Sankar,

Please run the below command and let me know the o/p

#find / -name lsof -print

#whereis lsof --> for root as well as normal user

Regards,
Prasanth Thomas.

Re: "lsof" for active services

>How can I check if the diagnostic daemon is running or not?

Have you used ps(1) to look at all of the system processes?
UNIX_95=EXTENDED_PS ps -H -fu root