Vladimir Marek wrote:
> Hi,
> 
>> Running prstat across an xterm start shows that process "Xorg/1" takes
>> up 100% of the CPU for the time. I guess this would be an interesting
>> subject to investigate using dtrace :-).
> 
> You may try to collect stack and try to guess where does Xorg spend it's
> time. Something like
> 
> dtrace -n 'profile-1001 /pid == $target/ { @num[ustack()] = count(); }' -p 
> `pgrep Xorg`
> 
> Run this prior to xterm execution, and break the dtrace process once
> xterm is running.

Much of the analysis has already been done - see:
http://defect.opensolaris.org/bz/show_bug.cgi?id=1459

-- 
        -Alan Coopersmith-           [EMAIL PROTECTED]
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to