P, Karthikeyan A wrote:
Hi All,

I am using Moblin 2 Beta image in Netbook platform. My requirement is to study 
the boot time performance of moblin on Netbook platform.
I have a binary which will calculate the boot time with the following 
requirements
1) I need to run that binary at the start up
2) I need to be a super user to run that binary

In windows I was able to calculate the boot time approximately by placing the 
binary in the startup folder.

In Linux I tried by placing that binary in the /etc/rc.local script. But the 
problem here was the binary was executed before the OS is completely loaded.
So I am not able to get the correct boot time in Linux. There is always 
difference between boot time calculated with the stop clock timer and by that 
binary.

Now I have following questions

 *   How to run a script automatically in Linux similar to windows startup? Or 
How to calculate boot time in Linux?
 *   How to login automatically as a root user in Moblin?

Appreciate your help on this.


we have a tool called "bootchart" which gives you a much more detailed view of 
boot time;
what you do is add "init=/sbin/bootchartd" on the kernel commandline in 
grub.... and then you boot.
The PNG file with the graph will then be placed in the /var/log directory, and 
will show what is done
during the various phases of the boot.
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to