Skip to content

Suggestion: use comm instead of exe for linux process name #362

@remgodow

Description

@remgodow

Scenario:
executable which calls another executable ex. nodejs cmd line tools like webtorrent-cli which spawn "node webtorrent.js"
result:
process.name() = node
by calling /proc/pid/comm we receive "WebTorrent"
How about using that as a process.name()? It would provide valuable info to the user - instead of a bunch of node/java processes we would see the tool name which invoked them.
I can do the development if you would accept such an enhancement.

P.S. Cool library, thanks for developing it.

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