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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-08-2009, 04:26 PM
|
#1
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Rep:
|
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,,
|
|
|
05-08-2009, 04:30 PM
|
#2
|
Member
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148
Rep:
|
strace is called strace on linux.
In FC10 it is its own package, "strace-4.5.18"
|
|
|
05-09-2009, 01:14 AM
|
#3
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
Ok,,
But what is equivalent command for truss in Linux ?
Regards,,
|
|
|
05-09-2009, 06:16 AM
|
#4
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
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.
|
05-11-2009, 10:46 AM
|
#5
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
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,,
|
|
|
05-11-2009, 01:16 PM
|
#6
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Where is dbstart? Try specifying the full path to it.
Code:
strace -fto dbstart.out /blah/blah/dbstart
|
|
|
05-12-2009, 02:05 PM
|
#7
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
It run now by the following :
starce -fto dbstart.out sh dbstart /path of dbstart
Thanks and regards,,
|
|
|
All times are GMT -5. The time now is 11:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|