diff options
| author | Paul Buetow <paul@buetow.org> | 2012-06-26 23:27:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2012-06-26 23:27:49 +0200 |
| commit | 3cb86d60de05cfa94790f5b822ba25b742c090a1 (patch) | |
| tree | 5b6f3072f78a86ec1d49ceecdae62e6e80c2be00 /lib/Loadbars/Constants.pm | |
| parent | cfc4f47dff63d62d0c2255f7c1416205986b6242 (diff) | |
add gbit link speed for netstats. add --netint param to specify the network interface
Diffstat (limited to 'lib/Loadbars/Constants.pm')
| -rw-r--r-- | lib/Loadbars/Constants.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Loadbars/Constants.pm b/lib/Loadbars/Constants.pm index 5685c81..c9913ae 100644 --- a/lib/Loadbars/Constants.pm +++ b/lib/Loadbars/Constants.pm @@ -34,6 +34,8 @@ use constant { INTERVAL_MEM => 1.0, INTERVAL_SDL => 0.14, INTERVAL_SDL_WARN => 1.0, + BYTES_MBIT => 125000, + BYTES_GBIT => 125000000, SUCCESS => 0, E_UNKNOWN => 1, E_NOHOST => 2, |
