[Ilugc] [Tip] Want to find out what functions a program calls?

  • From: jemenisuresh@xxxxxxxxx (Tha.Suresh)
  • Date: Tue Aug 3 11:00:36 2010

Want to find out what functions a program calls?

        $ strace <program>

Ex1:
Try this with "ls"
        $ strace  /bin/ls

Ex2:
Try this with "test.c"

        $ strace  ./test

-- 
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

Other related posts: