Skip to content

LinuxKernelContent/ProcTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

About

program creates a tree structure using a custom TreeNode struct, and then creates a new process for each node in the tree using the fork() system call. Each child process prints out its node's value, and then creates child processes for its own children. The parent process waits for its child processes to finish using wait(), and then the program waits for 1 second before using the system() function to run the pstree command to view the process tree for the current process's parent process.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published