How to collect statistics on CPU usage, memory processes for a period of time, in a file (Linux / Windows)?

Closed due to the fact that the issue is too common for participants aleksandr barakin , Streletz , zRrr , Kromster , user194374 Jun 27 '16 at 5:45 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    I recommend asking two different questions about different operating systems, the solutions will have little in common. - Nick Volynkin

1 answer 1

For Linux, there are monitoring tools - Zabbix, Nagios, and so on. They have modules for collecting and archiving statistics.