Linux process management(1)

Process life cycle

fork and exec

creation

Subprocess.popen and os.fock in python

process scheduler (CFS)

process management commands

bg = send stopped process to backgroundcommand & = run process in backgroundctrl+z = stop current process and put to jobsctrl+c = cancel process (remove from jobs)jobs = list all jobsfg %3 = bring 3rd job to fore groundkill — 15 pid = send signal ‘sigterm’kill -9 pid = kill signal ‘sigkill’ to processnice = run command with defined priority (-20 highest, 19 lowest)renice = modify process priority . renice +x 18471

--

--

A channel which focusing on developer growth and self improvement

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
LORY

A channel which focusing on developer growth and self improvement