aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-04-20 09:51:49 +0200
committerRichard Carlsson <[email protected]>2015-05-12 10:36:54 +0200
commit6e24ffab6c682383a1c284fc066e59c680c4c62e (patch)
treeb79c26d137d9eb297be928820c76013cf7a8c1fd /lib/stdlib/doc/src
parentce96ab6d64768cd6536011ccdecc08191c238220 (diff)
downloadotp-6e24ffab6c682383a1c284fc066e59c680c4c62e.tar.gz
otp-6e24ffab6c682383a1c284fc066e59c680c4c62e.tar.bz2
otp-6e24ffab6c682383a1c284fc066e59c680c4c62e.zip
Add uptime() shell command
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/c.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/c.xml b/lib/stdlib/doc/src/c.xml
index b49fa6ad67..b43d4786ae 100644
--- a/lib/stdlib/doc/src/c.xml
+++ b/lib/stdlib/doc/src/c.xml
@@ -232,6 +232,14 @@ compile:file(<anno>File</anno>, <anno>Options</anno> ++ [report_errors, report_w
</desc>
</func>
<func>
+ <name name="uptime" arity="0"/>
+ <fsummary>Print node uptime</fsummary>
+ <desc>
+ <p>Prints the node uptime (as given by
+ <c>erlang:statistics(wall_clock)</c>), in human-readable form.</p>
+ </desc>
+ </func>
+ <func>
<name>xm(ModSpec) -> void()</name>
<fsummary>Cross reference check a module</fsummary>
<type>