you can use the DBMS_SPACE package.
you can also query dba_segments and do it the old fashion way. if you have multiple entries in dba_segments for the same object and the blocks used are not sequential then the table is framented.

use DBMS_SPACE it is easy and gives lots of information. I think you can do a desc dbms_space to see the procedures available.

Andrew