diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
| commit | 8f68d02045982da8f00a559835b500caf3a1967d (patch) | |
| tree | c8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /src/contrib/diskmon/showdisk.pl | |
| parent | bb5ff95073e5001be7dbf58ffce80d7926deff0b (diff) | |
| download | mrtg-master.tar.gz mrtg-master.zip | |
Diffstat (limited to 'src/contrib/diskmon/showdisk.pl')
| -rw-r--r-- | src/contrib/diskmon/showdisk.pl | 14 |
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";
-}
|
