In windows there is perfmon to monitor various performances aspects (called counters) of the system.
Is there a perfmon-like for Linux?
especially, in interested in…
- CPU usage (total/per process/in kernel)
- Memory usage (total/per process/in kernel)
…Is it possible to store this information in files for future analysis?
The program ‘top’ does most of this. It does not handle network traffic though.
Edit:
If you need to log this information for post processing/analysis you can use the standard package ‘sar’ to do this. It supports MANY different performance numbers including: disk, cpu, memory, network, etc.
sar manpage