On 14/04/2019 16:51, Pete Biggs wrote:
Thanks for the email. I will be interested in command line interface tool/utility. Is there a way to find out the previous occurrence of resource utilization? For example, there was a high load on the Linux server which occurred three days back during the time of 3:00 AM to 4:00 AM meaning historical data.
You need to look at system accounting. The command 'sa' reports on accounting information and the command 'accton' turns on per process accounting. It's not usually turned on by default (on busy systems the accounting files can get large) and it's not retrospective. (So if it's not turned on, any per-process logs are lost once the process terminates.)
P.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
sa logs aren't usually too big, but the process logs can get pretty large. sa logs are usually processed overnight to sar reports which are a good starting point (see /var/log/sa). If you are running an audit trail that may give you additional information, as would monitoring tools such as Ganglia.