How to look what an executable does...
Tony Knaus
awk@spinnakernet.com
Sat Apr 12 17:31:00 GMT 2003
I use both 'strace' and 'lsof' to get an insight into what
system resources my gcj programs are using.
strace will let you watch the system calls that your program is making
displaying the names of the calls and the arguments passed in.
If you use the strace '-p <pid>' option you can get strace to display
the system calls an already running program is making. This is real
handy if the program
you want to monitor is a demon.
'lsof' will display names of files and network sockets that a program
currently has open.
-Tony
On Saturday, April 12, 2003, at 10:55 AM, Clemens Eisserer wrote:
> Hi there!
>> Some time ago sombody told me who to watch program-library-calls and
> all the other stuff that the program does with the system.
> I dont mean a debugger, it was a programm started with "program
> -option binary.bin".
>> I'm sorry for asking such stupid questions, but its really important
> for me...
>> Thx Linuxhippy
More information about the Java
mailing list