Yes, it need run under root privilege. Thanks. :) ________________________________ From: Zhang, Austin Sent: 2009年7月24日 12:09 To: Li, Cathy; Johnson, Ryan A; dev@moblin.org Subject: RE: [Moblin Dev] bootchart (was "how to calculate boottime in moblin?")
Have a checking on that directory to make sure you have 'write' permission on it:) ________________________________ From: Li, Cathy Sent: 2009年7月24日 11:50 To: Zhang, Austin; Johnson, Ryan A; dev@moblin.org Subject: RE: [Moblin Dev] bootchart (was "how to calculate boottime in moblin?") I tried “#bootchart -o test.png /var/log”, but get errors ”IOError: error while writing to output stream”, while “#bootchart /var/log” works fine. Thanks --Cathy -----Original Message----- From: Zhang, Austin Sent: 2009年7月24日 11:32 To: Li, Cathy; Johnson, Ryan A; dev@moblin.org Subject: RE: [Moblin Dev] bootchart (was "how to calculate boottime in moblin?") Now, don't need trouble like that. In the recently moblin image, you can achieve that by: bootchart -o test.png /var/log --> to get the png file in Moblin directly Or you can: bootchart /var/log --> to see the picture launched in Moblin directly -----Original Message----- From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of Li, Cathy Sent: 2009年7月24日 10:25 To: Johnson, Ryan A; dev@moblin.org Subject: Re: [Moblin Dev] bootchart (was "how to calculate boottime in moblin?") I’m not sure why the PNG file wasn’t generated in /var/log/ in your netbook. But one workaround is to copy bootchart.tgz to your working PC (Linux system such as installed FC10), yum install bootchart on your working PC, then use command “#bootchart bootchart.tgz” to generate the PNG file. Thanks --Cathy -----Original Message----- From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of Johnson, Ryan A Sent: 2009年7月24日 4:23 To: dev@moblin.org Subject: [Moblin Dev] bootchart (was "how to calculate boottime in moblin?") > 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. I've installed bootchart from the moblin repo, and after booting up, it creates /var/log/bootchart.tgz. However I am not seeing the PNG file as mentioned above. It appears that the moblin build of bootchart doesn't depend on java for creating the graphical output, and instead installs /usr/bin/bootgraph.py, which I see can create SVG files from dmesg output. However I am not seeing how to use it for the bootchart.tgz output. What am I missing? Thanks! -Ryan _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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