User: Password:
Subscribe / Log in / New account

sched: schedtop utility

From:  "Gregory Haskins" <>
To:  <>
Subject:  [ANNOUNCE] sched: schedtop utility
Date:  Thu, 22 May 2008 08:06:44 -0600
Message-ID:  <>
Cc:  "Ingo Molnar" <>, <>, "Peter Zijlstra" <>, <>, <>, <>, <>, "David Bahi" <>

Hi all scheduler developers,
  I had an itch to scratch w.r.t. watching the stats in /proc/schedstats, and
it appears that the perl scripts referenced in
Documentation/scheduler/sched-stats.txt do not support v14 from HEAD so I
whipped up a little utility I call "schedtop".

This utility will process statistics from /proc/schedstat such that the
busiest stats will bubble up to the top.  It can alternately be sorted by the
largest stat, or by name.  Stats can be included or excluded based on reg-ex
pattern matching.

You can download the tarball here:

I have also posted it to the opensuse build service for generating RPMS for a
handful of 32/64-bit x86 distros for your convenience:

(Note that the build is still in progress for some of the favors, so if you
do not see the flavor you are looking for, check back in a little while)

Comments/feedback/bug-fixes welcome!


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds