Bellevue University CIS 240 - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Bellevue University CIS 240

Description:

tty1 00:00:00 bash. 9982 tty1 00:00:00 ps. Killing a process. kill is used ... PID TTY TIME CMD. tty1 00:00:00 bash. tty1 00:00:00 ps. tty1 00:00:00 vi $ kill 9983 ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 7
Provided by: JohnRu
Category:

less

Transcript and Presenter's Notes

Title: Bellevue University CIS 240


1
Bellevue UniversityCIS 240
  • More on Processes

2
What is a Process?
  • Executable code
  • Data
  • Open files
  • Stack space

3
Viewing processes
  • ps is used to view the status of processes
  • ps gives you the following information
  • Process ID
  • Terminal ID of owner
  • State
  • Running Time
  • Command name

4
Example
  • ps
  • PID TTY TIME CMD
  • tty1 000000 bash
  • 9982 tty1 000000 ps

5
Killing a process
  • kill is used
  • Must be root or process owner to kill it

6
Example
  • ps
  • PID TTY TIME CMD
  • tty1 000000 bash
  • tty1 000000 ps
  • tty1 000000 vi
  • kill 9983
Write a Comment
User Comments (0)
About PowerShow.com