LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2009, 04:26 PM   #1
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110
Blog Entries: 1

Rep: Reputation: 16
truss/strace commands in Linux . . .


Dears,,

I am using Oracle Red Hat Enterprise Linux . . .
What is the equivalent command to truss/strace in my platform ?

Thanks , Best regards,,
 
Old 05-08-2009, 04:30 PM   #2
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
strace is called strace on linux.

In FC10 it is its own package, "strace-4.5.18"
 
Old 05-09-2009, 01:14 AM   #3
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Ok,,
But what is equivalent command for truss in Linux ?

Regards,,
 
Old 05-09-2009, 06:16 AM   #4
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Dear,,

I got it now . . .
Solaris truss
Linux strace
SGI par, or strace available from SGI's Freeware Website
FreeBSD ktrace
BSDI ktrace
HP-UX tusc (not part of main distribution)
Tru64 (Digital) Unix trace (not part of main distribution)

Thanks
 
1 members found this post helpful.
Old 05-11-2009, 10:46 AM   #5
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Dear,,

I tried run the following command
starce -fto dbstart.out dbstart
BY root it gave me strace: dbstart: command not found
BY normal user it gave me strace: exec: Exec format error

What is the problem?

Regards,,
 
Old 05-11-2009, 01:16 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Where is dbstart? Try specifying the full path to it.

Code:
strace -fto dbstart.out /blah/blah/dbstart
 
Old 05-12-2009, 02:05 PM   #7
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
It run now by the following :
starce -fto dbstart.out sh dbstart /path of dbstart

Thanks and regards,,
 
  


Reply


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
LXer: strace - A very powerful troubleshooting tool for all GNU/Linux users LXer Syndicated Linux News 0 05-05-2006 11:21 PM
truss(1) equivalent in Linux ? ashishva Programming 1 06-13-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 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