2017 © Pedro Peláez
 

library health-check

Very lightweight tool for checking some server level health data (designed to work with Ubuntu)

image

richbarrett/health-check

Very lightweight tool for checking some server level health data (designed to work with Ubuntu)

  • Tuesday, December 12, 2017
  • by richbarrett
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Introduction

This is a very lightweight tool for checking some server health metrics (designed to work with Ubuntu)., (*1)

Methods available

  • diskSpacePercentageUsed
  • diskSpaceFree
  • diskSpaceTotal
  • diskSpaceUsed
  • memoryInfo
  • totalMemory
  • memoryPhysicallyFree
  • memoryPhysicallyUsed
  • memoryUsedPercentage
  • loadAverages

Installation

You can install this with composer: composer require richbarrett/HealthCheck, (*2)

Usage

include_once('vendor/autoload.php');
$hc = new \richbarrett\HealthCheck\HealthCheck;
echo 'Disk currently '. $hc->diskSpacePercentageUsed().'% full ('.$hc->diskSpaceFree().'gb available)';

The Versions

12/12 2017

dev-master

9999999-dev https://github.com/richbarrett7/HealthCheck

Very lightweight tool for checking some server level health data (designed to work with Ubuntu)

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Richard Barrett

memory health disk cpu ubuntu