GithubHelp home page GithubHelp logo

wrong uptime displayed about panda-motd HOT 6 CLOSED

jeannot49 avatar jeannot49 commented on September 24, 2024
wrong uptime displayed

from panda-motd.

Comments (6)

taylorthurlow avatar taylorthurlow commented on September 24, 2024

Okay this one might be harder to figure out. I use sysinfo to grab system uptime. On unix-based systems, the gem should be executing the command who -b to determine the time the system booted. What's your output when you run who -b?

from panda-motd.

jeannot49 avatar jeannot49 commented on September 24, 2024

Hello,
I have that when I run who -b :

démarrage système 2008-01-01 01:00

It's in french it means "system startup".

from panda-motd.

taylorthurlow avatar taylorthurlow commented on September 24, 2024

Well that's your problem. Not sure why it's saying you last booted in 2008, though. What is the result of the command date?

from panda-motd.

jeannot49 avatar jeannot49 commented on September 24, 2024

date displays the right date :
Wednesday 20th February 2019, 20:27:31 (UTC+0100)

Edit : I've just restarted my server, and the uptime has returned to zero, maybe it was an issue on my side but I don't know how.

from panda-motd.

taylorthurlow avatar taylorthurlow commented on September 24, 2024

Gotcha. I'll close this for now, it seems like this is really an issue with however who -b gets it's information. Keep an eye on it and let me know if the issue comes back.

from panda-motd.

jeannot49 avatar jeannot49 commented on September 24, 2024

Got it, thanks!

from panda-motd.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.