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
- Host: GitHub
- URL: https://github.com/yetopen/ysysteminfo
- Owner: YetOpen
- Created: 2012-10-30T11:55:36.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-19T20:51:08.000Z (over 13 years ago)
- Last Synced: 2025-01-22T15:45:42.080Z (over 1 year ago)
- Language: PHP
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
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.