LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2009, 03:01 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Measuring boot time


I am using a simple plain Debian Lenny base system (No X). I would like to measure how many seconds my system takes to boot - time between hitting enter key on GRUB screen to login console on tty1.

One obvious way is to measure it manually by looking at your wrist watch or an external timer but I would to measure it more accurately - something that is built inside the Operating System.

Thanks

Last edited by kushalkoolwal; 03-19-2009 at 03:03 PM.
 
Old 03-19-2009, 03:03 PM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Bootchart.
 
Old 03-19-2009, 03:03 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://www.debian-administration.org/articles/620
 
Old 03-19-2009, 03:09 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Maligree View Post
Yeah I looked at it. It is very feature-rich and you can do a lot of things with bootchart. However I need something very very simple which can tell me "xx" seconds were required to boot. Also with bootchart I am assuming that it might be introducing some overheads of its own.

What about the printk times?
Code:
<snip>
[    7.433922] sr0: scsi3-mmc drive: 32x/32x writer dvd-ram cd/rw xa/form2 cdda tray
[    7.433925] Uniform CD-ROM driver Revision: 3.20
[    7.433998] sr 0:0:0:0: Attached scsi CD-ROM sr0
[    7.434184] sr 0:0:0:0: Attached scsi generic sg0 type 5
[    7.564620] loop: module loaded
[   10.585483] floppy0: no floppy controllers found
[   12.313928] e100: eth1: e100_watchdog: link up, 100Mbps, half-duplex
[   12.345929] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
debian:~#
 
Old 03-19-2009, 03:11 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by pljvaldez View Post
Thanks for the article link.

I didn't read the entire article but doesn't that talks more about how to "improve" the boot time. I am just looking to measure the boot time.

EDIT: It seems that article does mention bootchart somewhere.

Last edited by kushalkoolwal; 03-19-2009 at 03:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Measuring Time Complexity on C++ vxc69 Programming 1 02-18-2008 01:05 PM
measuring context switch time between two threads sekhar Programming 1 06-01-2007 07:16 AM
Measuring TCP Stack execution time anirvana Linux - Networking 0 03-15-2007 08:01 PM
measuring time in linux (in C) Four Programming 4 12-30-2005 09:21 PM
measuring time Hano Programming 2 04-21-2002 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration