Re: using shark to sample root owned processes
Re: using shark to sample root owned processes
- Subject: Re: using shark to sample root owned processes
- From: alex <email@hidden>
- Date: Mon, 23 Jul 2007 10:24:55 -0700
Have you tried to just use 'su' and sample from that shell instance rather than kick off using sudo?
a
At 1:21 PM -0400 7/23/07, Cem Karan wrote:
>On Jul 23, 2007, at 9:11 AM, Alexander von Below wrote:
>
>>Someone said about a similar problem, that while it is generally not advised to run OS X as root, we are developers and can bend that rule a bit.
>>
>>As I have no idea what to do differently in your case, I would say that running OS X as root is your best option (But of course, only do this while you are debugging)
>>
>>Alex
>>
>>Am 23.07.2007 um 15:03 schrieb Cem Karan:
>>
>>>I am trying to sample a root owned process (ocspd) so I have something to send in with my bug reports other than 'its really slow and hogs the CPU'. I'm trying to do that via the following command:
>>>
>>>sudo shark -a 418 -i -1
>
>I thought about doing that, but since ocspd is an Apple daemon, I don't want to change my whole setup just to debug it. I'd rather be able to kick off a terminal whenever it goes berserk, and try to get some other work done while the sampling is going on.
>
>Thanks,
>Cem Karan
>_______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Xcode-users mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden