<s> import gc <EOL> import tabulate <EOL> import gxf <EOL> @ gxf . register ( ) <EOL> class Meta ( gxf . MaintenanceCommand ) : <EOL> '''<STR_LIT>''' <EOL> def setup ( self , parser ) : <EOL> pass <EOL> def run ( self , args ) : <EOL> print ( "<STR_LIT>" % ( gxf . __version__ , gxf . __author__ ) ) <EOL> gcstats = gc . get_stats ( ) <EOL> headers = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> tbldata = [ [ "<STR_LIT>" % i ] + [ s [ h ] for h in headers [ <NUM_LIT:1> : ] ] <EOL> for i , s in enumerate ( gcstats ) ] <EOL> print ( "<STR_LIT>" ) <EOL> print ( tabulate . tabulate ( tbldata , headers = headers ) ) </s>
