@cryptotaxi247 / netdata-1 / commits / 0dd029354

fixes

Costa Tsaousis committed Jun 17, 2013 at 22:17 UTC 0dd029354d6ab910c0c4349d727e454045aac4ca
1 file changed +14 -11
README.md
+14 -11
@@ -6,30 +6,33 @@ linux network traffic web monitoring
6
7 # Installation
8
9 -1. download everything in a directory inside your web docs. You don't need apache. Any web server able to provide static files will do the job fine.
9 +### download everything in a directory inside your web docs.
10 +You don't need apache. Any web server able to provide static files will do the job fine.
11
11 -2. step into this directory and compile netdata
12 +### Compile netdata
13 +step into the directory you downloaded everything and compile netdata
14
15 ```sh
16 gcc -O3 -o netdata netdata.c
17 ```
18
17 -3. run netdata and instruct it to create json files in this directory
19 +### run netdata
20 +Run netdata and instruct it to create json files in the current directory.
21
22 ```sh
23 ./netdata -d -l 60 -u 1 -o `pwd`
24 ```
22 --d says to go daemon mode
23 --l 60 says to show 60 seconds of history
24 --u 1 says to create json files every second
25 --o sets the save path for the json files
25 + - -d says to go daemon mode
26 + - -l 60 says to show 60 seconds of history
27 + - -u 1 says to create json files every second
28 + - -o sets the save path for the json files
29
30 You should now have one .json file per interface you have active, in the current directory.
31 All these files are updated once per second.
32
30 -4. edit index.html and set the interfaces you would like to monitor on the web page.
33 +### edit index.html
34 +Set in index.html the interfaces you would like to monitor on the web page.
35
32 -5. hit index.html from a web browser, through your web server.
33 -
34 -6. Enjoy real time monitor web graphs for your interfaces.
36 +### hit index.html from a web browser
37 +Enjoy real time monitor web graphs for your interfaces.
38