can we measure the traffic between user and kernel mode

loody miloody at
Thu Jan 27 00:56:56 EST 2011

hi all:
thanks for your kind reply :-)

2011/1/27 Mulyadi Santosa <mulyadi.santosa at>:
> On Thu, Jan 27, 2011 at 10:42, loody <miloody at> 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,

> --
> regards,
> Mulyadi Santosa
> Freelance Linux trainer and consultant
> blog:
> training:


More information about the Kernelnewbies mailing list