Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-01-15 20:02:20

  urbinek - Dzban Naczelny

urbinek
Dzban Naczelny
Skąd: Sosnowiec
Zarejestrowany: 2009-10-01
Serwis

Systemd i bootchartd w jednym stały domku...

osobno działają ale razem nie bardzo

Kod:

root@urbinek:~# cat /etc/default/grub 
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/lib/systemd/systemd"
GRUB_CMDLINE_LINUX="init=/sbin/bootchartd"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1680x1050
GRUB_GFXPAYLOAD=1680x1050

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"

Kod:

root@urbinek:~# dpkg -l | grep systemd
ii  libpam-systemd:i386                  44-7                               i386         system and service manager - PAM module
ii  libsystemd-daemon0:i386              44-7                               i386         systemd utility library
ii  libsystemd-id128-0:i386              44-7                               i386         systemd 128 bit ID utility library
ii  libsystemd-journal0:i386             44-7                               i386         systemd journal utility library
ii  libsystemd-login0:i386               44-7                               i386         systemd login utility library
ii  systemd                              44-7                               i386         system and service manager
ii  systemd-gui                          44-7                               i386         system and service manager - GUI

Kod:

root@urbinek:~# dpkg -l | grep bootchart
rc  bootchart                            0.10~svn407-3.3                    all          Boot process performance analyser
ii  bootchart-view                       0.10~svn407-3.3                    all          Boot process performance analyser (visualisation)
ii  bootchart2                           0.14.4-3                           i386         boot process performance analyser
ii  pybootchartgui                       0.14.4-3                           all          viewer for boot process performance analysis results

dodatkowo sam bootchart też do końca generować wyników nie chce

Kod:

root@urbinek:~# which bootchart
/usr/bin/bootchart
root@urbinek:~# which bootchartd
/sbin/bootchartd
root@urbinek:~# bootchart
Parsing /var/log/bootchart.tgz
2013-01-15 19:58:48 org.bootchart.Main render
WARNING: Unknown log file: cmdline2.log
2013-01-15 19:58:48 org.bootchart.Main render
WARNING: Unknown log file: paternity.log
2013-01-15 19:58:49 org.bootchart.Main render
WARNING: Unknown log file: proc_meminfo.log
2013-01-15 19:58:49 org.bootchart.Main render
WARNING: Unknown log file: taskstats.log
2013-01-15 19:58:49 org.bootchart.Main render
WARNING: No process samples
Exception in thread "main" java.lang.NullPointerException
        at org.bootchart.renderer.ImageRenderer.render(Unknown Source)
        at org.bootchart.renderer.PNGRenderer.render(Unknown Source)
        at org.bootchart.Main.render(Unknown Source)
        at org.bootchart.Main.main(Unknown Source)

a o co mi chodzi, ogółem chcę zobaczyć ile sekund włącza mi się system z init.d i systemd
tyle, ze nie frugo a ja nie jestem do końca pewnie czy dobrze zedytowałem ustawienia gruba


A w wolnym czasie, robię noże :)
http://nginx.urbinek.eu/_photos/signature.png

Offline

 

#2  2013-01-15 20:08:12

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Systemd i bootchartd w jednym stały domku...

Offline

 

#3  2013-01-15 20:27:00

  urbinek - Dzban Naczelny

urbinek
Dzban Naczelny
Skąd: Sosnowiec
Zarejestrowany: 2009-10-01
Serwis

Re: Systemd i bootchartd w jednym stały domku...

podziękował
można zamknąć a tak poza tematem

Kod:

urbinek@urbinek:~$ systemd-analyze time
Startup finished in 2373ms (kernel) + 5950ms (userspace) = 8324ms

Kod:

urbinek@urbinek:~$ systemd-analyze blame
  1421ms avahi-daemon.service
  1188ms rsyslog.service
  1120ms acpi-fakekey.service
  1101ms systemd-logind.service
   983ms keyboard-setup.service
   939ms celeryevcam.service
   935ms acpi-support.service
   935ms console-kit-log-system-start.service
   931ms motd.service
   931ms stunnel4.service
   931ms memcached.service
   900ms apache2.service
   895ms celeryd.service
   895ms hddtemp.service
   895ms celerybeat.service
   891ms vboxdrv.service
   868ms atd.service
   867ms acct.service
   836ms exim4.service
   792ms cups.service
   735ms rc.local.service
   728ms ssh.service
   671ms anacron.service
   668ms cron.service
   652ms mnt-win7\x2ddane.mount
   615ms saned.service
   615ms systemd-user-sessions.service
   604ms network-manager.service
   492ms udev.service
   459ms systemd-modules-load.service
   451ms nfs-common.service
   428ms sys-kernel-debug.mount
   400ms sys-kernel-security.mount
   364ms dev-mqueue.mount
   359ms udev-trigger.service
   359ms console-setup.service
   355ms systemd-sysctl.service
   348ms mnt-multimedia.mount                                                                                         
   328ms dev-hugepages.mount                                                                                          
   300ms run-lock.mount                                                                                               
   283ms bootlogs.service                                                                                             
   260ms run-user.mount                                                                                               
   255ms systemd-remount-api-vfs.service                                                                              
   239ms networking.service                                                                                           
   212ms mnt-win7\x2dsystem.mount                                                                                     
   155ms systemd-tmpfiles-setup.service                                                                               
   147ms pppd-dns.service                                                                                             
   143ms vboxautostart-service.service                                                                                
   143ms kbd.service                                                                                                  
   143ms openvpn.service                                                                                              
   143ms vboxweb-service.service                                                                                      
   140ms rpcbind.service                                                                                              
   139ms vboxballoonctrl-service.service                                                                              
    99ms hdparm.service                                                                                               
    66ms mnt-muzyka.mount                                                                                             
    58ms kdm.service                                                                                                  
    47ms remount-rootfs.service                                                                                       
    40ms home.mount                                                                                                   
    36ms polkitd.service
    21ms console-kit-daemon.service
    14ms upower.service
     7ms udisks.service

A w wolnym czasie, robię noże :)
http://nginx.urbinek.eu/_photos/signature.png

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)