Compress terminal cmd line lens

readme_pump
Tyler Goodlet 2021-02-22 10:50:48 -05:00
parent 0e7db46631
commit 4a512bc879
1 changed files with 5 additions and 2 deletions
examples/parallelism

View File

@ -1,6 +1,9 @@
""" """
Run with a process monitor from a terminal using: Run with a process monitor from a terminal using::
$TERM -e watch -n 0.1 "pstree -a $$" & python examples/parallelism/we_are_processes.py && kill $!
$TERM -e watch -n 0.1 "pstree -a $$" \
& python examples/parallelism/we_are_processes.py \
&& kill $!
""" """
from multiprocessing import cpu_count from multiprocessing import cpu_count