Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libgtop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • libgtop
  • Issues
  • #19

Closed
Open
Created Jul 16, 2010 by Bugzilla@bugzilla-migration💬Reporter

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

Assignee
Assign to
Time tracking