Net-Connection-ncnetstat/Net-Connection-ncnetstat
Zane C. B-H e519e0d7c7 quiet pointless lsof 2023-06-01 13:29:07 -05:00
..
bin update version info 2023-06-01 13:26:38 -05:00
lib/Net/Connection actually bump version 2023-06-01 13:28:07 -05:00
t quiet pointless lsof 2023-06-01 13:29:07 -05:00
Changes not changes and bump to 0.8.0 2023-06-01 13:20:08 -05:00
MANIFEST update version info 2023-06-01 13:26:38 -05:00
Makefile.PL update version info 2023-06-01 13:26:38 -05:00
README read everything for releasing 0.3.0 2019-08-12 05:59:47 -05:00
ignore.txt add initial files 2019-07-29 01:05:15 -05:00

README

Net-Connection-ncnetstat

Provides a enhances colorized netstat like tool that is capable of doing searches.

> ncnetstat -W --Cl --pct -p ldap -n
Proto User  PID  Local Host   Port  Remote Host  Port  State       WChan  CPU% Mem% Command
tcp4  ldap  1377 127.0.0.1    ldap  127.0.0.1    41453 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap
tcp4  ldap  1377 127.0.0.1    ldap  127.0.0.1    62370 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap
tcp4  ldap  1377 127.0.0.1    ldap  127.0.0.1    35181 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap
tcp4  ldap  1377 127.0.0.1    ldap  127.0.0.1    23619 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap
tcp4  ldap  1377 127.0.0.1    ldap  127.0.0.1    23620 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap
tcp4  nslcd 1386 127.0.0.1    41453 127.0.0.1    ldap  ESTABLISHED nanslp 0.00 0.02 /usr/local/sbin/nslcd
tcp4  nslcd 1386 127.0.0.1    62370 127.0.0.1    ldap  ESTABLISHED nanslp 0.00 0.02 /usr/local/sbin/nslcd
tcp4  nslcd 1386 127.0.0.1    35181 127.0.0.1    ldap  ESTABLISHED nanslp 0.00 0.02 /usr/local/sbin/nslcd
tcp4  nslcd 1386 127.0.0.1    23619 127.0.0.1    ldap  ESTABLISHED nanslp 0.00 0.02 /usr/local/sbin/nslcd
tcp4  nslcd 1386 127.0.0.1    23620 127.0.0.1    ldap  ESTABLISHED nanslp 0.00 0.02 /usr/local/sbin/nslcd
tcp4  ldap  1377 192.168.15.2 ldap  192.168.14.2 39821 ESTABLISHED uwait  0.00 0.03 /usr/local/libexec/slapd -u ldap -g ldap

The search criteria can be any of the following.

CIDR
port
host
PTR
pctcpu
pctmem
Regex PTR
state
UID
username
wait channel

TODO

* Add support for more collection methods than Net::Connection::lsof

* Support color selection and column ordering.

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Net::Connection::ncnetstat

You can also look for information at:

    RT, CPAN's request tracker (report bugs here)
        https://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Connection-ncnetstat

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Net-Connection-ncnetstat

    CPAN Ratings
        https://cpanratings.perl.org/d/Net-Connection-ncnetstat

    Search CPAN
        https://metacpan.org/release/Net-Connection-ncnetstat

    Repository
        https://github.com/VVelox/Net-Connection-ncnetstat


LICENSE AND COPYRIGHT

This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)