Getting Bootchart to Work?

Discussions Regarding Software

Moderator: Moderators

Getting Bootchart to Work?

Postby Dark Star » Sat Jan 17, 2009 18:27

Hi
I installed Bootchart to compare Sabayon booting with that of other distro.. I installed bootchart from

Code: Select all
equo install bootchart


It did install it.. But now I can't find an icon nor I can see the dump in /var/log so that I get the speed time of Sabayon 4 r1 :)

Do help me :)

Regards
Dark Star
Simple Hen
 
Posts: 42
Joined: Sat Nov 03, 2007 17:26

Re: Getting Bootchart to Work?

Postby eshum » Sat Jan 17, 2009 20:12

Did you try typing bootchart in the menu search bar?

ed
eshum
Technological Hen
 
Posts: 312
Joined: Tue Feb 20, 2007 20:42
Location: Oregon

Re: Getting Bootchart to Work?

Postby Dark Star » Sun Jan 18, 2009 3:31

I am using Gnome ed. I tried the command in Terminal but nothing happened . Apat from that despite all printer packages installed I wasn't able to add my Linux friendly HDP AIO 1410 printer and use it :twisted:
Dark Star
Simple Hen
 
Posts: 42
Joined: Sat Nov 03, 2007 17:26

Re: Getting Bootchart to Work?

Postby DHalens » Sun Jan 18, 2009 4:36

The message after installing bootchart tells you to append something to your kernel comandline.
Looking for the files in the package shows there is only a binary: /sbin/bootchartd
Code: Select all
localhost dhalens # equo install bootchart --quiet
>>  @@ Calculating dependencies ...
>>  @@ Packages needing to be installed/updated/downgraded: 1
>>  @@ Packages needing to be removed: 0
>>  @@ Download size: 0b
>>  @@ Freed disk space: 0.0b
>>  @@ You need at least: 115.9kB of free space
>>  :: (1/1) >>> app-benchmarks/bootchart-0.9-r2
>>  ++ (1/1) >>> app-benchmarks/bootchart-0.9-r2
 * To generate the chart, append this to your kernel commandline
 *    init=/sbin/bootchartd
 * and reboot
 *
 * Post the file /var/log/bootchart.tgz here:
 *    http://www.bootchart.org/download.html
 * to render the chart
 *
 * For best results:
 *   Enable BSD process accounting v3 in the kernel
 *     This will produce more accurate process trees
 *   Set AUTO_RENDER_FORMAT to svg in /etc/bootchartd.conf
 *     and view /var/log/bootchart.svgz with batik or
 *     Adobe SVG viewer. This will give you additional
 *     information about the processes in tooltips
>>  @@ Installation completed.
localhost dhalens # equo query files bootchart
>>  @@ Files Search...
>>  ### /etc
>>  ### /etc/bootchartd.conf
>>  ### /lib
>>  ### /lib/bootchart
>>  ### /lib/bootchart/.keep_app-benchmarks_bootchart-0
>>  ### /sbin
>>  ### /sbin/bootchartd
>>  ### /usr
>>  ### /usr/share
>>  ### /usr/share/doc
>>  ### /usr/share/doc/bootchart-0.9-r2
>>  ### /usr/share/doc/bootchart-0.9-r2/COPYING.bz2
>>  ### /usr/share/doc/bootchart-0.9-r2/ChangeLog.bz2
>>  ### /usr/share/doc/bootchart-0.9-r2/README.bz2
>>  ### /usr/share/doc/bootchart-0.9-r2/README.logger.bz2
>>  ### /usr/share/doc/bootchart-0.9-r2/TODO.bz2
>>  Package:    app-benchmarks/bootchart-0.9-r2
>>  Found:      16 files
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: Getting Bootchart to Work?

Postby joost » Sun Jan 18, 2009 23:24

I think the one in entropy doesn't work correctly.

to make it work do this:

Code: Select all
emerge --sync


Inintial portage sync takes a while, only once
Code: Select all
USE="java acct" emerge app-benchmarks/bootchart


I will get this fixed in entropy soon..

Oooh if you want to have it render the graph automaticly:

in /etc/bootchartd.conf :
Code: Select all
AUTO_RENDER="yes"


thats why we compiled it with java support locally.
This also shows what you can do with sabayon.. :D
joost
Sagely Hen
 
Posts: 2547
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Getting Bootchart to Work?

Postby joost » Sun Jan 18, 2009 23:55

i might need to take back what i just wrote above.

Besides it being compiled without the proper flags needed in Entropy..
Even compiled with those i have my doubts it could work on a openrc system.

Now i've done some diggin' around to know some people reported it working if they disable the /tmp to be cleaned at boot:

/etc/conf.d/bootmisc
Code: Select all
wipe_tmp="NO"


Or add a variable to /etc/rc.conf:
Code: Select all
RC_USE_BOOTCHART="yes"
joost
Sagely Hen
 
Posts: 2547
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Getting Bootchart to Work?

Postby joost » Mon Jan 19, 2009 0:22

/edit

it doesn't work.

Only if i manually trigger
/sbin/bootchart start

time rc

/sbin/bootchart stop

then run

bootchart

it renders a chart that means nothing.

Well i think i can conclude it not working like expected with openrc.
joost
Sagely Hen
 
Posts: 2547
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest