schedtop − scheduler statistics visualization tool |
schedtop −h | −p period −i regex −x regex −s [n|v|d] |
This program is a free (GPL) utility to process various scheduler related statistics (e.g. /proc/schedstat) such that the "busiest" stats (greatest delta) will bubble up to the top similar to the ubiquitous "top" utility. It can alternately be sorted by the stat’s value, or by name. Stats can be inclusively or exclusively filtered based on reg-ex pattern matching. |
−p, −-period : refresh period (default=1s) |
−i, −-include : reg-ex inclusive filter (default=".*") |
−x, −-exclude : reg-ex exclusive filter (default="^$") |
−s, −-sort : sort-by: n=name, v=value, d=delta (default=’d’) |
−h : produces help message |
To filter out any stats with "sched_info" or "imbalance" in the name, use the exclude filter with an OR operator: schedtop -x ’sched_info|imbalance’ To include only stats from cpu3, and sort by value: schedtop -i cpu3 -s v |
schedtop is developed by Gregory Haskins
<ghaskins@novell.com> |