smc 3.6.1 and process monitoring
Hello,
I would like to monitor the following process with SMC :
# ps -ef | grep -i ora
oracle 21851 0Jul 12 ?0:00 /appli/oracle/bin/tnslsnr LISTENER -inherit
In the process monitoring module, i add the following row :
Entry Name : tnslsnr
Name Pattern:
Argv Pattern:
User specification:
But the process count value still at 0...
Someone have an idea ?
Thanks
[432 byte] By [
raf1a] at [2007-11-27 11:12:29]

# 1
Try:
Entry Name :tnslsnr
Name Pattern: tnslsnr
Argv Pattern:
User specification:oracle
# 2
Hello Thanks for your answer.
In my first post i made a mistake the "Name pattern" is not blank but tnslsnr.
So to complete my first post, it seems that process monitor can't monitor all processes.
On my SMC client i made other tests :
# ps -ef | grep -i tns
oracle 21851 0Jul 12 ?0:00 /appli/oracle/bin/tnslsnr LISTENER -inherit
Entry Name : tnslsnr
Name Pattern:tnslsnr or tns or tns*
Argv Pattern:
User specification: oracle or blank
--> It doesn't work process count =0
# ps -ef | grep -i orca
root 53671 0Jul 20 ?1:47 /opt/RICHPse/bin/se.sparcv9 -DWATCH_OS /opt/Orca/lib/orcallator.se
Entry Name : Orca
Name Pattern:se.sparcv9 or orca or orcallator.se
Argv Pattern:
User specification: root or blank
--> It doesn't work process count =0
# ps -ef | grep -i tty
UIDPID PPID CSTIME TTYTIME CMD
root 22461 0Jul 12 console 0:00 /usr/lib/saf/ttymon -g -h -p musun00001 console login: -T sun -d /dev/console
root 2252 2245 0Jul 12 ?0:00 /usr/lib/saf/ttymon
Entry Name : ttymon
Name Pattern:ttymon
Argv Pattern:
User specification:
--> it's work process count =2
Someone as an idea why I can't monitor the listener and orcallator process but it's work for ttymon ?
raf1a at 2007-7-29 13:54:57 >

# 3
Hi raf1,
I just looked back at some that I've previously set up and I noticed that I used "LISTENER" for the name pattern.
So apologies for my previous post and I hope it works with this pattern.
# 4
Try leaving NamePattern empty and use ArgvPattern - Name is not always what you would expect, look into process details and be surprised. ArgvPattern scans the whole command line, in your example "/opt/RICHPse/bin/se.sparcv9 -DWATCH_OS /opt/Orca/lib/orcallator.se"
And we had problems with 64bit processes (listener?), there will be a patch for that soon (we are using a pre-patch correction)
hope it helps
Dagmar
# 5
Hello thanks all for your help,
I made another test :
On an SMC client with oracle 8.1.7 i can monitor the listener
On an SMC client with oracle 9.2 i can't monitor the listener.
I use the command pldd to see what libraries are used by the process :
orcale 8.1.7 listener --> /usr/lib
orcale 9.2 listener --> /usr/lib/sparcv9 ( 64bits libraries )
The process "/opt/RICHPse/bin/se.sparcv9 -DWATCH_OS /opt/Orca/lib/orcallator.se" also use /usr/ib/sparcv9 libraries.
Do you know when the patch for that will be available ?
raf1a at 2007-7-29 13:54:57 >

# 6
Hi Rafi,
We did see this problem in SunMC 3.6.1.
There were some problem in monitoring 64 bit process in general.
But the problem was solved and we are in the process of releasing
the patch. As soon as the patch is available will update you about this.
HTH,
Kishore.
# 7
Here are the details of the bug you are facing
http://sunsolve8.sun.com/search/document.do?assetkey=urn:cds:docid:1-1-6432813- 1
The patch with the fix for this bug will be available via
Solaris 7 - 123919-03
Solaris 8 - 123920-03
Solaris 9 - 123921-03
Solaris 10 - 123923-03
These patches are not available, will let you know once these are available.
Thanks,
Kishore