[CentOS] Resource utilisation of processes on linux server.

Sun Apr 14 16:08:37 UTC 2019
J Martin Rushton <martinrushton56 at btinternet.com>

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 at 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.

J Martin Rushton MBCS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20190414/76539c3a/attachment-0006.sig>