def process_lsof(self, users, types):
        d = {}
        for u in users:
            d[u] = {}
            tmp = os.popen("lsof -bu %s | awk '{ print $5 }'" % (
                u)).read().split()
            for t in types:
                d[u][t] = tmp.count(t)
        return d
Get the list of users and file types to collect for and collect the
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/filestat/filestat.py/FilestatCollector.process_lsof