mrtg/uptime.pl@d06cf9bcdea5
mrtg/uptime.pl
Mon, 06 Apr 2009 20:31:06 +0200
- author
- Michael Schloh von Bennewitz <michael@schloh.com>
- date
- Mon, 06 Apr 2009 20:31:06 +0200
- changeset 145
- d06cf9bcdea5
- parent 136
-
ca197d884ebd
- child 160
-
1a36468e720c
- permissions
- -rw-r--r--
Correct nonportable use of bitwise data types, matching the db library.
3 ## uptime.pl: provide formatted uptime(1) information
8 $hostname = `hostname`;
10 $uptime =~ /up (.*?) day/;