(self, users, types)
return d
Get the list of users and file types to collect for and collect the
        data from lsof
Get the list of users and file types to collect for and collect the
        data from lsof
Get the list of users and file types to collect for and collect the data from lsof
def process_lsof(self, users, types):
        """
        Get the list of users and file types to collect for and collect the
        data from lsof
        """
        d = {}
        for u in users:
            d[u] = {}
            tmp = os.popen("lsof -wbu %s | awk '{ print $5 }'" % (
                u)).read().split()
            for t in types:
                d[u][t] = tmp.count(t)
        return d
def process_lsof ( self , users , types ) : d = { } for u in users : d [ u ] = { } tmp = os . popen ( "lsof -wbu %s | awk '{ print $5 }'" % ( u ) ) . read ( ) . split ( ) for t in types : d [ u ] [ t ] = tmp . count ( t ) return d