17 May
2008
17 May
'08
9:50 p.m.
On Fri, 2008-05-16 at 14:47 -0400, Bryan Polk wrote:
It would help to know what these extra processes are doing. Unfortunately there's no simple way to do that.. Maybe writing a script that trusses the processes for a few seconds and then seeing what it shows?
To truss each imap-login I would need to write the script to execute "truss imap-login" and put that in place of imap-login in the config file?
That would probably work too, but I was thinking about getting a few second snapshot using truss -p. So something like (untested):
for pid in ps -ef|grep imap$|awk '{print $2}'
; do
truss -o log.$pid -p $pid &
done
sleep 5
killall truss