references:
[1] IPC through shared memory
[2] Inter Process Communication (IPC)
[3] https://www.geeksforgeeks.org/pipe-system-call/
[4] watch command in Linux with Examples
- 參考鏈接1和2是介紹了共享內存IPC的簡單原理和相關系統調用的使用
- 參考鏈接3是介紹了管道通信的內容
- 參考鏈接4介紹了如何實時查看共享內存
watch -d 'ipcs -m'