Michael C. Toren on Wed, 9 Feb 2000 11:09:32 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Tracing system call in linux


> i have got a 3rdparty binary,(for which I do not
> have the code)which is dying on
> me without telling me whats wrong.
> 
> so i want to see what system call its making
> before it dies.
> 
> there used to be "truss" in SVR4 and "strace" in
> AIX. Does any body know of similiar utility in
> Linux.

There is indeed a Linux strace(1) command, however your distribution
probably did not install it by default.  If you're using Debian, try
installing the "strace" package.

Running strings(1) on the binary may also be useful, but your mileage may
vary.

-mct