How does the process title works?
https://oshogbo.vexillium.org/blog/51/ [oshogbo.vexillium.org]
2018-09-03 17:29
tags:
c
intro-programming
unix
When we are creating a new process using fork(2) the process inherits the name from its parent. In the scenario when we call exec(2) function we also pass the list of the arguments for a process, which will be treated as a process title. What if we would like to change the title of the process when it’s running? It turns out that many operating systems do it in a different way. In this article we will discuss how open source operating systems like FreeBSD, Linux, OpenBSD, NetBSD, and DragonFlyBSD do it.
source: L