Giter Site home page Giter Site logo

feiandxs / port-releaser Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

Port-Releaser: A cross-platform CLI tool for quickly identifying and optionally terminating processes occupying specific ports, supporting Windows, macOS, and Linux. 一个跨平台的命令行工具,用于快速识别和释放占用特定端口的进程,支持Windows、macOS和Linux系统。

Go 100.00%

port-releaser's Introduction

Port-Releaser

Port-Releaser is a cross-platform command-line tool designed to identify and optionally terminate processes that are occupying specific ports. It supports Windows, macOS, and Linux, making it a versatile tool for developers and system administrators.

Features

  • Cross-platform Support: Runs on Windows, macOS, and Linux.
  • Easy to Use: Quickly find processes using a specific port with a simple command.
  • Safe Process Termination: Offers the option to safely terminate the process after identification.

Installation

To install Port-Releaser, clone this repository and build the tool using Go:

git clone https://github.com/feiandxs/port-releaser.git
cd port-releaser
go build

Usage

To use Port-Releaser, simply run the following command with the desired port number:

./port-releaser <port-number>

For example, to find the process using port 8080:

./port-releaser 8080

The tool will list any processes using the specified port and prompt you to terminate them if desired.

Contributing

Contributions to Port-Releaser are welcome and appreciated. If you have suggestions for improvements or bug fixes, please submit a pull request or open an issue.

License

Forget about it, all codes in main.go are from ChatGPT.

port-releaser's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.