This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to look what an executable does...


That is exactly was I was searching for. Thanks a lot!!!

lg Clemens



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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]