-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2008-01-10 at 09:03 -0500, Kain, Becki (B.) wrote:

later".  I'm looking for the equivalent of prstat, or something that
will break down the threads that are part of a process to see why a
process is pegging a cpu.  Strace -p <pid> attatches my process, gives
me a "read" and then just sits there.

There is an option for strace to log the children activities, on the same or on a different file. But I don't know if it will work by giving the pid, or you need to start the parent from strace.

Also, the command "top" can show the threads of a process:

           Task_Area_defaults
              'b' - Bold hilite      On  (not 'reverse')
            * 'c' - Command line     Off (name, not cmdline)
            * 'H' - Threads          Off (show all threads)

But I don't know what combination will output only a parent and its children.

- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHhjkytTMYHG2NR9URAqSVAKCLDotJlf9Yi8pz1XyJqpoORo/D7QCeNn7x
+Tpa++q4/YAm4vBvX1YDNzA=
=UDIJ
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to