Compress terminal cmd line lens
parent
0e7db46631
commit
4a512bc879
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue