搜索资源列表
shell it out
- 建立一个simple>的简单shell,通过编程了解fork前后parent process和child process的运行状况。调用system call检查系统报错信息。-establish a simplegt; A simple shell, through the understanding of programming before and after the parent process fork and the child process running. Calling
shell
- 实现Linux的进程管理。 a. 通过fork创建一个子进程。然后父子进程分别多次循环打印\"parent\"和\"child\", 同时打印出它们的pid,可以通过让进程睡眠一段时间来观看父子进程交叉执行的效果。 b. 通过fork创建子进程A, B。 A进程统计用户主目录下文件的个数并打印结果, B 进程列出用户主目录下的所有文件, 等待两个子进程都执行完毕时,父进程打印出后\"child are completed!\"信息后退出。