Re: can we measure the traffic between user and kernel mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
On Thu, Jan 27, 2011 at 12:56, loody <miloody@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



--


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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux