io.24hoursmedia

Quick php monitoring scripts for services

  • io.24hoursmedia.com
  • tech notes

Quick monitoring script for memcached etc


« Back to overview

<?php
$memcache_obj = new Memcache; 
$memcache_obj->addServer('localhost', 11211); 
print_r($memcache_obj->getStats()); 
?>




Also see:

  • Force files and subdirectories to have a specific owner and group
  • PHP script to log server load (top, ps aux) into files for a period of time
  • AWS Cheatsheet
  • Docker cheatsheet
  • Docker memcached-alpine on AWS Docker/fargate
  • Bash script to login into a docker container by it's name
  • PhpStorm essential plugins
  • Local dependency installation in composer.json
  • DNS
  • Doctrine paginator slow in Symfony

2025 © All Rights Reserved. 24hoursmedia.com [nl] | 24hoursmedia.com [en] | Magic Wood | 24hoursmedia.io | snap.24hoursmedia.com