Operating System - HP-UX
1747997 Members
5036 Online
108756 Solutions
New Discussion

check if a vmtrace is running

 
P3pp3Rtm
New Member

check if a vmtrace is running

hi!

 

we had to start a vmtrace (was recommendet by support)

now i got to the point that i dont remember if a server was restartet (cant do that now) but wouild like to know if tracing is still active!

 

how can i find out if so?

 

thanks!

2 REPLIES 2
Ajin_1
Valued Contributor

Re: check if a vmtrace is running

 

 

ps -ef |grep vmtrace

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Laurent Menase
Honored Contributor

Re: check if a vmtrace is running

> ps -ef |grep vmtrace

 

 

no when vmtrace have been started, it is not there anymore.

Anyway, vmtrace should be used on support query only, be sure to be up to date with vm patch because there is a risk of panic. So you should ask that question  to your support contact who asked for vmtrace.

 

2 way to check:

1) rerun vmtrace, if it is already running it won't succeed in starting it

2) echo vmtrace_mode/X | adb -o /stand/vmunix /dev/kmem

echo vmtrace_enabled/X | adb -o /stand/vmunix /dev/kmem

if  the 2 are  0 means it is not started and have not been configured

else it is started, and only reboot can permit to change vmtrace configuration.