PHP Classes

Linux Network Interfaces: Retrieve information of Linux network interfaces

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 392 All time: 6,634 This week: 146Up
Version License PHP version Categories
network-interfaces 1.0GNU General Publi...3Networking, Unix


This class can retrieve information of Linux network interfaces.

It uses the Linux ip command to query the IP addresses and other details of each network interface available in a Linux based system.

The class parses the command results and returns an array of objects for all the found interfaces with parameters like pipe, quickstate, mtu, qdisc, state, qlen, link/ether, brd, inet, scope, link, inet6, valid_lft and preferred_lft .

Picture of Chris Jeffries
  Performance   Level  
Name: Chris Jeffries <contact>
Classes: 6 packages by
Country: United Kingdom
Age: 76
All time rank: 2173100 in United Kingdom
Week rank: 280 Up13 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Internet_parms
Accessible without login Plain text file exampleOutput Output Internet_parms
Plain text file Internet_parms.php Class Internet_parms

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,634
This week:146Up