tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: lsof on t64u 5.1b - no info for PIDs > 65535
@ 2006-12-28 22:00 Fish, Russell C (GE Healthcare)
  2007-01-05 19:23 ` The dates on files in Tru64 5.1A Eilers, Laura B
  0 siblings, 1 reply; 2+ messages in thread
From: Fish, Russell C (GE Healthcare) @ 2006-12-28 22:00 UTC (permalink / raw)


Thanks to Kazuro Furukawa, who confirmed that lsof works just fine for
PIDs > 65535. After some testing, it now appears that the problem is
process related--not sure how/why they're getting confused but a restart
of the associated application fixes them right up. I've enclosed the ksh
script I used to test in case anyone else ever runs across this.

Happy new year to everyone on the list. 

#!/bin/ksh
for pid in `ps -ef | awk '{print $2}' | grep "^[1-9]"`; do
  if [[ -z `/usr/local/bin/lsof -p $pid` ]]; then
    # show process; skip [icssvr_daemon_fr], <defunct>, etc.
    ps -ef | grep " $pid " | grep -v grep | grep -v ' \<' | grep -v '
\['
  fi
done

-----Original Message-----
From: Fish, Russell C (GE Healthcare) 
Sent: Thursday, December 21, 2006 1:13 PM
To: tru64-unix-managers@ornl.gov
Subject: lsof on t64u 5.1b - no info for PIDs > 65535

Hi managers--

I'm seeing strange behavior on some but not all of our 5.1b boxes when
running lsof--it returns output fine for lower-numbered process IDs, but
nothing for higher-numbered ones (I'm guessing 65535 based on
experimentation). Other servers run fine. The lsof version is 4.77, and
I've tried all the normal stuff (/proc is mounted, etc.) with no
success. Anyone seen this and have a pointer to a config change or
something?

--Russ



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-05 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 22:00 SUMMARY: lsof on t64u 5.1b - no info for PIDs > 65535 Fish, Russell C (GE Healthcare)
2007-01-05 19:23 ` The dates on files in Tru64 5.1A Eilers, Laura B

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox