Psutil system resources library to scenarios/admin added

This commit is contained in:
tommy3001
2013-07-30 20:27:30 +02:00
parent f8586cd010
commit 32a14b763e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ State files can be written using YAML, the Jinja2 template system or pure python
Psutil
------
`Psutil <https://code.google.com/p/psutil/>`_ is an interface to different system information (e.g. CPU, memory, disks, network, users and processes).
`Psutil <https://code.google.com/p/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.
+1 -1
View File
@@ -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 )