Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have developed a software with perl language based on the Spread Toolkit wich is a network messages manager through the network(messages software through the network), now I have to stress my application and benchmark it, so being able to see the CPU and memory compsumption, etc...

Could you recommend me any benchmark tool for linux? I have no idea about which software I could use, I can stress my app but dunno howto to see the system performance.

share|improve this question

2 Answers 2

That depends on what exactly are you looking for. For trivial system load monitoring there is top and a more nifty htop.

Then there a dozens of specialized monitors for network, I/O, battery consumption...

If you are actually looking for performance holes in the software, you would need a profiler. For network software, the only free usable profile is oProfile (some commercial profilers support time-based profiling as well).

Here is a little bit about perl profiling (but I'm pretty sure that this doesn't capture idle-time) http://www.perl.com/pub/2004/06/25/profiling.html

share|improve this answer
    
I mainly need to stress an application which called spread toolkit to send messages through the network, any why I basically tail log files and send messages. –  arrrrgv Aug 29 '11 at 1:16

Maybe try apache jmeter.

I have no practical experience with this tool, but in official description of Jmeter:

Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.

Perhaps it isn't good solution but you could setup a CGI web service, and test your application with Jmeter like a web service stress test!?

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  Anthon Aug 3 '13 at 18:48
    
@Anthon It may not be a very complete answer, but it's an answer nonetheless (albeit phrased as a question). –  Chris Down Aug 3 '13 at 18:54
    
Please don't just leave a link: explain what the tool you linked to does. –  Joseph R. Aug 3 '13 at 19:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.