Score:0

Number of tasks listed by systemctl much greater than the total number of system processes

cn flag

When running the command systemctl status on a given service, we are seeing output like the following:

Active: active (running) since Thu 2021-09-23 12:45:41 EDT; 2h 30min ago
Main PID: 9143 (bash)
Tasks: 1369 (limit: 8192)
.
.
.
.

As I understand it, the tasks number listed here should correspond to the number of processes spawned by the service. At the same time, running top, top -b, ps aux, ps -A, or any number of commands that list all processes, ends up showing ~800 total processes. How is it possible that the number of tasks from a single service can be greater than the total number of processes? Or is the number of tasks shown here not actually a reflection of the number of processes? We are running on SUSE.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.