can we measure the traffic between user and kernel mode

loody miloody at gmail.com
Thu Jan 27 00:56:56 EST 2011


hi all:
thanks for your kind reply :-)

2011/1/27 Mulyadi Santosa <mulyadi.santosa at gmail.com>:
> On Thu, Jan 27, 2011 at 10:42, loody <miloody at gmail.com> wrote:
>> Dear all:
>> Is there any directory under proc/sys or tools that can help us to
>> measure the traffic between user and kernel mode?
>> (such as ioctl, open, close, etc.)
>
> By "traffic", you mean context switch latency? Perhaps you mean a tool
> like lmbench?
I got a user-mode application without symbol and source, and it keeps
console no response about 2 mins.
I just want to know whether it is busy on processing itself or do the
context switch frequently for calling kernel drivers at that time.
thanks a lot,
miloody


>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>



-- 
Regards,



More information about the Kernelnewbies mailing list