On Thu, Jul 23, 2009 at 09:59:48AM -0400, Justin Williams wrote: > Unfortunately, if I try to strace it (strace time ls), I get command not > found.
''strace time ls'' will try to run the external command ''time'' which apparently you haven't got installed. (Which is probably good in this case, as it avoided some confusion....) What you want is: strace bash -c 'time ls' (You may need to give additional options to strace as well, to get the behavior you want.) > If I try to strace `time ls`, I get a hung screen. > > Attaching gdb to the running bash session from which I am trying to run > time, I don't get any useful pointers, but, what I get is below: > > (no debugging symbols found) > Attaching to program: /bin/bash, process 5647 > linux-nat.c:988: internal-error: linux_nat_attach: Assertion `pid == GET_PID > (inferior_ptid) && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' > failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. Maybe your libc is broken? Or your compiler, if all of these are self-compiled gentoo e-builds?