Hi all, I want to know which dtrace abilities are available in my Solaris box, so I use: # dtrace -V dtrace: Sun D 1.6.2 But what does that "Sun D 1.6.2" mean? I guess there could be a RFE. What I expect is something like this: ==================================================# zpool upgrade -v This system is currently running ZFS pool version 13. The following versions are supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS version 2 Ditto blocks (replicated metadata) 3 Hot spares and double parity RAID-Z 4 zpool history 5 Compression using the gzip algorithm 6 bootfs pool property 7 Separate intent log devices 8 Delegated administration 9 refquota and refreservation properties 10 Cache devices 11 Improved scrub performance 12 Snapshot properties 13 snapused property For more information on a particular version, including supported releases, see: http://www.opensolaris.org/os/community/zfs/version/N Where ''N'' is the version number. ================================================== Yes, it''s better to have a short description, and a long detailed webpage. Therefore at least I could know which (new) provider were added at when. Thanks, -Alex -- This message posted from opensolaris.org
Hey Alex, The ZFS version number has a very different use since new versions of ZFS must continue to work with disks containing an old format. The DTrace version number is useful to track what fixes and features are present across different operating systems. You can see how the version number is used here: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_open.c#_dtrace_globals In addition you can find out more about versioning in the documentation: http://wikis.sun.com/display/DTrace/Versioning Adam On Nov 30, 2008, at 7:38 PM, Alex Peng wrote:> Hi all, > > I want to know which dtrace abilities are available in my Solaris > box, so I use: > > # dtrace -V > dtrace: Sun D 1.6.2 > > But what does that "Sun D 1.6.2" mean? I guess there could be a > RFE. What I expect is something like this: > > > ==================================================> # zpool upgrade -v > This system is currently running ZFS pool version 13. > > The following versions are supported: > > VER DESCRIPTION > --- -------------------------------------------------------- > 1 Initial ZFS version > 2 Ditto blocks (replicated metadata) > 3 Hot spares and double parity RAID-Z > 4 zpool history > 5 Compression using the gzip algorithm > 6 bootfs pool property > 7 Separate intent log devices > 8 Delegated administration > 9 refquota and refreservation properties > 10 Cache devices > 11 Improved scrub performance > 12 Snapshot properties > 13 snapused property > For more information on a particular version, including supported > releases, see: > > http://www.opensolaris.org/os/community/zfs/version/N > > Where ''N'' is the version number. > ==================================================> > Yes, it''s better to have a short description, and a long detailed > webpage. Therefore at least I could know which (new) provider > were added at when. > > > Thanks, > -Alex > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Hi Adam, Perhaps that "zfs upgrade -v" example is not very clear, here what I need is a glue showing me in which version, what actions are supported, e.g. if I am at DTrace 1.5, then I don''t have "stddev()", but "inet_ntoa()" is there, right? So maybe dtrace could setup a page at http://www.opensolaris.org/os/community/dtrace/version just list the actions added in each version. Then the "dtrace -V" is like this: # dtrace -V dtrace: Sun D 1.6.2 For more information on a particular version, including supported releases, see: http://www.opensolaris.org/os/community/dtrace/version -- This message posted from opensolaris.org
I did find this: http://hub.opensolaris.org/bin/view/Community+Group+dtrace/ChangeLog But unfortunately, it doesn''t map DTrace API Version numbers to the SNV build numbers. This would be useful, for example, for knowing which of these DTrace features, if any, are available in a Solaris 10 update. Regards, Brian -- This message posted from opensolaris.org
Hi Brian,> I did find this: > > http://hub.opensolaris.org/bin/view/Community+Group+dtrace/ChangeLog > > But unfortunately, it doesn''t map DTrace API Version numbers to the SNV build numbers. This would be useful, for example, for knowing which of these DTrace features, if any, are available in a Solaris 10 update.I agree, it''s not an easy thing to correlate from that list. With regard to Solaris 10 features, the last time a mass backport was done from the Nevada gate was for Solaris 10 Update 4 (8/07). I believe that this was pretty much a synch-up with the contents of snv_51 so you can go from the Changelog from there. Any changes after that have pretty much just been related to escalated bug fixes. Jon.