gtop.netlist() in python (and gtop.netload() probably too) should throw exception if /proc/net/dev cannot be read
Submitted by den..@..il.com
Link to original bug (#624574)
Description
If /proc/net/dev cannot be read (when only root can access it), then python binding of gtop prints:
glibtop: cannot open "/proc/net/dev": No such file or directory
in terminal when gtop.netlist() is called. It should throw an exception. Now it kinda impossible or too difficult to detect that /proc/net/dev cannot be read.
Using libgtop-python-2.30.2