I get the follwing exception when running bootchart from the command
line (irrespective of the output format selected with -f)
Parsing /var/log/bootchart.tgz
Exception in thread "main" java.lang.NumberFormatException: For input
string: "accton:"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at org.bootchart.parser.linux.ProcPsParser.parseLog(Unknown Source)
at org.bootchart.Main.render(Unknown Source)
at org.bootchart.Main.main(Unknown Source)
compiled from source with debugging turned on, I get
Parsing /var/log/bootchart.tgz
Exception in thread "main" java.lang.NumberFormatException: For input
string: "accton:"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at
org.bootchart.parser.linux.ProcPsParser.parseLog(ProcPsParser.java:148)
at org.bootchart.Main.render(Main.java:246)
at org.bootchart.Main.main(Main.java:156)
The bad line (and the line just before it) are
6524 (cat) R 1196 1 1 0 -1 4194304 214 0 0 0 0 0 0 0 20 0 1 0 6480
3928064 140 18446744073709551615 4194304 4212948 140733326180992
18446744073709551615 47818604464496 0 0 6 0 0 0 0 17 0 0 0 0 0 0
accton: no arguments
Indeed, the proc_ps.log file contains
proc_ps.log:accton: no arguments
proc_ps.log:Usage: accton [OPTION] on|off|ACCOUNTING_FILE
proc_ps.log:Try 'accton --help' for more information.
Aha, this has to do with bug #441927: accton complains if no args. The
accton man page is out of sync with the program.
Thus the solution is to change /sbin/bootchartd, replacing "accton" by
"accton off".
With kind regards,
Wouter Koolen-Wijkstra
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24v3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bootchart-view depends on:
ii gij [java2-runtime] 4:4.3-1 The GNU Java bytecode
interpreter
ii gij-4.1 [java-runtime] 4.1.2-16 The GNU Java bytecode
interpreter
ii gij-4.2 [java-runtime] 4.2.1-5 The GNU Java bytecode
interpreter
ii java-gcj-compat [java2-run 1.0.77-4 Java runtime environment
using GIJ
ii libcommons-cli-java 1.1-1 API for working with the
command l
ii libcommons-compress-java 0~svn604876-1 Java API for working with
tar, zip
ii sun-java6-jre [java2-runti 6-00-2 Sun Java(TM) Runtime
Environment (
Versions of packages bootchart-view recommends:
ii bootchart 0.10~svn407-1 Boot process performance
analyser
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org