Skip to content

Display command name for programs written in interpreted languages (e.g., Python) #300

@polkorny

Description

@polkorny

Hi,

When running a program that is written in Python, nethogs shows the interpreter (/usr/bin/python3) instead of the actual command name. This makes it difficult to identify which program is using the network.

Example:

If I run an installed application like speedtest-cli (which is a Python program):

  • Actual output: nethogs displays the process as /usr/bin/python3.
  • Expected output: nethogs would display the process as speedtest-cli

This is a long-standing issue, originally reported on the Debian bug tracker here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557428

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions