pk VS scripts

Compare pk vs scripts and see what are their differences.

pk

Killing processes by port number, with style. (by helpermethod)

scripts

shell scripts for personal use (by strlns)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pk scripts
2 1
5 0
- -
0.0 1.7
over 2 years ago 12 months ago
Shell Shell
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pk

Posts with mentions or reviews of pk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.

scripts

Posts with mentions or reviews of scripts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.
  • A command-line tool to easily kill processes running on a specified port
    11 projects | news.ycombinator.com | 25 Apr 2023
    Funny and weird to see this on HN. I was "working" on this problem a couple of weeks ago, mainly because of orphan node processes caused by closing VSCode for mac before closing long-living processes started by it.

    I found that this script

    https://github.com/strlns/scripts/blob/main/killbyport.sh

    creates less of a delay for me, but I'm not sure if it works for processes started by root etc.

    Before, I went with exactly what hayst4ck posted.

    For everything serious (not Node on 3000 or 5173 or something like that, where I know the cause and process in advance), I'd still look at lsof manually and feel kind of validated seeing this posted by a sysadmin.

What are some alternatives?

When comparing pk and scripts you can also consider the following projects:

tcpkill - Kill an open TCP connection on your machine

killport - A command-line tool to easily kill processes running on a specified port.

killport - Killport is a for gigs, command-line utility for killing processes listening on specific ports.

port-to-process - port-to-process: Given a port number, look up any associated process and pid

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured