On 10:47am, Suresh Kumar wrote:

No single ans to this Qs.

> 1) CPU Usage of this application

Try time command.

> 2) Memory Usage of this application

VSZ in ps or /proc/$PID/status

> 3) Any memory leakage (measure the free memory before start the
> application, measure the free memory after the application ends -
> both values should be equal)

> 4)CPU check --- (Measure the CPU utilization before start the app,
> measure the CPU usage after the application ends .....----- both
> values should be equal)

It is not the right way. Many processes are running in the system, so
time to time usage may very in small amount and the memory used by the
application may not recollected imdly at the end of execution.

If the application is running for very short time, it is hard to see
the effect of memory leakage. So you should try memory debuggers like
valgrind to analysis the code.

Bye :)
-- 
Bharathi S

_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to