once once - 2 years ago 108
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

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download