T.R | Title | User | Personal Name | Date | Lines |
---|
9380.1 | use lsof | NETRIX::"[email protected]" | Detlef Schmier | Thu Apr 03 1997 11:02 | 7 |
| > Can someone tell me how on Digital Unix 3.2g I can determine the
> number of file descriptors a process has open?
>
I would use lsof to get this information ("lsof -p PID").
Detlef.
[Posted by WWW Notes gateway]
|
9380.2 | lsof? | CAMINO::MCDERMOTT | | Thu Apr 03 1997 11:33 | 1 |
| Thanks, but were can I get lsof?
|
9380.3 | kdbx file | SMURF::DUSTIN | | Thu Apr 03 1997 11:42 | 5 |
| You can also use "kdbx -k /vmunix" and say "file" to display
the file table, which lists open files per process id.
John
|
9380.4 | | APACHE::CHAMBERS | | Thu Apr 03 1997 17:39 | 7 |
| > Thanks, but were can I get lsof?
One way: First, I pointed my browser at http://altavista.digital.com,
typed "lsof" and hit the Submit button, and it came up with a number of
pointers to places to get it. The first was an archive, and several others
were, too. This is how I got my copy,
|
9380.5 | ftp://ftp.kar.dec.com/tools/lsof-4.02.tar.gz | KAMPUS::NEIDECKER | EUROMEDIA: Distributed Multimedia Archives | Fri Apr 04 1997 02:26 | 1 |
|
|
9380.6 | thanks | CAMINO::MCDERMOTT | | Fri Apr 04 1997 12:27 | 1 |
| Thanks, got it. What a great tool.
|
9380.7 | what about fuser? | USCTR1::ASCHER | Dave Ascher | Fri Apr 04 1997 13:20 | 5 |
|
Is there some reason why nobody mentioned "fuser". It seems
to me that it works more reliably across versions of the o.s.
d
|
9380.8 | | SMURF::DENHAM | Digital UNIX Kernel | Fri Apr 04 1997 14:03 | 5 |
| I believe this with fuser is that it's in the SVE package and
requires a separate license.
For UNIX 98 conformance, an fuser command will have to be in
the OS, so we'll get one everyone can use eventually.
|
9380.9 | public fuser available | ALFAM7::STREPPEL | | Tue Apr 08 1997 08:33 | 7 |
| We hacked a public version of fuser a while ago. It works fine, has a
lot of useful options and we use it a lot. I put a complete gzipped
tar file on nasaxp.rto.dec.com which can be reached via anonymous ftp.
There is also a binary version of fuser available.
Regards
Hartmut
|