Ken Teague wrote:
> I have two processes running on a Linux box that are consuming quite a
> lot of CPU time.
Scratch that. After digging around a bit more, I found that these
processes were waiting for I/O from other threads... just hanging out,
drinking a beer and consuming a lot of (CPU) time.
I have two processes running on a Linux box that are consuming quite a
lot of CPU time. I ran strace -p on the main program itself and it shows:
futex(0x9fd7ef8, FUTEX_WAIT, 1, NULL
The main program also uses java, so I ran strace -p on the java process
ID and see:
futex(0xb7f88bd8, FUTEX_WAIT,
On Wed, 2009-01-21 at 12:13 -0500, Michal Nowak wrote:
> Yet another clean-up patch. Compiling on i386 gave me following
> warnings:
>
> [...]
> strace.c: In function ‘handle_stopped_tcbs’:
> strace.c:2539: warning: passing argument 4 of ‘ptrace’ makes integer from
> pointer without a cast
> stra
Hi Michal.
On Tue, 2009-01-20 at 09:28 -0500, Michal Nowak wrote:
> On i386 building strace from CVS emits following warning:
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/i386 -I./linux/i386 -Ilinux
> -I./linux -Wall -g -O2 -MT syscall.o -MD -MP -MF ".deps/syscall.Tpo" -c -o
> syscall.o sys
On Wed, 2009-01-21 at 06:31 -0500, Michal Nowak wrote:
> One little patch to get rid of $(SUBJ) warning, I can see here
> on i386 with gcc-4.3.2 from Fedora. Compiled also on an IA-64
> RHEL-5.2 box with gcc-4.1.2-42.el5.
It's not in mem.h, it's in mem.c
Patch is trivially correct, I don't see a