add uptime cmd, add bells to sh/data
[spider.git] / cmd / uptime.pl
diff --git a/cmd/uptime.pl b/cmd/uptime.pl
new file mode 100644 (file)
index 0000000..484cb4c
--- /dev/null
@@ -0,0 +1,6 @@
+#
+# do a tradiotional "uptime" clone
+#
+my $self = shift;
+
+return (1, sprintf("%s $main::mycall uptime: %s", ztime(), difft($main::starttime, ' ')));