Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: 2 GB myth
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
![]() |
![]() |