All of lore.kernel.org
 help / color / mirror / Atom feed
From: pravinshedage2008@gmail.com (Pravin Shedage)
To: kernelnewbies@lists.kernelnewbies.org
Subject: can we measure the traffic between user and kernel mode
Date: Thu, 27 Jan 2011 17:26:29 +0530	[thread overview]
Message-ID: <AANLkTimjdMa0nMup0psXxSFjcOuDXqWuEA-ajjOr3s1A@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikZnE39b34UowE9OPW=dqfHr_d8oFtY2kb+mbgP@mail.gmail.com>

Hi,

You can use *top* command to know traffic of processes in your cpu.

another if you want to debug that running application then you can also try
gdb

# gdb --pid <pid_of_application>


Thanks & Regards,
-------PraviN-------


On Thu, Jan 27, 2011 at 11:50 AM, Mulyadi Santosa <mulyadi.santosa@gmail.com
> wrote:

> On Thu, Jan 27, 2011 at 12:56, loody <miloody@gmail.com> wrote:
> > 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.
>
> well then, strace/ltrace is probably the right tool to do the job :)
> or just use /proc/<pid>/stack :)
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 


Thanks & Regards,
---------PraviN---------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110127/a8ce56e6/attachment.html 

  reply	other threads:[~2011-01-27 11:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27  3:42 can we measure the traffic between user and kernel mode loody
2011-01-27  4:41 ` Alexandre Courbot
2011-01-27  5:02 ` Mulyadi Santosa
2011-01-27  5:56   ` loody
2011-01-27  6:20     ` Mulyadi Santosa
2011-01-27 11:56       ` Pravin Shedage [this message]
2011-01-27 13:48       ` loody
2011-01-27 17:45         ` Mulyadi Santosa
2011-01-30  7:50           ` loody
2011-01-28  1:07         ` Alexandre Courbot
2011-01-30  8:07           ` loody
2011-01-31  1:38             ` Alexandre Courbot
2011-01-31  1:40               ` Alexandre Courbot
2011-01-27  5:56 ` Michael Blizek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimjdMa0nMup0psXxSFjcOuDXqWuEA-ajjOr3s1A@mail.gmail.com \
    --to=pravinshedage2008@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.