I disagree, it is a sql query that will tell you what has more than 10 extents. A table or index having more than 10 extents is not a sign of fragmentation. If you are using locally managed tablespaces than you have have tables with extents in the thousands and not see an issue.

If you want to avoid fragmentation use locally managed tablespaces with either automatic storage of reasonably sized uniform extents.