Thread: Tracing in Unix

  1. #1
    Join Date
    Aug 2004

    Tracing in Unix

    Hi everyone...

    Did u guys have any idea on how to trace a specific application in term of number of mouse clicks....keystrokes pressed...?

    Any C/C++ library that might help?

    Url link or sample code will be lot more helpful.....

    Thank you....

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    strace is the command line tool to trace a program
    ptrace is the programming interface to do pretty much the same
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Join Date
    Aug 2004
    Hi Salem,

    Thanks for the reply....
    I've a look at the ptrace and strace....
    i also try to find some example that actually do the ptrace...
    But as far as i know...ptrace only able to trace something like how many system call being is the frequency..etc

    But i don't think it can trace how many keystrokes have been pressed or how many mouse clicks so far......

    Any idea?

    Thank you.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 10:22 PM
  3. UNIX (Linux, BSD, etc) Programming :: UNIX
    By kuphryn in forum Linux Programming
    Replies: 6
    Last Post: 04-01-2004, 08:44 PM
  4. Unix Sockets
    By prvindia in forum Linux Programming
    Replies: 5
    Last Post: 03-11-2003, 09:16 AM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM