This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Justin, >Date: Mon, 17 Oct 2005 13:50:13 -0400 >From: Justin Cooke <address@hidden> >Organization: NOAA/NWS/FSL >To: Steve Emmerson <address@hidden> >Subject: Re: "pbuf_flush: time elapsed" problem The above message contained the following: [snip] > After some more digging we have realized that the strace command on AIX > is completely different than what is available on Linux. > > "truss" seems to be a similar equivalent, but we are running into > problems attaching it the rpc.ldmd process for our NEXRAD2 feed. > > When executing (where PID is the PID of the NEXRAD2 feed): > > $ truss -o truss.out -p PID > truss: 0915-023 Cannot control process #PID > > This error only occurs when trying to truss a rpc.ldmd process, it works > fine on a pqact process. All of the ldm processes are started by the > same user and that's also the account that we are executing the truss > with. Any ideas? Because the rpc.ldmd program is owned by root and setuid, try executing the truss(1) utility as root. > I have opened a ticket with our AIX support to see if there are any > other tools similar to strace that we should try. > > Justin Regards, Steve Emmerson