Software Development Degree BTO120 Lecture 11: Lecture 11 - Linux Processes Linux Installation Version Control

54 views8 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents