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

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



   pmrep    ( 1 )

репортер показателей производительности (performance metrics reporter)

  Name  |  Synopsis  |  Description  |  Options  |    Examples    |  Files  |  Pcp environment  |  See also  |

Примеры (Examples)

The following examples use the standard PCP facilities for
       collecting the metric values, no external utilities are needed.
       The referenced colon-starting metricsets are part of the default
       pmrep configuration.

Display network interface metrics on the local host: $ pmrep network.interface.total.bytes

Display all outgoing network metrics for the wlan0 interface: $ pmrep -i wlan0 -v network.interface.out

Display the slab total usage (in MB) of two specific slab instances: $ pmrep mem.slabinfo.slabs.total_size,,'kmalloc-4k|xfs_inode',MB

Display timestamped vmstat(8) like information using megabytes instead of kilobytes and also include the number of inodes used (tab completes available metrics and after a colon metricsets with bash and zsh): $ pmrep -p -B MB :vmstat vfs.inodes.count

Display per-device disk reads and writes from the host server1 using two seconds interval and sadf(1) like CSV output format: $ pmrep -h server1 -t 2s -o csv -k disk.dev.read disk.dev.write

Display processes using at least 100MB of memory using dynamic headers, additionally use -g to display instance (process) names in full: $ pmrep -b MB --limit-filter 100 --dynamic-header proc.memory.rss

Display the predefined set of metrics from the default pmrep.conf(5) containing details about I/O requests by current pmlogger process(es): $ pmrep -gp -i pmlogger :proc-io

Display the three most CPU-using processes: $ pmrep -1gUJ 3 proc.hog.cpu

Display sar -w and sar -W like information at the same time from the PCP archive ./20150921.09.13 showing values recorded between 3 - 5 PM: $ pmrep -a ./20150921.09.13 -S @15:00 -T @17:00 :sar-w :sar-W

Record most relevant CPU, memory, and I/O related information about every Java process on the system, present and future, to an archive ./a on one minute interval at every full minute in a background process: $ pmrep --daemonize -A 1m -t 1m -i '.*java.*' -j -o archive -F ./a \ :proc-info :proc-cpu :proc-mem :proc-io

Record all 389 Directory Server, XFS file system, and CPU/memory/disk metrics every five seconds for five minutes to a PCP archive ./a: $ pmrep -t 5s -T 5m -o archive -F ./a ds389 xfs kernel.all.cpu mem disk

Record process memory and I/O information for those processes which are the three most memory-consuming processes: $ pmrep -o archive -F ./a -J 3 -N proc.memory.rss proc.memory proc.io