Software Development Degree BTO120 Lecture 11: Lecture 11 - Linux Processes Linux Installation Version Control
Document Summary
Linux processes under the root directory) username the unique process identification (pid) and a job number. A process is the execution of a command. A parent process forks (or spawns) a child process. & at the end of a command line will run the command in the background, and gives. Eg. ls -lr / > test 2> testerror & (recursive listing of all files and directories. Eg. tail -f test & (endless loop waiting for additional lines) Ps - will display process status with pid, for current terminal only. Ps -u username - will display status for all terminals belonging to specified. There are lots of ps options, varies by system. Ps afux - will display all processes, showing parent-child relationships. Top - will display resource usage, continually updated (end with "q") Jobs - will show job number of background processes. Kill pid# (or %job) - will abort process with specific pid or job number.