farad-tech / port-443-monitor
A simple PHP script to monitor number of connections on port 443.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/farad-tech/port-443-monitor
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^12
README
A simple PHP CLI tool to monitor number of active network connections.
Usage
composer create-project farad-tech/port-443-monitor sudo php monitor.php --interval=2
or clone directly:
git clone https://github.com/farad-tech/port-443-monitor.git sudo php monitor.php
also you can get just value of current connection counts by FaradTech\Port443Monitor\ConnectionCounter class.
<?php $port = 443; // default value is 443 but you may set any port that you want echo (new FaradTech\Port443Monitor\ConnectionCounter($port))->count(); // 73
Screenshot
Notices
- Only works on Linux