CS155: Introduction to Unix

Spring 2018

Processes

See this page as a slide show

Processes

CS155 Processes

Job Control

Listing Processes

% ps
  PID TTY          TIME CMD
30252 ?        00:00:00 php-cgi
30255 ?        00:00:00 bash
30257 ?        00:00:00 ps
% ps -H
  PID TTY          TIME CMD
30252 ?        00:00:00 php-cgi
30255 ?        00:00:00   bash
30259 ?        00:00:00     ps
% ps -Hf
UID        PID  PPID  C STIME TTY          TIME CMD
cs155    30252 28877  0 20:33 ?        00:00:00 /usr/bin/php-cgi
cs155    30255 30252  0 20:33 ?        00:00:00   bash .script
cs155    30261 30255  0 20:33 ?        00:00:00     ps -Hf

ps – list my running processes

Job priority

User: Guest

Check: HTML CSS
Edit History Source

Modified: 2018-02-05T10:35

Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2018 Colorado State University
CS Building