summaryrefslogtreecommitdiff
path: root/src/contrib/diskmon/showdisk.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/diskmon/showdisk.pl')
-rw-r--r--src/contrib/diskmon/showdisk.pl14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/contrib/diskmon/showdisk.pl b/src/contrib/diskmon/showdisk.pl
deleted file mode 100644
index e8f95bf..0000000
--- a/src/contrib/diskmon/showdisk.pl
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/perl
-# Displays disk info to the hosts that connect to it.
-#
-# No command line options, just put it in /etc/inetd.conf as shown in
-# the README file.
-#
-# By Steven Micallef <smic@wire.net.au> on the 24/4/1999.
-
-foreach $_ (`df -k | grep -v "Filesystem"`)
-{
- ($device, $size, $used, $free, $percent, $mount) = split(/\s+/);
- chop($percent);
- print "$percent\n";
-}