EVENTSTAT(8) | System Manager's Manual | EVENTSTAT(8) |
eventstat - a tool to measure system events.
eventstat [options] [delay [count]]
eventstat is a program that dumps the current active system events that are added to the kernel timer list.
eventstat options are as follow:
Dump events every second until stopped.
Dump the top 20 events every 60 seconds until stopped.
Dump events every 10 seconds just 5 times.
Quietly dump events every 10 seconds just 5 times into a CSV file with short process name.
The -r option generates a comma separated file report that can be imported into spreadsheets or parsed using text processing tools. Column 1 of the data is the label for each row, columns 2 onwards contain the data for each task that generated a wakeup event.
The first row lists the task name of the thread or process. Task names in [ ] brackets are kernel threads, other tasks are the names of user space processes. By default these names are derived from the task names from kernel trace events but the -s -l options fetch more complete task names from /proc/pid/cmdline instead.
The second and third rows list the names of the internal Linux kernel timer init function.
The fourth row lists the total number of wakeup events for each task during the entire run of eventstat.
The subsequent rows list the average number of wakeups per second measured during the sample interval for each task in column two onwards. The first column indicates the sample time (in seconds) since the start of the measuring.
Version 4.0 of eventstat gathers event timer data from the kernel trace event timers and hence is not compatible with previous versions of eventstat. The move to using kernel trace events was necessary as the Linux 4.12 kernel dropped support for the /proc/timer_stats interface.
eventstat was written by Colin King <colin.king@canonical.com>
This manual page was written by Colin King <colin.i.king@gmail.com>, for the Ubuntu project (but may be used by others).
Copyright © 2011-2021 Canonical Ltd, Copyright ©
2021-2022 Colin Ian King.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
November 10, 2021 |