Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Unix newbie question - dbsnmp

Re: Unix newbie question - dbsnmp

From: Karsten Farrell <kfarrell_at_medimpact.com>
Date: Fri, 18 Oct 2002 15:39:43 GMT
Message-ID: <3XVr9.5891$1a6.369791178@newssvr21.news.prodigy.com>


Eric Kimble wrote:

> Ed Stevens wrote:
> 
> 

>>On 18 Oct 2002 01:26:59 -0700, tim.kearsley_at_milton-keynes.gov.uk (Tim Kearsley)
>>wrote:
>>
>>
>>>spamdump_at_nospam.noway.nohow (Ed Stevens) wrote in message news:<3daed583.12384017_at_ausnews.austin.ibm.com>...
>>>
>>>
>>>>Got the book "Oracle DBA Checklists" from O'Reilley. Looks like a handy little
>>>>reference of things the DBA should do daily, weekly, monthly, etc. and VERY
>>>>Unix-centric. One of the 'daily' tasks is to check that the DBSNMP process is
>>>>running. It states that there should be *two* dbsnmp processes running. My
>>>>question is 'why two?' On NT we only have one dbsnmp service. When I log on to
>>>>my newly acquired AIX box and do
>>>>
>>>> ps -ef | grep dbsnmp
>>>>
>>>>it seems to only list one process, though it's still all a bit cryptic to me.
>>>
>>>Ed,
>>>
>>>I think you should be seeing two processes associated with dbsnmp on
>>>your AIX box. We're running Oracle 8.1.7 on AIX 4.3.3 here and all
>>>boxes have two dbsnmp processes running. Dbsnmp are the processes
>>>associated with the Intelligent Agent and the Agent listens on ports
>>>1748 and 1754, hence the two processes.
>>>
>>>Regards,
>>>
>>>Tim Kearsley
>>>Database Manager
>>>Milton Keynes Council
>>
>>Ok, here's what I get. What does it all mean? How do I interpret the results.
>>(remember, at this point I barely know how to log on to a *nix system.)
>>
>>$ ps -ef | grep dbsnmp
>> nmcdba 47286 45616 0 06:11:13 pts/0 0:00 grep dbsnmp
>>--
>>Ed Stevens
>>(Opinions expressed do not necessarily represent those of my employer.)
> 
> 
> Ed
> if you use this syntax it will leave out the line that is doing the searching.
> ps -ef  | grep dbsnmp | grep -v grep (done from solaris8 not AIX)
> the last grep -v grep means leave out any lines found with grep in them. so for you, you should get back no lines
> at all. unless you have intel agent on then you will only get back the two lines for the actual dbsnmp processes.
> 
> Eric
> 

And if you do a 'ps -ef | head -1' you get the cryptic column headings, typical of unix. They probably won't line up with the columns (another 'acceptable' unix thing), but they'll be in the right order. You can do a 'man ps' to discover what the headings stand for. Received on Fri Oct 18 2002 - 10:39:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US