All Projects → trntv → probe

trntv / probe

Licence: MIT license
PHP System Information Provider

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to probe

Gopsutil
psutil for golang
Stars: ✭ 7,117 (+20234.29%)
Mutual labels:  system-information
Seeker
Accurately Locate Smartphones using Social Engineering
Stars: ✭ 2,772 (+7820%)
Mutual labels:  system-information
bunnyfetch
🐰 Tiny system info fetch utility.
Stars: ✭ 111 (+217.14%)
Mutual labels:  system-information
Pfetch
🐧 A pretty system information tool written in POSIX sh.
Stars: ✭ 816 (+2231.43%)
Mutual labels:  system-information
Cfg2html
cfg2html is a UNIX shell script similar to supportinfo, getsysinfo or get_config, except that it creates a HTML (and plain ASCII) system documentation for HP-UX, SCO-UNIX, AIX, Sun OS and Linux systems. Plug-ins for SAP, Oracle, Informix, Serviceguard, Fiber Channel/SAN, TIP/ix, OpenText (IXOS/LEA), SN Mass Storage like MAS, EMC, EVA, XPs, Network Node Manager and DataProtector etc. are included. The first versions of cfg2html were written for HP-UX. Meanwhile the cfg2html HP-UX stream was ported to all major *NIX platforms and small embedded systems.
Stars: ✭ 116 (+231.43%)
Mutual labels:  system-information
Fusioninventory Agent
FusionInventory Agent
Stars: ✭ 177 (+405.71%)
Mutual labels:  system-information
Hardinfo
System profiler and benchmark tool for Linux systems
Stars: ✭ 385 (+1000%)
Mutual labels:  system-information
php-ps-info
Simple script that allows you to test if your current environment fulfills PrestaShop's system requirements, and offers suggestions for improvements.
Stars: ✭ 84 (+140%)
Mutual labels:  system-information
Archey4
💻 Maintained fork of the original Archey Linux system tool
Stars: ✭ 118 (+237.14%)
Mutual labels:  system-information
yafetch
Yet another fetch ...
Stars: ✭ 27 (-22.86%)
Mutual labels:  system-information
Stacer
Linux System Optimizer and Monitoring - https://oguzhaninan.github.io/Stacer-Web
Stars: ✭ 7,405 (+21057.14%)
Mutual labels:  system-information
Amon
Amon is a modern server monitoring platform.
Stars: ✭ 1,331 (+3702.86%)
Mutual labels:  system-information
Winfetch
🛠 A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
Stars: ✭ 189 (+440%)
Mutual labels:  system-information
Tmux Mem Cpu Load
CPU, RAM, and load monitor for use with tmux
Stars: ✭ 746 (+2031.43%)
Mutual labels:  system-information
pendfetch
Double Pendulum visualised with fetching system information in Python.
Stars: ✭ 62 (+77.14%)
Mutual labels:  system-information
Otseca
Open source security auditing tool to search and dump system configuration. It allows you to generate reports in HTML or RAW-HTML formats.
Stars: ✭ 416 (+1088.57%)
Mutual labels:  system-information
Go Osstat
OS system statistics library for Go
Stars: ✭ 146 (+317.14%)
Mutual labels:  system-information
sysfetch
A super tiny system information fetch script written in BASH
Stars: ✭ 197 (+462.86%)
Mutual labels:  system-information
indicium
Portable, advanced system information utility
Stars: ✭ 46 (+31.43%)
Mutual labels:  system-information
yaf
Yet another system fetch that is minimal and customizable
Stars: ✭ 23 (-34.29%)
Mutual labels:  system-information

System Information Provider

Build Status

This package provide an easy interface to get information about system it is running on.

$provider = \Probe\ProviderFactory::create();
$provider->getCpuModel();
$provider->getCpuUsage();
$provider->getFreeMem();

Available methods

  • getOsRelease()
  • getOsType();
  • getOsKernelVersion();
  • getArchitecture();
  • getDbVersion(\PDO $connection);
  • getDbInfo(\PDO $connection);
  • getDbType(\PDO $connection);
  • getTotalMem();
  • getFreeMem();
  • getUsedMem();
  • getTotalSwap();
  • getFreeSwap();
  • getUsedSwap();
  • getHostname();
  • isLinuxOs();
  • isWindowsOs();
  • isBsdOs();
  • isMacOs();
  • getUptime();
  • getPhysicalCpus();
  • getCpuCores();
  • getCpuPhysicalCore();
  • getCpuModel();
  • getCpuUsage();
  • getServerIP();
  • getExternalIP();
  • getServerSoftware();
  • isISS();
  • isNginx();
  • isApache();
  • getPhpInfo($what = -1);
  • getPhpVersion();
  • getPhpDisabledFunctions();
  • getPhpModules();
  • isPhpModuleLoaded($module);
  • getPing(array $hosts = null, $count = 2);
  • getServerVariable($key);
  • getPhpSapiName();
  • isFpm();
  • isCli();

Supported OS

  • Linux
  • Windows
  • MacOS

Note: To get Windows System Information, you hould have php_com_dotnet.dll enabled in your php.ini.

[COM_DOT_NET] 
extension=php_com_dotnet.dll

Linux Specific methods

  • getCoresPerSocket()
  • getCpuinfoByLsCpu()

Contributing

I don't have any special rules for it. Any help in any way will be useful.

TODO

  • disk usage
  • rx/tx
  • processes list
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].