PHP Classes

Linux Network Interfaces: Retrieve information of Linux network interfaces

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

Author

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: 2174100 in United Kingdom
Week rank: 163 Up7 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:392
This week:0
All time:6,637
This week:146Up