xbp

Crates.ioxbp
lib.rsxbp
version0.4.2
created_at2025-03-31 15:37:56.375557+00
updated_at2025-09-17 09:35:53.023425+00
description XBP is a build pack and deployment management tool to deploy, rust, nextjs etc and manage the NGINX configs below it
homepage
repository
max_upload_size
id1613547
size2,066,676
Floris (floris-xlx)

documentation

README

XBP is a build pack and deployment management tool to deploy, rust, nextjs etc and manage the NGinx configs below it

Overview

xbp is a command-line tool designed to help you manage and monitor network ports on your system. It provides a simple interface to list active ports and the processes using them.

Features

  • List all active network ports.
  • Filter ports by specific port number.
  • Display detailed information about processes using each port.

Usage

To use xbp, run the following command in your terminal:

List all ports

xbp ports
Port: 53
UID        PID        PPID       C     STIME      TTY        TIME       CMD
--------------------------------------------------------------------------------
systemd+   679167     1          0     Mar30      ?          00:00:01   /usr/lib/systemd/systemd-resolved
--------------------------------------------------------------------------------

Port: 80
UID        PID        PPID       C     STIME      TTY        TIME       CMD
--------------------------------------------------------------------------------
root       768633     1          0     Mar30      ?          Ss         0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
www-data   818553     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818554     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818555     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818556     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818557     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818558     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818559     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818560     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818561     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818562     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818563     768633     0     14:33      ?          S          0:00 nginx: worker process
www-data   818564     768633     0     14:33      ?          S          0:00 nginx: worker process
--------------------------------------------------------------------------------

List all from that specific port

xbp ports -p 3000
Port: 3000
UID        PID        PPID       C     STIME      TTY        TIME       CMD
--------------------------------------------------------------------------------
postgres   2089       1          0     Mar22      ?          00:04:48   /usr/local/bin/postgrest /etc/postgrest.conf
--------------------------------------------------------------------------------
Commit count: 0

cargo fmt