Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754288AbYFCDVw (ORCPT ); Mon, 2 Jun 2008 23:21:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751624AbYFCDVn (ORCPT ); Mon, 2 Jun 2008 23:21:43 -0400 Received: from sinclair.provo.novell.com ([137.65.248.137]:2605 "EHLO sinclair.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbYFCDVm convert rfc822-to-8bit (ORCPT ); Mon, 2 Jun 2008 23:21:42 -0400 Message-Id: <48448081.BA47.005A.0@novell.com> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Mon, 02 Jun 2008 21:21:37 -0600 From: "Gregory Haskins" To: "Ankita Garg" , Cc: "Ingo Molnar" , , "Peter Zijlstra" , , , , , "David Bahi" Subject: [ANNOUNCE] sched: schedtop utility v0.3 References: <483545B4.BA47.005A.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2065 Lines: 51 >>> On Thu, May 22, 2008 at 10:06 AM, in message <483545B4.BA47.005A.0@novell.com>, Gregory Haskins wrote: > 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: > > ftp://ftp.novell.com/dev/ghaskins/schedtop.tar.gz > > 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: > > http://download.opensuse.org/repositories/home:/ghaskins/ > > (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! > > Regards > -Greg Hi All, I have posted an update to schedtop (v0.3) which adds /proc//schedstats and /proc//sched stats to the mix. Also note that there is a comprehensive filtering mechanism built into all versions of schedtop: "-i " sets the *include* pattern, and "-x sets the *exclude* pattern. By default, -i is set to allow everything, and -x is set to exclude nothing. A common config for me is to use "-x sched_info" since those sched_info stats seem to always be moving rapidly and can cloud stats that are more interesting (to me, anyway). Let me know if you have any questions. Comments/feedback are welcome -Greg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/