LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-27-2004, 12:30 AM   #1
ananthbv
Member
 
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, 12:40 AM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

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

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

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


Reply



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 08:28 AM
Ethernet Traffic tracing kinct Linux - Newbie 4 01-08-2004 03:27 AM
tracing ips endezeichen Linux - Networking 6 11-27-2003 07:38 AM
Tracing and debugging ravichella Programming 4 10-30-2003 03:33 PM
User action tracing atlantislim Linux - Security 6 08-26-2002 08:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:41 PM.

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