<commit_before># unix-hollymonitor
Hollywood movie-style unix server monitoring interface, with both functional and non-functional graphical elements.

![Screenshots](https://cloud.githubusercontent.com/assets/3391199/6630086/3cace91a-c8eb-11e4-950b-5adaf4c4f4df.png)

# Features
* CPU usage line plots
* Temperature bar graphs
* Stream of running processes as vertical text
* Cube colored according to highest core temperature
* Cube rotation speed proportional to average CPU usage
* Completely irrelevant source code scrolling in background

Future features include easily configuring what source file scrolls in the background (currently this can be changed by editing a line in status.html).

# Installation
unix-hollymonitor should be installed on the unix system to be monitored. 
The system in question must have a web server (such as apache).

To install on a webserver, after cloning the repo, run:

`./build install=/path/to/web/dir`

Eg, on a typical apache server, you might run

`./build install=/var/www/html`

The files in `src/cgi` should be installed to a directory that supports executing cgi-scripts.

# Requirements
The following executables are required to be on the system path: 
* mpstat
* ps
* sensors
* git
* python
<commit_msg>Updated readme with webserver info.<commit_after># unix-hollymonitor
Hollywood movie-style unix server monitoring interface, with both functional and non-functional graphical elements.

![Screenshots](https://cloud.githubusercontent.com/assets/3391199/6630086/3cace91a-c8eb-11e4-950b-5adaf4c4f4df.png)

# Features
* CPU usage line plots
* Temperature bar graphs
* Stream of running processes as vertical text
* Cube colored according to highest core temperature
* Cube rotation speed proportional to average CPU usage
* Completely irrelevant source code scrolling in background

Future features include easily configuring what source file scrolls in the background (currently this can be changed by editing a line in status.html).

# Standalone Installation
unix-hollymonitor can run in a standalone mode, where it spins up its own webserver to serve its own pages. This is much easier to do if you don't already have an apache server (or equivalent) set up.

1. Make sure you have all the binaries required under *requirements*.
2. Clone the unix-hollymonitor repo (or just download the files).
3. Run the `build` script in the repo's root directory.
4. Run `python bin/unix-hollymonitor.py`

By default the webserver will open on port 8080. If you desire a different port, use the `port=xxxx` command-line argument. E.g.:

`python bin/unix-hollymonitor.py port=8081`

# Existing Webserver Integration
unix-hollymonitor should be installed on the unix system to be monitored. 
The system in question must have a web server (such as apache).

To install on a webserver, after cloning the repo, run:

`./build install=/path/to/web/dir`

Eg, on a typical apache server, you might run

`./build install=/var/www/html`

The files in `src/cgi` should be installed to a directory that supports executing cgi-scripts.

# Requirements
The following executables are required to be on the system path: 
* mpstat
* ps
* sensors
* git
* python

{'fraction_non_alphanumeric': 0.06371625863151287, 'fraction_numerical': 0.021343377275580666, 'mean_word_length': 4.64070796460177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3414415', 'n_tokens_mistral': 950, 'n_tokens_neox': 870, 'n_words': 412}