Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-27-2004, 01:30 AM   #1
Registered: Nov 2003
Posts: 49

Rep: Reputation: 15
tracing commands in linux

Suppose I run a shell command, can I find out what kernel functions that command accesses? Should I use KDB or something like that?
Old 07-27-2004, 01:40 AM   #2
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 58
"strace <program name>" without the quotes.

e.g. strace myprog arg1 arg2
Old 07-27-2004, 01:58 AM   #3
Registered: Nov 2003
Posts: 49

Original Poster
Rep: Reputation: 15
wow! this is really great, thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracing traffic origins zoubidoo Linux - Networking 3 05-06-2005 09:28 AM
Ethernet Traffic tracing kinct Linux - Newbie 4 01-08-2004 04:27 AM
tracing ips endezeichen Linux - Networking 6 11-27-2003 08:38 AM
Tracing and debugging ravichella Programming 4 10-30-2003 04:33 PM
User action tracing atlantislim Linux - Security 6 08-26-2002 09:57 PM

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration