[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4D389D8B.7010301@genband.com>
Date: Thu, 20 Jan 2011 14:39:39 -0600
From: Chris Friesen <chris.friesen@...band.com>
To: linux-kernel@...r.kernel.org
Subject: why does /proc/sys/fs/file-nr not match total of /proc/<pid>/fd entries?
Someone asked me a question that I couldn't answer, so I'm passing it on
to you.
Why do the values in /proc/sys/fs/file-nr not match up with the value
given by "ls -al /proc/[0-9]*/fd/ | grep '>' | wc -l" ?
For instance, on my desktop /proc/sys/fs/file-nr gives "9728 0
306699" but the other command gives "2894".
Where is the discrepancy coming from?
Thanks,
Chris
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@...band.com
www.genband.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists