Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2002 08:45:22 -0500 (EST)
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        Kyunghwan Kim <redjade@ada.snu.ac.kr>
Cc:        freebsd-smp <freebsd-smp@FreeBSD.ORG>
Subject:   Re: CPU usage...
Message-ID:  <20021228084433.J2540@sorrow.ashke.com>
In-Reply-To: <20021228130928.GA87308@ada.snu.ac.kr>
References:  <20021223091038.X71412@sorrow.ashke.com> <20021228130928.GA87308@ada.snu.ac.kr>

next in thread | previous in thread | raw e-mail | index | archive | help

This is your app? :-)

[ adamk@sorrow ~ ]$ ./oncpu
Segmentation fault (core dumped)

[ adamk@sorrow ~ ]$ gdb oncpu oncpu.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-undermydesk-freebsd"...(no debugging
symbols found)...
Core was generated by `oncpu'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libkvm.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libkvm.so.2
Reading symbols from /usr/lib/libc.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x2806d2d7 in kvm_getprocs () from /usr/lib/libkvm.so.2
(gdb) bt
#0  0x2806d2d7 in kvm_getprocs () from /usr/lib/libkvm.so.2
#1  0x08048621 in main ()
#2  0x08048505 in _start ()
(gdb) quit

I'm more than willing to give it a shot again if you think you know what
the problem is.

Adam

On Sat, 28 Dec 2002, Kyunghwan Kim wrote:

> On Mon, Dec 23, 2002 at 09:11:29AM -0500, Adam K Kirchhoff wrote:
> >
> > Is there any way to see the activity on each individual CPU when running
> > -CURRENT on an SMP system?  gkrellm only shows one (presumably a
> > combination of the activity on both CPUs).
>
> What about trying this one?
> It is really a toy program. ;)
>
> http://redjade.org/doc/oncpu/
> --
> Kyunghwan Kim
> redjade@ada.snu.ac.kr
>
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021228084433.J2540>