MASHD

DreamHost Active System Monitor

Download MASHD (6.73KB)
MASHD graphically displays the Memory and CPU usage of your Linux based web server using existing PHP and Linux tools without root access or additional configuration. MASHD is a single PHP file that can run on any Linux based VPS or Dedicated web server that supports PHP and the exec() function. The zip file includes a tester script, if you wish to confirm that it will work with your website before ‘installing’ MASHD.

MASHD is a simple page layout that has a liquid CSS design, allowing wide viewing or narrow viewing, depending on your preference. It also will display well on mobile devices (may want to turn it horizontally).
MASHD Page Layout

Support

Donate towards my web hosting billIf you have questions, contact me. If you like it and use it, consider helping me out with my VPS bill by making a donation through Dreamhost.

License

GNU GPL3 http://www.gnu.org/licenses/gpl.html
(translation: free to use, edit, modify, distribute under the same license)

Files Included

Download MASHD (6.73KB)

  • README.txt
    • Contains everything found on this page.
  • mashd-tester.php
    • Simple file to see if your web server will support MASHD. Should display two arrays, with no errors.
  • mashd.php
    • Install/Operation file for MASHD.

Summary

MASHD is an active monitoring program, in that it will only work when the webpage is open.
The name is the inverse acronym of the descriptive title: DreamHost System Active Monitor.
It was originally designed for use on a Dreamhost VPS, but is flexible enough for any Linux based system that allows the PHP function exec() to be used.

Installation

If you wish test your system, FTP mashd-tester.php to your web server and access it via web browser.
It should return two arrays of data, without errors. If so, you can use MASHD.

To install MASHD, FTP mashd.php over to your web server and access it via web browser. That’s it.

Background

When you access mashd.php, it will automatically create mashd_process.php, which in turn will also create mashd_history_cpu.txt and mashd_history_mem.txt files.
MASHD itself uses jQuery and the Google Charts API to generate the visual results, all loaded and hosted by Google (read: very fast).
There is no daily limit to calls to this service per day (< 250,000/day).

More Tips for Dreamhost VPS

Dreamhost VPS Root Access System Monitoring.

Download MASHD (6.73KB)

One thought on “MASHD

  1. David Myers

    Pretty awesome monitoring script. I’m going to try and figure out how to embed it on the civic wiki I’m monitoring. Thanks!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *