Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: 2 GB myth

Re: 2 GB myth

From: John Hurley <johnbhurley_at_sbcglobal.net>
Date: 3 Dec 2004 05:28:21 -0800
Message-ID: <d4d6f278.0412030528.496c120e@posting.google.com>


snip

> >
> > > [Lightbulb dimly flickering above head] Oh yeah, I had forgotten about
> > > running into this as O attempted to attach to shared memory on a new
> > > system. How might I find the process with the most network
> > > connections?
> >
> > Don't really know, trying to find out. Likely some
> > obscure option of netstat. In RH to find the open files
> > for a process, I can "ls /proc/<proc#>/fd". But I must be root.
> > Same for Suse, AFAIK. Pretty much the same for Linux distros?
> > And the content of fd seems to indicate what kind of file.
> > For example if it is a socket, then it has a "socket:" prefix.
> > If it is a pipe,then it is "pipe:". If it is a normal file,
> > then it is "/*...".
>
> Of course, I'm hp-ux and don't have lsof or glance (easily available,
> maybe on the next upgrade, next month I hope).

If you are still asking how to find process with most network connections on hpux, you should be able to do get started with "netstat -a" pipe that out, cut to get the unix process id pipe that out do some sorting etc. Received on Fri Dec 03 2004 - 07:28:21 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US