Changes

Jump to: navigation, search

Tutorial7: Links / Process Management

827 bytes added, 17:34, 30 January 2020
Managing Processes
===Managing Processes===
xAll programs that are executing on a UNIX system are referred to as processesEach process has an ownerEach process has a unique ID (PID) Processes in UNIX can run in:ForegroundBackground  UNIX processes are hierarchicalThis structure has a root, parents, and childrenCreation of a new process is called forking or spawningParent can fork a child and children can fork their own childrenProcesses keep their PID for their entire lifeUsually a parent sleeps when a child is executing– The exception is when the child process is executing in the background  ps (process status) command displays snapshot information about processesBy default, the ps command displays information only about the current terminal (ps -U username shows all)The top command provides a continuous update including resource usage
=INVESTIGATION 1: LINKING FILES=
13,420
edits

Navigation menu