Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uptime question #16

Closed
bober2000 opened this issue Jun 8, 2015 · 1 comment
Closed

Uptime question #16

bober2000 opened this issue Jun 8, 2015 · 1 comment
Labels

Comments

@bober2000
Copy link

When I access html version of status page I get current nginx uptime. Readme says it's counted as nowMsec - loadMsec but when I try to count it from json - numbers differs.
How to get correct uptime from json?

@vozlt
Copy link
Owner

vozlt commented Jun 9, 2015

It's millisecond.
I'm sorry I didn't explain to you.

Uptime calculation(second) as follows:
(nowMsec - loadMsec)/1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants