projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
cmd/uptime.pl
@@ -0,0
+1,6
@@
+#
+# do a tradiotional "uptime" clone
+#
+my $self = shift;
+
+return (1, sprintf("%s $main::mycall uptime: %s", ztime(), difft($main::starttime, ' ')));