Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pcp-atopsar    ( 1 )

расширенный отчет о деятельности системы (связанный с pcp-atop) (Advanced System Activity Report (pcp-atop related))

Примеры (Examples)

To see today's cpu-activity so far (supposed that atop is logging
       in the background):

pcp-atopsar

To see the memory occupation for June 5, 2018 between 10:00 and 12:30 (supposed that pmlogger has been logging daily in the background on host acme.com):

pcp-atopsar -m -r $PCP_LOG_DIR/pmlogger/acme.com/20180605 -b 10:00 -e 12:30

or

pcp-atopsar -m -r 20180605 -b 10:00 -e 12:30

or, suppose it is June 8, 2018 at this moment

pcp-atopsar -m -r yyy -b 10:00 -e 12:30

Write a logfile with atop to record the system behaviour for 30 minutes (30 samples of one minute) and produce all available reports afterwards:

pcp-atop -w /tmp/atoplog 60 30

pcp-atopsar -A -r /tmp/atoplog

To watch TCP activity evolve for ten minutes (10 samples with sixty seconds interval):

pcp-atopsar -t 60 10

To watch the header-lines ('_' as last character) of all reports with only the detail-lines showing critical resource consumption (marker '*' or '+' as last character):

pcp-atopsar -AM | grep '[_*+]$'