Process

luckygamza·2021년 10월 13일

Process

programs executing in memory are called processes.
each process is identified by a guaranteed unique, non-negative integer called the the processes ID( a.k.a PID)

Create new process - fork(2)

new processes can only created via the fork(2) system call.

Bring process into memory - exec(3)

Programs are brought into memory via exec(3) function.

Process control

process control is performed mainly by the fork(2), exec(3), and wait(2) functions.

PPID : the parent process id.
UID : the user id of the process owner.
CMD : the executable command.
C : the CPU utilization in percentage.

0개의 댓글