Re: Resource utilisation of processes on linux server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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@xxxxxxxxxx
> 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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux