Re: CPU Usage in running process on HP-UX 11.31
- From: Andrew Kerber <andrew.kerber@xxxxxxxxx>
- To: tanel@xxxxxxxxxx
- Date: Tue, 8 Sep 2009 10:11:45 -0500
Can you tell what the CPU is doing? Is your library cache hit rate low, for
example? This might indicate a lot of time spent parsing...
On Tue, Sep 8, 2009 at 9:56 AM, Tanel Poder <tanel@xxxxxxxxxx> wrote:
> tusc -c should be able to do what strace -c does on linux.
>
> However these tools do something different what pstack and stack profilers
> do. Tusc and strace only show you *system call* information, but your
> problem may not be in system calls but just excessive CPU usage in user
> mode. A stack profiler will show you which codepath takes the most of time
> in an executable.
>
> Tanel.
>
>
> On Tue, Sep 8, 2009 at 8:29 PM, Stefan Knecht <knecht.stefan@xxxxxxxxx>wrote:
>
>> Hi Tanel
>>
>> Good point! I was hoping there was a tool that would do that for me ...
>> Similar to what strace -c does on linux :-)
>>
>> I'll take a look at that
>>
>> Cheers
>>
>>
>>
>>
> --
> Tanel Poder
> http://blog.tanelpoder.com
>
>
--
Andrew W. Kerber
'If at first you dont succeed, dont take up skydiving.'
Other related posts: