2
votes
1answer
151 views

How to calculate the average of cpu usage and memory usage over a period of time in ubuntu

I have to generate reports for the following : 1- cpu usage. 2- memory usage. The generated reports must be looks like the following forms : I've tried with more than one command to get ...
7
votes
3answers
669 views

How do I throttle a command in a terminal window?

I needed to run convert with a lot of images at the same time. The command took quite a while but this doesn't bother me. The issue is that this command rendered my computer unusable while the ...
3
votes
2answers
4k views

What is process “/usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none”?

I am experiencing some serious performance issues with my Ubuntu 12.04 setup and thus looking for the culprit by running htop alongside my usual tasks. Aside from the usual suspects like chromium, ...
0
votes
2answers
70 views

Why does my application crash without updating the log file (used '> my.log')

I am running mCruiseOn Server, which is a java based server side application (sockets, multiple threads, memcached, mysql) on a Micro EC2. It has been crashing often. I suspect memory usage may have ...
7
votes
2answers
3k views

How to log memory and cpu usage of an application?

Similar to question How to log CPU load?, I would like to log memory of a process. The process I want to log, is killed on a remote server, and I want to find out the CPU load and the memory usage ...