SDRausty / termux-archlinux

You can use setupTermuxArch.bash 📲 to install Arch Linux in Termux on Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/termux-archlinux/
https://sdrausty.github.io/termux-archlinux/
Other
754 stars 74 forks source link

lscpu fails for parallel on termux #101

Closed linusjf closed 1 year ago

linusjf commented 1 year ago
require pgrep awk parallel
+ hash pgrep awk parallel
+ pgrep -an com.javacodegeeks.niotutorial.server.Server
+ awk '{print $1}'
+ parallel -I% kill %
lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: Not a directory
+ echo 0
0

parallel using lscpu does not work for archlinux on termux. Missing directory.

linusjf commented 1 year ago
require pgrep awk parallel
+ hash pgrep awk parallel
+ pgrep -an com.javacodegeeks.niotutorial.server.Server
+ awk '{print $1}'
+ parallel -I% kill %
lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: Not a directory
+ echo 0
0

parallel using lscpu does not work for archlinux on termux. Missing directory.

This seems to be an issue with parallel. nproc might be a better choice especially on termux.

github-actions[bot] commented 1 year ago

Stale issue message