Schedtop utility

From RTwiki
(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
 
You need to enable the scheduler statistics in your .config.  This utility will only work with v14 of the stats (current as of this writing)
 
You need to enable the scheduler statistics in your .config.  This utility will only work with v14 of the stats (current as of this writing)
  
=RPM Repository=
+
=RPM Repositorys=
 +
 
 +
A variety of platforms can be found available here:
  
 
[http://download.opensuse.org/repositories/home:/ghaskins http://download.opensuse.org/repositories/home:/ghaskins]
 
[http://download.opensuse.org/repositories/home:/ghaskins http://download.opensuse.org/repositories/home:/ghaskins]
 +
 +
Direct links to a subset of the available builds:
 +
 +
{| cellspacing="0" border="1"
 +
|OpenSUSE 11
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/openSUSE_11.0/x86_64 x86_64]
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/openSUSE_11.0/i586 i586]
 +
|-
 +
|SUSE Linux Enterprise 10
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/SLE_10/x86_64 x86_64]
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/SLE_10/i586 i586]
 +
|-
 +
|OpenSUSE 10.3
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/openSUSE_10.3/x86_64 x86_64]
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/openSUSE_10.3/i586 i586]
 +
|-
 +
|RHEL 5
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/RHEL_5/x86_64 x86_64]
 +
|[http://download.opensuse.org/repositories/home:/ghaskins/RHEL_5/i586 i586]
 +
|}
  
 
=Source Code=
 
=Source Code=

Revision as of 17:25, 21 October 2008

Contents

Concept

scheduler statistics visualization tool

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.

Usage

schedtop <options>

 -h [ --help    ]         produces help message
 -p [ --period  ] arg     refresh period (default=1s)
 -i [ --include ] arg     reg-ex inclusive filter (default=".*")
 -x [ --exclude ] arg     reg-ex exclusive filter (default="^$")
 -s [ --sort    ] arg     sort-by: n=name, v=value, d=delta (default='d')


Kernel Configuration

You need to enable the scheduler statistics in your .config. This utility will only work with v14 of the stats (current as of this writing)

RPM Repositorys

A variety of platforms can be found available here:

http://download.opensuse.org/repositories/home:/ghaskins

Direct links to a subset of the available builds:

OpenSUSE 11 x86_64 i586
SUSE Linux Enterprise 10 x86_64 i586
OpenSUSE 10.3 x86_64 i586
RHEL 5 x86_64 i586

Source Code

GIT Tree:

   git clone git://git.kernel.org/pub/scm/linux/kernel/git/ghaskins/schedtop.git

Tarball:

   ftp://ftp.novell.com/dev/ghaskins/schedtop.tar.gz

or

Browse the Source

Personal tools