I need some means of recording the performance of an application on a Linux machine. I won\'t have an IDE.
Ideally, I need an app that will attach to a process and l
You can use valgrind. It records data in a file which you can analyse later using a proper gui like KCacheGrind
A usage example would be :
valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes your_program
It'll generate a file called callgrind.out.xxx where xxx is the pid of the program
edit: unlike gprof valgrind works with many different languages including java with some limitations.