Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.544.155 Times

Bootchart 0.9

  Date Added: March 11, 2010  |  Visits: 2.262

Bootchart

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



Bootchart is a software for performance analysis and visualization of the GNU/Linux boot process. Resource utilization and process information are collected during the boot process and can later be displayed in a PNG, SVG or EPS-encoded chart. The boot process is modified to start the boot logger (/sbin/bootchartd) instead of /sbin/init. The boot logger will run in background and collect information from the proc file system (/proc/[PID]/stat, /proc/stat and /proc/diskstats). The statistics are logged to a virtual memory file system (tmpfs). Once the boot process completes (denoted by the existence of specific processes), the log files are packaged to /var/log/bootchart.tgz. The log package can later be processed using a Java application which builds the process tree and renders a performance chart. The chart may then be analyzed to examine process dependency and overall resource utilization. A renderer web form is also available on the project web site. The chart can then be analyzed to examine process dependency and overall resource utilization. Runing: 1. Install bootchartd and the bootchart renderer. See INSTALL for details. 2. Modify your boot loader (GRUB/LILO) if necessary. Alternatively, change the kernel command line interactively upon reboot. Reboot. 3. Verify that /var/log/bootchart.tgz was created and contains the log files. 4. Render the chart by running: $ java -jar bootchart.jar Alternatively (if no Java Development Kit is installed to build the JAR package), the web renderer may be used. To use the web renderer from a script, run: curl --form format=svg --form log=@/var/log/bootchart.tgz http://bootchart.klika.si:8080/bootchart/render > bootchart.svgz (optionally replacing the svg/bootchart.svgz pair with png/bootchart.png or eps/bootchart.eps.gz) 5. View the generated image and analyze the chart. SVG images may be viewed using any of the following programs: - rsvg-view (librsvg; GNOME) - svgdisplay (ksvg; KDE) - Gimp (using the gimp-svg plugin) - Inkscape - Squiggle (Batik; http://xml.apache.org/batik/) To get help for additional options, run: $ java -jar bootchart -h How it works: Logger Startup The boot logger (/sbin/bootchartd) is run by the kernel instead of /sbin/init. This can be achieved by modifying the GRUB or LILO kernel command line, e.g.: /boot/grub/menu.lst [...] title Fedora Core (2.6.10) - bootchart root (hd0,1) kernel /vmlinuz-2.6.10 ro root=/dev/hda1 init=/sbin/bootchartd initrd /initrd-2.6.10.img The installation script and RPM package will try to add the boot loader entry automatically. The boot logger will start itself in the background and immediately run the default init process, /sbin/init. The boot process will then continue as usual. Data Collection Since the root partition is mounted read-only during boot, the logger needs to store data in memory, using a virtual memory file system (tmpfs). As soon as the /proc file system is mounted — usually early in the sysinit script — the logger will start collecting output from various files: /proc/stat system-wide CPU statistics: user, system, IO and idle times /proc/diskstats system-wide disk statistics: disk utilization and throughput (only available in 2.6 kernels) /proc/[PID]/stat information about the running processes: start time, parent PID, process state, CPU usage, etc. The contents of these files are periodically appended to corresponding log files, every 0.2 seconds by default. The logger will try to detect the end of the boot process by looking for specific processes. For example, when in runlevel 5 (multi-user graphical mode), it will look for gdmgreeter, kdm_greet, etc. As soon as one of these processes is found running, the logger will stop collecting data, package the log files and store them to /var/log/bootchart.tgz. Optional Process Accounting In most cases, the output from /proc/[PID]/stat files suffices to recreate the process tree. It is possible however, that a short-lived process will not get picked up by the logger. If that process also forks new processes, the logger will lack dependency information for these "orphaned" processes — meaning that they might get incorrectly grouped by the chart renderer. When truly accurate dependency information is required, process accounting may be utilized. If configured, the kernel will keep a log file with detailed information about processes. BSD process accounting v3 includes information about the process PID and parent PID (PPID) — effectively enabling an accurate reconstruction of the process tree. To enable process accounting, the kernel needs to be configured to include CONFIG_BSD_PROCESS_ACCT_V3, under: [ ] General setup [ ] BSD Process Accounting [ ] BSD Process Accounting version 3 file format The GNU accounting utilities (package psacct or acct) also need to be installed. The boot logger will use the accton command to enable process accounting; it will include the accounting log in the tarball. Visualization The log tarball is later passed to the Java application for parsing and rendering the data. The CPU and disk statistics are used to render stacked area and line charts. The process information is used to create a Gantt chart showing process dependency, states and CPU usage. A typical boot sequence consists of several hundred processes. Since it is difficult to visualize such amount of data in a comprehensible way, tree pruning is utilized. Idle background processes and short-lived processes are removed. Similar processes running in parallel are also merged together. Finally, the performance and dependency charts are renderer as a single image in either PNG, SVG or EPS format.. Bootchart is a tool for performance analysis and visualization of theGNU/Linux boot process.

