Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!batcomputer!theory.tn.cornell.edu!hurf From: hurf@theory.tn.cornell.edu (Hurf Sheldon) Newsgroups: comp.unix.questions Subject: File descriptors open info Message-ID: <1991Feb26.213145.26540@batcomputer.tn.cornell.edu> Date: 26 Feb 91 21:31:45 GMT Sender: news@batcomputer.tn.cornell.edu Organization: Cornell Theory Center Lines: 27 Originator: hurf@theory.tn.cornell.edu Nntp-Posting-Host: theory.tn.cornell.edu One of my users asks: Hurf, is there a Unix system call (or some other method) for finding out how many file descriptors a process has open? I can't seem to find anything readily available - the kernal must keep this info as part of the per process stats. My man -k doesn't come up with anything and some other rooting around was similarly fruitless. I have seen some monitor programs have these stats but how do you access it. I would be interested in info on any version of unix - our specific environments are risc-Ultrix 4.xx and HP-UX 7.xx Thanks, hurf -- Hurf Sheldon Network: hurf@theory.tn.cornell.edu Program of Computer Graphics Phone: 607 255 6713 580 Eng. Theory Center, Cornell University, Ithaca, N.Y. 14853