summaryrefslogtreecommitdiff
path: root/lib/Loadbars/Shared.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Loadbars/Shared.pm')
-rw-r--r--lib/Loadbars/Shared.pm67
1 files changed, 0 insertions, 67 deletions
diff --git a/lib/Loadbars/Shared.pm b/lib/Loadbars/Shared.pm
deleted file mode 100644
index 1cf6e80..0000000
--- a/lib/Loadbars/Shared.pm
+++ /dev/null
@@ -1,67 +0,0 @@
-package Loadbars::Shared;
-
-use Exporter;
-
-use base 'Exporter';
-
-our @EXPORT = qw(
- %PIDS
- %CPUSTATS
- %NETSTATS_LASTUPDATE
- %AVGSTATS
- %AVGSTATS_HAS
- %MEMSTATS
- %MEMSTATS_HAS
- %NETSTATS
- %NETSTATS_HAS
- %NETSTATS_INT
- %C
- %I
-);
-
-our %PIDS : shared;
-
-our %CPUSTATS : shared;
-our %AVGSTATS : shared;
-our %AVGSTATS_HAS : shared;
-
-our %MEMSTATS : shared;
-our %MEMSTATS_HAS : shared;
-
-our %NETSTATS : shared;
-our %NETSTATS_HAS : shared;
-our %NETSTATS_INT : shared;
-
-# Global configuration hash
-our %C : shared;
-
-# Global configuration hash for internal settings (not configurable)
-our %I : shared;
-
-# Setting defaults
-%C = (
- title => undef,
- barwidth => 20,
- cpuaverage => 10,
- extended => 0,
- hasagent => 0,
- height => 150,
- maxwidth => 1900,
- netaverage => 15,
- netint => '',
- netlink => 'gbit',
- showcores => 0,
- showmem => 0,
- shownet => 0,
- sshopts => '',
-);
-
-%I = (
- cpustring => 'cpu',
- bytes_mbit => 125000,
- bytes_10mbit => 1250000,
- bytes_100mbit => 12500000,
- bytes_gbit => 125000000,
- bytes_10gbit => 1250000000,
-);
-