Requirements: No special requirements
Platforms: Linux
Keyword: Boot Boot Logger Boot Process Bootchart Bsd Cpu File System Gnu Log Files Logger Pid Process Process Accounting Processes Svg
Users rating: 0/10

License: Freeware Size: 296.96 KB
USER REVIEWS
More Reviews or Write Review


BOOTCHART RELATED
Utilities  -  VFSX 0.1
VFSX is a transparent Samba Virtual File System module which forwards operations to a process on the same machine for handing outside of the Samba daemon. The external handler can be implemented in any language with support for Unix domain sockets.
92.16 KB  
Networking Tools  -  PXE daemon 1.4.2
The PXE daemon allows network managers to boot PXE-enabled machines over the network. Basically it envolves BOOTP, TFTP (so far so good) and a PXE daemon. This is where all the trouble starts. There is only one implementation arround, and if...
56.32 KB  
Utilities  -  Bootpart 2.60
BootPart is an easy tool for adding one partition in the Windows NT multi boot menu (by samples, OS/2 boot manager or Linux partition). Bootpart 2.60 is compatible with Windows NT, Windows 2000 and Windows XP.BOOTPART lets you add partitions in...
20.48 KB  
Boot Managers  -  Super Grub Disk 0.9598
Super Grub Disk is a bootable floppy or CDROM that is oriented towards system rescue, specifically for repairing the booting process. Super Grub Disk is simply a Grub Disk with a lot of useful menus. It can activate partitions, boot...
399.36 KB  
Audio Tools  -  CDfs 2.6.12
CDfs is a file system for Linux systems that `exports all tracks and boot images on a CD as normal files. These files can then be mounted (e.g. for ISO and boot images), copied, played (audio and VideoCD tracks)... The primary goal for...
30.72 KB  
Utilities  -  SFS-KNOPPIX 3.6-20041115
SFS-KNOPPIX is a kind of KNOPPIX which boots form Internet with a cloop on SFS (Self-certifying File System). SFS-KNOPPIX requires small boot loader (20MB image) and offers full KNOPPIX functions, Autoconfig, etc. SFS-KNOPPIX makes possible to...
21.4 MB  
MP3 Tools  -  Automatic Wallpaper Change Software 1.0
Automatic Desktop Background Change Software - is the application for wallpaper automatic change! Auto wallpaper changer can start automatically at system boot, as a hidden application or an application in system tray (left bottom corner of the...
324 KB  
Utilities  -  QuickBoot 1.0.3
QuickBoot is a small application to make it quick & easy to boot another drive/partition like Windows and have the system boot back to your default system afterwards.
665.6 KB  
Utilities  -  Sarah's Task Manager New
Sarah's Task Manager is a handy, easy to use application specially designed to offer users a Task Manager with processes, services, computer info, process count, and CPU Usage. for WindowsAll
 
Utilities  -  Security Process Explorer 1.5
Security Process Explorer is an enhanced task manager, that provides advanced information about programs and processes running on the computer. It displays all the standard information, including file name, directory path, description, CPU usage...
1.09 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, UTILITIES
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Utilities  -  LPAR2RRD 4.95-4
LPAR2RRD collects performance data and generates actual, historical and future trends utilization graphs of your virtual environment. It is agentless (it receives everything from the management stations like vCenter or HMC). The product supports...
2.25 MB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB