diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..6f378e65 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +PORT?=8008 + +install: + sensible-browser "https://github.com/nicolargo/glances#installation" + +test: + ./unitest-all.sh + +docs: + cd docs && ./build.sh + +docs-server: docs + (sleep 2 && sensible-browser "http://localhost:$(PORT)") & + cd docs/_build/html/ && python -m SimpleHTTPServer $(PORT) + +.PHONY: test docs docs-server diff --git a/docs/man/glances.1 b/docs/man/glances.1 index 67597d51..d9192ada 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Dec 23, 2018" "3.1.0_beta" "Glances" +.TH "GLANCES" "1" "Dec 27, 2018" "3.1.0_beta" "Glances" .SH NAME glances \- An eye on your system . @@ -569,6 +569,7 @@ have a section. Below an example for the CPU plugin: .nf .ft C [cpu] +disable=false user_careful=50 user_warning=70 user_critical=90