Re: Question about possibly additions to TOP

2002-04-02 Thread Jon Ringuette
> > > > PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND >32652 root 960 1956K 1080K RUN 0:00 0.00% 0.00% top >32650 root 200 1448K 996K pause0:00 0.00% 0.00% tcsh > >In general, new "features" for top go into the cross-platform vendor to

diff of proposed top changes

2002-04-01 Thread Jon Ringuette
These changes will allow top to run in a jail, or proceed on even though certain stats can not be obtained. Unfortunatly you do loss some error messages when doing so. Ps. If I should be submitting these elsewhere please let me know. dff -c machine.c newmachine.c > machine.c.diff *** mac

Re: Question about possibly additions to TOP

2002-04-01 Thread Jon Ringuette
> > > >That would be pretty cool, why don't you use the gnats: >http://www.freebsd.org/send-pr.html >or just "send-pr" > >to submit your changes? > >One idea would be to fail gracefully, when unable to read kvm and >such and keep the -j flag idea you had. > Thats a great idea it didn't even cross

Question about possibly additions to TOP

2002-04-01 Thread Jon Ringuette
Sorry to bother everyone here but I have a quick question (or I guess what I hope is a quick question). I have made some modifications to src/usr.bin/machine.c to allow TOP to run in a jail (I have mostly just taken out kvm_read's ) and zero'd out alot of information that is not available to