> > As above, this was done to ensure that the output was deterministic. I > > so if deterministic is what you want, then couldn't you define > default_fields="time,interface,probe,netrtt,rtt, rttavg,target"; > all_fields="time,interface,probe,netrtt,rtt,rttavg,target,rttdev"; > and pass in the default_fields when no "-o" option is specified, > and pass in allfields if "-o all" is specified?
That's one more thing to get out-of-sync. Right now, for a given output mode, the possible fields, the order of the fields and what will be displayed is all defined elegantly by a single table at the end of ipmpstat.c. There are lots of alternative solutions which I considered before deciding on the one that's currently in ipmpstat.c. > webrevs have been updated! Please also take a look at dladm.c and > flowadm.c- I'll remind Michael separately, since I've not heard > from him yet. If I'm going into those swamps I'll need to get some thicker boots ;-) -- meem
