once once - 4 months ago 8
Linux Question

how many processes can be run parallel in background

By adding a

, the command can be run in background,
but how many processes can actually be run in background?
i have hundreds of files to handle, want to minimized the time by separating and running them in background

i wonder if i have to check how many threads i have, however i am confused about the concept of threads..

when i
cat /proc/cpuinfo

cpu cores : 8
siblings : 16

does it means that i have 8 cores and 16 threads,
but what does it means with

cat /proc/sys/kernel/threads-max

What are the threads here mean? and what about the answer here using

i am so confused.. please help


but what does it means with

 cat /proc/sys/kernel/threads-max

From proc(5):

This file specifies the system-wide limit on the number of threads (tasks) that can be created on the system.

The task is a term used by Linux for processes/threads/etc, all the entities which are subject to task scheduling.