HF RL Explorer

Task: Get Child Process IDs from a Parent Process

Task: Get Child Process IDs from a Parent Process: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that finds and lists all direct child process IDs (PIDs) of a given parent process ID (PPID). This is a common system administration task when you need to monitor or manage process…

The task

Write a shell script that finds and lists all direct child process IDs (PIDs) of a given parent process ID (PPID). This is a common system administration task when you need to monitor or manage process trees.

Part of PrimeIntellect/Terminal-Lego-15k.