Harry,

the uptime confusion goes even further, there is also RuntimeMXBean.uptime
which shows the VM uptime. But for Unix people there is only one uptime ;-)

I also thought of adding Windows support, you can get system boot time with
WMI, but this requires System.execing Powershell which is imho far too
expensive for a wiki plugin.

I wanted to add the link to ContributedPlugins, but my login no longer
works and getting the password via mail doesn't either. Wasn't user login
suspended following the spam attacks?

Cheers,
Juergen

Am 09.08.2016 11:51 schrieb "Harry Metske" <[email protected]>:

> Nice,
>
> the name might become a bit confusing though, since there is also a jspwiki
> variable called uptime, that displays the uptime of the wiki itself. See
> for example https://jspwiki-wiki.apache.org/Wiki.jsp?page=SystemInfo.
> It could be added to the list of contributed plugins at
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=ContributedPlugins .
>
> thanks,
> Harry
>
>
> On 9 August 2016 at 11:22, Jürgen Weber <[email protected]> wrote:
>
> > Hi All,
> >
> > I have written a tiny Plugin that displays uptime and load on Linux.
> >
> > Give it a try:
> >
> > https://github.com/weberjn/uptimePlugin
> >
> > Cheers,
> > Juergen
> >
>

Reply via email to