1825578 Members
2390 Online
109682 Solutions
New Discussion

Re: Inetd deamon issue

 
Saurabh Rawat
Advisor

Inetd deamon issue

On one my HP-Ux server i am getting following error by monitoring tool.

NumberOfProcess=2,MinInst=1,Status=5,User=,MaxInst=1,MonStatus=2,Path=/usr/sbin,Params=,Object=inetd

when i checked found that there is only one instance is running of inetd.

#ps -ef | grep -i inetd
root 935 1 0 Jan 13 ? 1:48 /usr/sbin/inetd -l
root 25694 14102 0 07:09:52 pts/1 0:00 grep -i inetd

i tried #inetd -c but still same issue .

This is live production server. and it is in cluster.

Any suggestion ?
Insanity is often the logic of mind overtasked!!!
3 REPLIES 3
Warren_9
Honored Contributor

Re: Inetd deamon issue

Hi,

your command should be "ps -ef | grep inetd | grep -v grep"

the "grep -v grep" is use to filter out your own grep process.

GOOD LUCK!!

Re: Inetd deamon issue

Well then the problem is with your monitoring software then isn't it? But since you haven't told us what that is, there's not really any way to help...

Incidentally more efficient than 'ps -ef | grep inetd | grep -v grep' would be:

ps -ef | grep [i]netd

or even

UNIX95= ps -fC inetd

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Laurent Menase
Honored Contributor

Re: Inetd deamon issue

If this is transient, inetd fork() when launching a service process. If that monitoring program is looking at inetd at the time it is forking, and had not yet execve() you see 2 inetd.