svn commit: r183781 - in user/edwin/top/top-3.8b1: contrib/top usr.bin/top

Stanislav Sedov stas at FreeBSD.org
Mon Oct 13 22:24:37 UTC 2008


On Mon, 13 Oct 2008 09:11:27 +1100
Edwin Groothuis <edwin at mavetju.org> mentioned:

> 
> Change only as in the parameter, not as in the feature.
> 
> It's going to be -c now because -a has been used by the original top for:
> 
>     -a, --all
> 	 Show all processes for as long as possible.  This  is
> 	 shorthand for  "-d  all  all".   This  option is especially
> 	 handy in batch mode.
> 

I think the new '-a' option is going to be used less frequent, then
FreeBSD one. Do you understand that by changing it you are forcing
FreeBSD users (not other system's users) to use something like this
in scrips:

----------------------------------------------------------------
if ( `sysctl kern.osreldate` > XXXXXX ) then
  opt = "-c"
else
  opt = '-a'
endif

top ${opt} ...
----------------------------------------------------------------

This is clearly a POLA violation and I really don't understand what
we are trading it for. The most attractive thing in FreeBSD for most
users is that we're truing to be as compatible with pervios revisions
as possible. You're now trying to ruin that for nothing in exchange.
I was asking you what other systems use this version of top in base:
have you done this research? I think this at least might be asked
at mailinglist what communinity will prefer - to keep the FreeBSD
compatibility or the upstream compatibility. Not speaking of there's
a good chance we may switch to other top verion in future.

We can provide unmodified version of top in ports system - this is
what that systems was done for. So users who really want the unixtop
compatibility can get it there. I really don't understand why you've
selected that specific top version as standard - why not try to be
compatible with e.g. atop instead?

I think this should be thinked around better.

-- 
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-user/attachments/20081013/f3d52ae1/attachment.pgp


More information about the svn-src-user mailing list