1.0.0 • Published 5 years ago

@norux/listenport v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

listenport

Print process information of currently listening port.

npm (scoped) Build Status

How to install

Install latest

$ npm i -g @norux/listenport

Usage

listenport-result

Examples

$ listenport -a
$ listenport -p 8080
$ listenport -r 8080:8090

Options

Short optionLong optionDescription
-v--versionPrint current version
-h--helpPrint help message
-p \<port>--port \<port>Find process listening port
-r \<start>:\<end>--range \<start>:\<end>Find all process between start and end listening port
-a--allFind all process listening

Process alert

If certain process use either CPU or Memory a lot, its color is change. (red/magenta/yellow)

Usage over the

  • 70%: Red
  • 50%: Magenta
  • 30%: Yellow

Contribution