aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-04-14 15:52:38 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-04-14 15:52:38 +0200
commitfe76b41145bc7ad14f103fd412a3ff6baee0e417 (patch)
tree111b5e8c398f76b4a50dee6189830d102bcd0e4c
parent8013b1b037fc05230773b2de20f10e395f9b7f6b (diff)
README, process,py update
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--README.md2
-rwxr-xr-xprocess.py1
2 files changed, 2 insertions, 1 deletions
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: