PHP Classes

PHP Netstater: Get the status of network connections with netstat

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 260 All time: 7,809 This week: 140Up
Version Licenses PHP version Categories
netstater 1.0Artistic License, B...5Networking, PHP 5, Unix


This class can get the status of network connections with netstat.

It can execute the netstat program to extract the status of current network connections in the machine.

The class parses netstat output and returns an array with the details of each opened connection.

Picture of Nick Daniels
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Age: 34
All time rank: 1108159 in United States United States
Week rank: 76 Up8 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x


 * Netstater Class to Raw/Array
 * --------------------
 * Devel: Nick Daniels
 * Twttr: @ManicSec

$stat = Netstater::Instance();

$stat->fetch_Raw() . PHP_EOL . PHP_EOL;

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Plain text file Netstater.class.php Class Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,809
This week:140Up