/proc/0/ [was Re: /proc/nzombies]

From: Pavel Machek (pavel@suse.cz)
Date: Sun Feb 27 2000 - 16:14:05 EST


Hi!

> >"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

task[0] is idle and it would be VERY good if kernel reported it as
regular task. Just now, top can lie about idle (run make on
linux kernel), with /proc/0/ it would be reliable.

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

- 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/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:20 EST