Permalink
Browse files

Initial import

  • Loading branch information...
1 parent d62f6b6 commit 3f6cb6d07c15262a9163d2de5a498a09725b90e0 @dagwieers committed Oct 26, 2004
Showing with 1,089 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +340 −0 COPYING
  3. +22 −0 ChangeLog
  4. +10 −0 Makefile
  5. +23 −0 README
  6. +23 −0 TODO
  7. +566 −0 dstat
  8. +36 −0 dstat.conf
  9. +68 −0 dstat.spec
View
@@ -0,0 +1 @@
+Dag Wieers <dag@wieers.com>
View
340 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,22 @@
+* 0.4
+- Added interrupt stats
+- Order of the stats adhere the order of the options
+- Interval more precise, using signals instead of sleep
+- Modular rewrite using classes
+- Added -D, -I and -N options to customize list
+- Allow to specify 'total' for -D and -N to get aggregated numbers
+- Added --vmstat option, vmstat alike output
+- Implemented a basic interface and disk 'discovery' function
+- Replaced hardcoded 4096 by resource.getpagesize()
+- Initial public release
+
+* 0.3
+- Added load stats
+- Added memory stats
+- Output now fits into space and adds unit
+- Converted all values to bytes
+
+* 0.2
+- Added disk io
+- Added proc stats
+- Important layout changes
View
@@ -0,0 +1,10 @@
+prefix = /usr
+sysconfdir = /etc
+bindir = $(prefix)/bin
+mandir = $(datadir)/man
+
+all: install
+
+install:
+# -[ ! -f $(DESTDIR)$(sysconfdir)/dstat.conf ] && install -D -m0644 dstat.conf $(DESTDIR)$(sysconfdir)/dstat.conf
+ install -D -m0755 dstat $(DESTDIR)$(bindir)/dstat
View
23 README
@@ -0,0 +1,23 @@
+Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat
+overcomes some of the limitations and adds some extra features.
+
+Dstat allows you to view all of your system resources instantly,
+you can eg. compare disk usage in combination with interrupts from
+your IDE controller, or compare the network bandwidth numbers
+directly with the disk throughput (in the same interval).
+
+Dstat also cleverly gives you the most detailed information in
+columns and clearly indicates in what magnitude and unit the output
+is displayed. Less confusion, less mistakes.
+
+Dstat is also unique in letting you aggregate block device throughput
+for a certain diskset or network bandwidth for a group of interfaces,
+ie. you can see the throughput for all the block devices that make up
+a single filesystem or storage system.
+
+You can customize your dstat output from /etc/dstat.conf and you can
+write your own dstat modules to plug into the dstat output.
+
+Dstat's output, in its current form, is not very useful to be post-
+processed by other tools. It's mostly meant for allowing humans to
+interprete real-time data as easy as possible.
View
23 TODO
@@ -0,0 +1,23 @@
+### Usability
++ Use /etc/dstat.conf to influence output
++ Add --config option
++ Add -o/--output option
++ Make -I eth0,acpi or -I ide0,yenta work
++ Show header when out of display instead of 22 lines (see term ?)
++ Maybe add colors to indicate units better (may become ugly)
++ Allow to force to given magnitude
+
+### Extensions
++ Add all stats to seperate modules and allow people to plugin their own modules
+
+### Statistics
++ Add application stats ( -a or -A pid,cmd)
++ Add ip stats (icmp, tcp, udp)
++ Add ntp stats
++ Add user stats (number of users logged on)
++ Add --diff option to print intermediate results (ie. when delay = 5, you see 1sec updates in other color)
++ Look into interfacing with bind, sendmail, postfix, squid, amavisd,
++ Look into interfacing with laus
+
+### Bugs
++ Implement protection against counter rollovers
Oops, something went wrong.

0 comments on commit 3f6cb6d

Please sign in to comment.