summaryrefslogtreecommitdiff
path: root/src/contrib/diskmon/showdisk.pl
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
commit8f68d02045982da8f00a559835b500caf3a1967d (patch)
treec8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /src/contrib/diskmon/showdisk.pl
parentbb5ff95073e5001be7dbf58ffce80d7926deff0b (diff)
downloadmrtg-master.tar.gz
mrtg-master.zip
Release tarball mrtg-2.17.7.tar.gz (dist-generated files / local differences from tag)HEADmaster
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";
-}