Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,1 +1,4 @@ 1 -{{include document="XWiki.XWikiUserSheet"/}} 1 +import java.lang.management.ManagementFactory; 2 +public String uptime() { 3 + return ManagementFactory.getRuntimeMXBean().getUptime(); 4 +}