|
|
|
|
|
by cat199
3170 days ago
|
|
one way on a leenukz parallel -- `sed -ne 's:^processor.*:yes:p' < /proc/cpuinfo`
on openbsd: parallel -- `perl -e 'printf("yes "x\`sysctl -n hw.ncpu\`)'`
don't try the latter in a shell script without being prepared to
debug tho. |
|