forked from dstat-real/dstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,089 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dag Wieers <dag@wieers.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.