strace -p 1?

Jared Mauch (jared@wolverine.hq.cic.net)
Thu, 16 May 1996 17:33:37 -0400 (EDT)


I'm trying to figure out why init is sucking so much cpu time.. :-(

# ps p1
PID TTY STAT TIME COMMAND
1 ? S 229:17 init [5]
# uptime
5:32pm up 1 day, 18:39, 5 users, load average: 1.93, 2.02, 1.95
# strace -p 1
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted

Any ideas?

Should I be able to strace init?

- Jared