Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-15 Thread Hugh McIntyre
Matt Wilby wrote: Hi, Do a 'ps -ef | grep nagios'. The third column gives you parent pid. What is it? You can find the PID of nagios and then "ptree ". This will give you the parent, plus any grandparents all the way up. However, for something like ssh started by SMF, the parent pid is 1 (

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Lou Picciano
nuary 14, 2011 3:00:51 PM Subject: Re: [OpenIndiana-discuss] inetadm and svcadm Hi, Do a 'ps -ef | grep nagios'. The third column gives you parent pid. What is it? Matt On 14/01/2011 19:53, ann kok wrote: > Hi Matt > > I go to /etc/init.d > > There is no nagi

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Matt Wilby
> --- On Fri, 1/14/11, Matt Wilby wrote: > >> From: Matt Wilby >> Subject: Re: [OpenIndiana-discuss] inetadm and svcadm >> To: "Discussion list for OpenIndiana" >> Received: Friday, January 14, 2011, 2:25 PM >> SMF won't do anything with Nagios

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread ann kok
Hi Matt I go to /etc/init.d There is no nagios script under this folder. Do you have any idea? Thank you --- On Fri, 1/14/11, Matt Wilby wrote: > From: Matt Wilby > Subject: Re: [OpenIndiana-discuss] inetadm and svcadm > To: "Discussion list for OpenIndiana" > Rec

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread ann kok
Hi Mike Thank you but svcs -p . lt also can't find any nagios too I don't have idea how it is starting! Thank you for your help --- On Fri, 1/14/11, Mike Gerdts wrote: > From: Mike Gerdts > Subject: Re: [OpenIndiana-discuss] inetadm and svcadm > To: "Discuss

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Mike Gerdts
On Fri, Jan 14, 2011 at 1:18 PM, ann kok wrote: > I can ps -ef|grep nagios > > But I can't see how to start the nagios in it > > svcs -a list | grep nagios <== nothing > > How does it start? If it was started by an SMF service and it has not abandoned the contract, you should be able to find the

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Matt Wilby
gt; > Thank you > > --- On Fri, 1/14/11, Matt Wilby wrote: > >> From: Matt Wilby >> Subject: Re: [OpenIndiana-discuss] inetadm and svcadm >> To: "Discussion list for OpenIndiana" >> Received: Friday, January 14, 2011, 2:01 PM >> Sorry I wasn't

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread ann kok
I can ps -ef|grep nagios But I can't see how to start the nagios in it svcs -a list | grep nagios <== nothing How does it start? Thank you --- On Fri, 1/14/11, Matt Wilby wrote: > From: Matt Wilby > Subject: Re: [OpenIndiana-discuss] inetadm and svcadm > To: &qu

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Matt Wilby
Sorry I wasn't very clear. What's the output of 'ps -ef | grep '? On 14/01/2011 18:56, Matt Wilby wrote: > What's the output of 'ps -ef'? > > > On 14/01/2011 18:51, ann kok wrote: > >> Hello >> >> How I can know the service is under inetadm or svcadm? >> >> I can't find service in svcs -a >> >>

Re: [OpenIndiana-discuss] inetadm and svcadm

2011-01-14 Thread Matt Wilby
What's the output of 'ps -ef'? On 14/01/2011 18:51, ann kok wrote: > Hello > > How I can know the service is under inetadm or svcadm? > > I can't find service in svcs -a > > But I can see it in the ps -ef > > How do I know the service coming from? > > Thank you > > > >