Progresso das aulas e exercícios
Operating Systems: Three Easy Pieces, Universidade de Winsconsin
Xv6, a simple Unix-like teaching operating system, Livro
Operating Systems and System Programming, Berkley - Vídeo aulas
Aprendizados de processos e sinais
Executar com watch -d -n 0.5 ./print-process-tree.sh
:
# print-process-tree.sh
ps -x --forest | grep "a.out\|main.out" | grep -v 'grep' |
sed -E "s/^(\s+?[0-9]+)(.*\s+\|)(.*)/\1 ->\3/"
Reproduz algo do tipo
Every 0.1s: ./print-process-tree.sh Atlas: Sun Aug 22 12:31:29 2021
25969 -> \_ ./a.out
25970 -> \_ [a.out] <defunct>
25971 -> \_ [a.out] <defunct>