diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-04-14 15:52:38 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-04-14 15:52:38 +0200 |
commit | fe76b41145bc7ad14f103fd412a3ff6baee0e417 (patch) | |
tree | 111b5e8c398f76b4a50dee6189830d102bcd0e4c | |
parent | 8013b1b037fc05230773b2de20f10e395f9b7f6b (diff) |
README, process,py update
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | process.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1 +1 @@ -Some more or less useful scripts/patches/configs. +Some more or less useful scripts, dotfiles, etc. @@ -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: |