uptimer
v0.1.2
Published
Get nodejs app and system uptime
Downloads
12
Readme
uptimer
Simle module to get uptime of app and system.
Internally uses process.uptime() for app uptime and /proc/uptime for system uptime.
Usage:
var uptimer = require('uptimer')
var systemUptime = uptimer.getSystemUptime();
var appUptime = uptimer.getAppUptime();
This is a sync package, so I don't think it can be useful in production (internally fs.readFileSync).
I did it for my own needs: laptop.marinintim.com
License: MIT
Test hoho alert('lol')