In article <1992Feb16.201353.27740@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes:Yes, and exactly what *is* that well defined interface? I've followed this discussion for a while now, and noone has mentioned that /dev/kmem actually has a lot of advantages over added system calls. If you decide to collect different stats from the kernel, with /dev/kmem you just recompile ps to read out different stuff. Using system calls can require rewriting the kernel to get what you want, either adding a new system call or changing an old one in an incompatible way -- and then you still have to recompile ps. This is even more work. And remember, ps isn't the only program that we're discussing here. We might want netstat and vmstat and probably others I'm not familiar with. As to Charles Hedrick's comment that modern Unices are moving away from reading special files towards adding more system calls: Well, that's debatable. As a counterexample, consider /dev/proc vs the extremely bletcherous ptrace system call. Are there any Unices that actually use a system call to implement ps? If not then I think that we might want to very carefully consider why. -- Doug Quale quale@saavik.cs.wisc.edu
| Greg Kroah-Hartman | [PATCH 006/196] Chinese: add translation of oops-tracing.txt |
| Andrew Morton | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Eric W. Biederman | [PATCH] nfs lockd reclaimer: Convert to kthread API |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
