From fe76b41145bc7ad14f103fd412a3ff6baee0e417 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 14 Apr 2020 15:52:38 +0200 Subject: README, process,py update Signed-off-by: Toni Uhlig --- README.md | 2 +- process.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a7cef6..896854d 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -Some more or less useful scripts/patches/configs. +Some more or less useful scripts, dotfiles, etc. diff --git a/process.py b/process.py index effcbbc..f8873e7 100755 --- a/process.py +++ b/process.py @@ -5,6 +5,7 @@ import os start_pids = [pid for pid in os.listdir('/proc') if pid.isdigit()] print 'PIDs', str(start_pids) +# we don't do an active sleep here, results in slightly increasing usage for one of your CPU cores while True: cur_pids = [pid for pid in os.listdir('/proc') if pid.isdigit()] for pid in cur_pids: -- cgit v1.2.3