#!/usr/bin/env python

from gi.repository import GTop

glibtop = GTop.glibtop_proclist()
proclist = GTop.glibtop_get_proclist(glibtop, 0, 0)
print type(proclist)

proc_args = GTop.glibtop_proc_args()
proc = proclist[0]
print proc, GTop.glibtop_get_proc_args(proc_args, proc, 255)
