[svn] r4921 - in trunk/tools/dstat: . docs
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Tue Nov 21 20:38:06 CET 2006
Author: dag
Date: 2006-11-21 20:38:06 +0100 (Tue, 21 Nov 2006)
New Revision: 4921
Modified:
trunk/tools/dstat/TODO
trunk/tools/dstat/docs/dstat.1.txt
trunk/tools/dstat/docs/performance.txt
trunk/tools/dstat/dstat
Log:
Leftover changes from the past.
Modified: trunk/tools/dstat/TODO
===================================================================
--- trunk/tools/dstat/TODO 2006-11-21 19:35:49 UTC (rev 4920)
+++ trunk/tools/dstat/TODO 2006-11-21 19:38:06 UTC (rev 4921)
@@ -15,6 +15,7 @@
+ Allow to force to given magnitude (--unit=kilo)
+ Look at possibilities to show deviation (on second line ?)
+ Check for dark/light background color and change colors accordingly (see dstat.conf)
++ Show parts of counters in other colors (eg. color the 6 in 6134B in yellow to indicate it's kilobyte)
### Export/Graph
+ Interface with rrdtool (python-rrd ?)
@@ -40,6 +41,7 @@
(explaining the different values in /proc, especially the concerning ones)
+ Create document on general system performance tools
(explaining the different uses of tools like dstat, iostat, pmap, strace, tcpdump)
++ Comply to PEP8: http://www.python.org/dev/peps/pep-0008/
### General issues
+ Timer is not as accurate on 2.6 kernel as on 2.4, possibly scheduling differences
Modified: trunk/tools/dstat/docs/dstat.1.txt
===================================================================
--- trunk/tools/dstat/docs/dstat.1.txt 2006-11-21 19:35:49 UTC (rev 4920)
+++ trunk/tools/dstat/docs/dstat.1.txt 2006-11-21 19:38:06 UTC (rev 4921)
@@ -1,7 +1,7 @@
dstat(1)
========
Dag Wieers <dag at wieers.com>
-v0.6.3, Juni 2006
+v0.6.3svn, Juni 2006
NAME
@@ -111,13 +111,13 @@
enable unix stats
-M stat1,stat2::
- enable internal and external stats
+ enable internal stats and external plugin stats
Possible internal stats are::
cpu, cpu24, disk, disk24, disk24old, int, int24, ipc, load, lock, mem,
net, page, page24, proc, raw, swap, swapold, sys, tcp, time, udp, unix
-Possible external stats can be listed using::
+Possible external plugin stats can be listed using::
dstat -M list
-a, --all::
@@ -179,7 +179,12 @@
dstat -taf --debug
.....
+Using the external clock and app plugins together with normal system resources:::
+....
+dstat -M clock,app -cndylp
+....
+
BUGS
----
Since it's practically impossible to test dstat on every possible
@@ -194,7 +199,7 @@
FILES
-----
-Paths that may contain external dstat_* modules:
+Paths that may contain external dstat_* plugins:
~/.dstat/
./
Modified: trunk/tools/dstat/docs/performance.txt
===================================================================
--- trunk/tools/dstat/docs/performance.txt 2006-11-21 19:35:49 UTC (rev 4920)
+++ trunk/tools/dstat/docs/performance.txt 2006-11-21 19:38:06 UTC (rev 4921)
@@ -35,7 +35,11 @@
do take up cycles because the information is still being collected and
possibly written to CSV output.
+It should be possible to write plugins in C to improve the impact on
+the system, but I have no experience with writing python modules in C.
+Any feedback on this is welcomed.
+
Performance tuning
------------------
The following documents may be useful to tune a system for performance
Modified: trunk/tools/dstat/dstat
===================================================================
--- trunk/tools/dstat/dstat 2006-11-21 19:35:49 UTC (rev 4920)
+++ trunk/tools/dstat/dstat 2006-11-21 19:38:06 UTC (rev 4921)
@@ -1652,9 +1652,9 @@
signal.alarm(interval)
def exit(ret):
- sys.stdout.write(ansi['reset'])
if 'signal' in sys.modules.keys():
signal.signal(signal.SIGALRM, signal.SIG_DFL)
+ sys.stdout.write(ansi['reset'])
sys.exit(ret)
def listmodules():
More information about the svn-commits
mailing list