upstart: how to capture events emitted during bootup

Asked by Moblin_cracked

using upstart for my device and I want to monitor the bootup process by listening to all the events emitted by the different processes during the boot up process along with time stamp information.

Any ideas how do i get this working?

PS:i will log this in /tmp or or send it to another pc)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu upstart Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does dmesg not give what you need?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

You can try to use bootchart. Install it and reboot your system. Bootchart will automatically create a .png image that contains lot of informations. See if this, is what you need.

    sudo apt-get install bootchart
    sudo reboot

The .png file will be created inside /var/log/bootchart/

https://wiki.ubuntu.com/BootCharting

Regards
 NikTh

Revision history for this message
Moblin_cracked (shilpa-jabin) said :
#3

Thanks, NikTH and Actionparsnip, but my requirement is that I want to capture the events emitted by the upstart jobs. i am not sure if with bootchar and dmesg i will be able to capture those events?
I have written test.conf to record all jobs events but it isnt working fine.

Can you help with this problem?

Provide an answer of your own, or ask Moblin_cracked for more information if necessary.

To post a message you must log in.