lkml.org 
[lkml]   [2000]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/nzombies
On Sat, 26 Feb 2000, Peter T. Breuer wrote:
>"A month of sundays ago Jos Visser wrote:"
>> Let's extend the kernel with a /proc/nzombies feature that tells the
>> current number of zombies. This is handy for system and network
>> monitoring purposes. I did some homework and it is a quite trivial
>
>It's not at all daft. Why not put them in /proc/lost+found/ instead?

<humor>
Would I have to run mklost+found on /proc? Would it be a 12k directory
like every other lost+found?

And, would one have to run fsck.proc to get the zombies in there?
</humor>

Might I suggest a /proc/0/... tree of process information? (task[0] is
the kernel after all.) It would help reduce the clutter in /proc. It
would take a minor change to psmisc to prevent it from scanning it as
a regular process assuming the regular process information isn't filled
in. (It'd look something like the NT "System Idle" process which people
may rightly resist.)

--Ricky



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.151 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site