This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug reporting data gathering tool - output format


I'm working on a simple script for SW#4211 and feedback on how best to present the information collected would be much appreciated. I'm quite fond of how sosreport presents this information in html format (attached tar.bz2), currently I have a simple text output (also attached).

Thanks,
Elliott
stap -V
SystemTap translator/driver (version 0.7.1/0.135 git branch (no branch), commit 4576d5d3)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.

which stap
/usr/local/bin/stap

printenv
SSH_AGENT_PID=20614
HOSTNAME=toriamos.yyz.redhat.com
DESKTOP_STARTUP_ID=
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=e62a772641090d725d4b67bc48bd59ab-1223039695.422309-720163111
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/yyz/ebaron/.gtkrc-1.2-gnome2
WINDOWID=75514551
QTDIR=/usr/lib/qt-3.3
QTINC=/usr/lib/qt-3.3/include
GTK_MODULES=gnomebreakpad
USER=ebaron
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:do=00;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.svgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.dz=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.bz=00;31:*.tz=00;31:*.deb=00;31:*.rpm=00;31:*.jar=00;31:*.rar=00;31:*.ace=00;31:*.zoo=00;31:*.cpio=00;31:*.7z=00;31:*.rz=00;31:*.jpg=00;35:*.jpeg=00;35:*.gif=00;35:*.bmp=00;35:*.pbm=00;35:*.pgm=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.tiff=00;35:*.png=00;35:*.mng=00;35:*.pcx=00;35:*.mov=00;35:*.mpg=00;35:*.mpeg=00;35:*.m2v=00;35:*.mkv=00;35:*.ogm=00;35:*.mp4=00;35:*.m4v=00;35:*.mp4v=00;35:*.vob=00;35:*.qt=00;35:*.nuv=00;35:*.wmv=00;35:*.asf=00;35:*.rm=00;35:*.rmvb=00;35:*.flc=00;35:*.avi=00;35:*.fli=00;35:*.gl=00;35:*.dl=00;35:*.xcf=00;35:*.xwd=00;35:*.yuv=00;35:*.svg=00;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
SSH_AUTH_SOCK=/tmp/keyring-rfw1Si/ssh
GNOME_KEYRING_SOCKET=/tmp/keyring-rfw1Si/socket
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/20593,unix/unix:/tmp/.ICE-unix/20593
DESKTOP_SESSION=gnome
PATH=/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/yyz/ebaron/bin
MAIL=/var/spool/mail/ebaron
_=/usr/bin/printenv
PWD=/home/ebaron
INPUTRC=/etc/inputrc
KDE_IS_PRELINKED=1
GNOME_KEYRING_PID=20591
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
KDEDIRS=/usr
GDMSESSION=gnome
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
KRB5CCNAME=FILE:/tmp/krb5cc_12989_4GDVYV
HOME=/home/yyz/ebaron
SHLVL=3
SDL_AUDIODRIVER=esd
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=ebaron
CVS_RSH=ssh
QTLIB=/usr/lib/qt-3.3/lib
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZbIBeDlIIa,guid=80b3ff8e4ad0e9abd65c3e4548e61ad0
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
QT_PLUGIN_PATH=/usr/lib/kde4/plugins
G_BROKEN_FILENAMES=1
XAUTHORITY=/var/run/gdm/auth-cookie-XXV6WFIU-for-ebaron
COLORTERM=gnome-terminal

gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) 

uname -a
Linux toriamos.yyz.redhat.com 2.6.25.14-108.fc9.i686 #1 SMP Mon Aug 4 14:08:11 EDT 2008 i686 i686 i386 GNU/Linux

dmesg | grep gcc
Linux version 2.6.25.14-108.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Aug 4 14:08:11 EDT 2008

cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping	: 9
cpu MHz		: 2793.073
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips	: 5589.32
clflush size	: 64

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping	: 9
cpu MHz		: 2793.073
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips	: 5585.23
clflush size	: 64


rpm -qa --qf %{name}-%{version}-%{release}.%{arch}\\n | egrep 'systemtap|elfutils|kernel|gcc' | sort
elfutils-0.135-1.fc9.i386
elfutils-devel-0.135-1.fc9.i386
elfutils-libelf-0.135-1.fc9.i386
elfutils-libelf-devel-0.135-1.fc9.i386
elfutils-libs-0.135-1.fc9.i386
gcc-4.3.0-8.i386
gcc-c++-4.3.0-8.i386
gcc-gfortran-4.3.0-8.i386
gcc-java-4.3.0-8.i386
kernel-2.6.25.14-108.fc9.i686
kernel-2.6.26.5-45.fc9.i686
kernel-debuginfo-2.6.25.14-108.fc9.i686
kernel-debuginfo-common-2.6.25.14-108.fc9.i686
kernel-devel-2.6.25.14-108.fc9.i686
kernel-devel-2.6.26.5-45.fc9.i686
kernel-headers-2.6.26.5-45.fc9.i386
kerneloops-0.11-1.fc9.i386
libgcc-4.3.0-8.i386
systemtap-0.6.2-1.fc9.i386
systemtap-runtime-0.6.2-1.fc9.i386

Attachment: sosreport-ebaron-20081003131656-cffb.tar.bz2
Description: application/bzip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]