From 32a14b763e70d94c77b15a3d0356ba096d6610b5 Mon Sep 17 00:00:00 2001 From: tommy3001 Date: Tue, 30 Jul 2013 20:27:30 +0200 Subject: [PATCH] Psutil system resources library to scenarios/admin added --- docs/scenarios/admin.rst | 2 +- docs/scenarios/web.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scenarios/admin.rst b/docs/scenarios/admin.rst index 8260e64..081eae4 100644 --- a/docs/scenarios/admin.rst +++ b/docs/scenarios/admin.rst @@ -123,7 +123,7 @@ State files can be written using YAML, the Jinja2 template system or pure python Psutil ------ - `Psutil `_ is an interface to different system information (e.g. CPU, memory, disks, network, users and processes). +`Psutil `_ is an interface to different system information (e.g. CPU, memory, disks, network, users and processes). Here is an example to be aware of some server overload. In case of some failed test (net, CPU) it send an email. diff --git a/docs/scenarios/web.rst b/docs/scenarios/web.rst index 32a0ce2..4ec6647 100644 --- a/docs/scenarios/web.rst +++ b/docs/scenarios/web.rst @@ -319,7 +319,7 @@ to use. import tornado.ioloop import tornado.web - # Load tamplate file templates/site.html + # Load template file templates/site.html TEMPLATE_FILE = "site.html" templateLoader = FileSystemLoader( searchpath="templates/" ) templateEnv = Environment( loader=templateLoader )