project:mem-query
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
project:mem-query [2016/01/28 22:19] – created 91.89.129.106 | project:mem-query [2016/01/28 22:35] (current) – 91.89.129.106 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== mem-query ====== | + | ====== mem-query ====== |
mem-query is a monitoring and recording tool. | mem-query is a monitoring and recording tool. | ||
Line 7: | Line 7: | ||
p.e. post mortem analysis. | p.e. post mortem analysis. | ||
- | ===== prereq | + | ===== Ver. 2016-01-28 (sketchy documentation, |
+ | |||
+ | ==== prereq | ||
* web server with _enabled_ cgi capabilities | * web server with _enabled_ cgi capabilities | ||
Line 19: | Line 21: | ||
* mysql 5 | * mysql 5 | ||
- | ===== the database | + | ==== the database ===== |
create a database user password, e.g. | create a database user password, e.g. | ||
Line 30: | Line 32: | ||
< | < | ||
- | create database sysstat; | + | |
- | grant all privileges on sysstat.* to user sysstat identified by ("< | + | grant all privileges on sysstat.* to user sysstat identified by ("< |
- | use sysstat; | + | use sysstat; |
create table t_mem ( | create table t_mem ( | ||
Line 80: | Line 82: | ||
</ | </ | ||
- | ===== the gatherer | + | ==== the gatherer ===== |
- | < | + | < |
# | # | ||
Line 182: | Line 184: | ||
(maybe from / | (maybe from / | ||
- | ===== web ===== | + | ==== web ==== |
get the executable from: | get the executable from: | ||
Line 199: | Line 201: | ||
(yup, it renders itself into a web page) | (yup, it renders itself into a web page) | ||
- | * take a close look into the comment section of the script, it's your user guide. | + | * take a close look into the comment section of the script, it' |
* change the variable $xmlfilename to a place that suits you. | * change the variable $xmlfilename to a place that suits you. | ||
* create a config file: | * create a config file: | ||
- | < | + | < |
< | < | ||
- | | + | < |
- | < | + | |
- | < | + | |
- | < | + | |
</ | </ | ||
- | </code> | + | </file> |
* store the config file to the place in $xmlfilename | * store the config file to the place in $xmlfilename | ||
- | * change the password | + | * change the password |
* make sure your web server finds that thing | * make sure your web server finds that thing | ||
project/mem-query.1454015962.txt.gz · Last modified: 2016/01/28 22:19 by 91.89.129.106