An open API service indexing awesome lists of open source software.

https://github.com/yetopen/ysysteminfo

Yii Framework exension to display some system informations on Linux systems
https://github.com/yetopen/ysysteminfo

Last synced: over 1 year ago
JSON representation

Yii Framework exension to display some system informations on Linux systems

Awesome Lists containing this project

README

          

INFO

Yii Framework exension to display some system informations on Linux systems.

INSTALLATION

Place this file in protected/extensions/ and add to your config.php
'components'=>array(
'YSystemInfo'=>array(
'class'=>'application.extensions.YSystemInfo',
),
),

then use something like Yii::app()->YSystemInfo->functionName();

Actually implemented:
* getInterfaceNames: returns an array with network interface names
* getInterfacesByType: returns all the interface of a specific type
* getPartitionSize: get partition size where the specified directory is mounted

CREDITS

Developed by Lorenzo Milesi .
Copyright 2012 YetOpen S.r.l. - Lecco

Includes part of code (c) Benjamin Holmberg with little modifications.