Operating System - HP-UX
1753543 Members
5596 Online
108795 Solutions
New Discussion юеВ

Re: Need PERL script to know running multiprocess with multi threading

 
kiran1977
Occasional Contributor

Need PERL script to know running multiprocess with multi threading

there is application which creates 4 threads and assigns to 4 different processes.

i need to know which processes is taking which thread.

Great Thanks
2 REPLIES 2
Alex Lavrov.
Honored Contributor

Re: Need PERL script to know running multiprocess with multi threading

I think that if you'll start it with "tusc -f " than you'll see how the children spwan and what happens.

If you don't have tusc, you can get it here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.7/

If it's your app, you can alwys print some info about this in the logs.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: Need PERL script to know running multiprocess with multi threading

Oops, by the time I got to the answer, I forgot that it's a PERL program ...

Well, the tusc will work anyway, but with the PERL there must be another easier way to know and I'm not that familiar with PERL. My apologies.
I don't give a damn for a man that can only spell a word one way. (M. Twain)