Skip to content

Use fuser on Linux  #68

@regseb

Description

@regseb

Hi,

You can use fuser to identify and kill processes using port.

  return sh(`fuser --kill --namespace ${method} ${port}`)

It's installed by default on Ubuntu and OSMC (Linux distribution based on Debian). lsof isn't installed by default on OSMC (maybe also on Debian).

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