Skip to content

-P processID1 processID2 ... processIDn #276

@JeckPeppinger

Description

@JeckPeppinger

nethog can be set on specific processes which is great.
With -P a processID to monitor can be specified.

Is there a way to supply a list of processIDs to monitor?

Example cfommand: sudo nethogs -P pgrep rclone -v 3
When one rclone process is running, the command works well.
But when there is more than one rclone process it fails, because pgrep rclone returns several pIDs.
Is there a way to send a list if pIDs to -P?

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