Re: iostat, vmstat and other kvm(4) users

看板DFBSD_kernel作者時間21年前 (2004/11/20 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
: :On Fri, Nov 19, 2004 at 12:19:40PM -0800, Matthew Dillon wrote: :> Ick. Not two whole separate programs. Why not just have both :> capabilities in one program based on whether -N/-M are specified or :> not ? : :Not two separate programs. I think we would still use one version, but :using conditional compilation to get the kvm backend. The normal end-user :wouldn't have to cope with most kernel changes and the developer gets :his ps-kvm or whatever we want to name it. The same principle can be :applied to the tools as well. : :Joerg I don't mind all normally run programs using the new API, it's just where someone runs 'ps' or 'dmesg' with -N/-M that we need to use the kvm interface. And, as such, conditional compilation is not the desired solution. Both features have to be compiled in, but the one that is used would depend on whether -N/-M is specified or not. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11dcPI00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11dcPI00 (DFBSD_kernel)