System Administration
Showing results for 
Search instead for 
Do you mean 

problem in running trace

Occasional Advisor

problem in running trace

HI all

when i run trace command , i receive following
message
"another application(e.g. glance,pcs) has already enabled KI tracing
you must exit it before running trace"

pl. suggest, so that i may run trace.
thanks
rajat
6 REPLIES
Trusted Contributor Trusted Contributor

Re: problem in running trace

uhm!!! may be it just me.But could you please elobarate more on what you try to do.

p/s:It nearly 4pm and time to go home.My body at work but my mind at home already.

still learning,
mB
There are three person in my team-Me ,myself and I.
Honored Contributor Honored Contributor

Re: problem in running trace

Hi, Rajat!

The message is usually correct... another appliation has already enabled KI (kernel instrumentation) tracing.

Check if a process /opt/perf/bin/midaemon is running. I yes, stop all instances of Glance/GPM and measureware (/sbin/init.d/mwa stop) and verify that midaemon terminated.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Regular Advisor Regular Advisor

Re: problem in running trace

the KI interface (kernel instrumentation) is special for hpux and traces every system call by every process.

This is used by measureware, glance and probably some other applications as well.

Anyway, the simple suggestion is to try to stop glance or measureware (/sbin/init.d/mwa stop)
Occasional Advisor

Re: problem in running trace

hi all
midaemon is not running on system and all instances of Glance is stopped
mwa not found on system.Still trace command is giving same error
pl. suggest
regards
rajat
Regular Advisor Regular Advisor

Re: problem in running trace

ps -ef output.
Occasional Visitor

Re: problem in running trace

I have the same problem as the OP. Attached is the ps -ef output.