mrtg/uptime.pl@31dfae41ec78
mrtg/uptime.pl
Tue, 07 Apr 2009 19:53:11 +0200
- author
- Michael Schloh von Bennewitz <michael@schloh.com>
- date
- Tue, 07 Apr 2009 19:53:11 +0200
- changeset 149
- 31dfae41ec78
- parent 136
-
ca197d884ebd
- child 160
-
1a36468e720c
- permissions
- -rw-r--r--
Port to Solaris by specifying an autoconf path to the grep(1) command.
3 ## uptime.pl: provide formatted uptime(1) information
8 $hostname = `hostname`;
10 $uptime =~ /up (.*?) day/;