Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to get the time from power on system to showing user login view in Linux, how to do? Can it work only with shell?

share|improve this question

migrated from May 16 '11 at 19:34

This question came from our site for professional and enthusiast programmers.

Take a look at bootchart: Several Windows/Linux power on to desktop speed trails mention this as a neat way of finding out what your linux system is doing. Also see /proc/stat:

perl -ne 'print scalar localtime $1 if /^btime (\d+)/' /proc/stat
share|improve this answer
BootChart looks good,Thank you. – Genx May 17 '11 at 13:42
  • Get a stopwatch.
  • Start it when you press the power on button.
  • Stop it when you see the login screen.
  • Make a note of the time.

Seriously though, why not put a question like this into Google? There's loads of relevant links, like this one:

Boot Chart seems to be popular too:

share|improve this answer
Thank you for your link and the google advice. – Genx May 17 '11 at 13:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.