I am just curious to know the time taken by my system to boot.
In Arch Linux there is something like
What is the alternative in Ubuntu?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Without installing any software, you can use
uptime , a native linux command, which serves to show how long computer has been running. The
uptime command executed right after you boot the system will give you a general idea. However, it will take you extra seconds to enter password and login. Better approach would be to set calling
uptime > /opt/BOOT.txt as part of lightdm startup script. It will be executed once the login screen shows up.
To do that , open or create
/etc/lightdm/lightdm.conf file with root permissions.
It should contain the following lines:
[SeatDefaults] greeter-setup-script=uptime > /opt/BOOT.txt
After your next reboot there will be file
/opt/BOOT.txt which will tell you how long system has been up.
Alternatively you could read
/proc/uptime where the first entry is uptime in seconds
You're looking for
sudo apt-get install bootchart
It drops an image as well as the compressed log in your
/var/log showing processes and so on.
PROTIP: You may have to run
sudo update-initramfs -u -k all to get it to run at the earliest opportunity.