From c495bb4d5c856b86fb490e59d199d9c0463d9da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20=C5=A0ijanec?= Date: Fri, 24 May 2019 13:01:49 +0200 Subject: updated readme cpu usage note added --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c838e55..9255340 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,4 @@ git clone https://github.com/asija3/server-status-logger cd server-status-logger ./server-status-logger.php http://example.example/server-status sqlite3.db ``` +note: this program by default with zero sleep time between requests uses the whole cpu (core). That is an appropriate behaviour for most servers, since you will have to request server-status very quickly to capture all requests. If you have only one CPU (core), consider threading with `systemd` or limiting cpu percentage with `cpulimit`. -- cgit v1.2.3