Bellevue University CIS 240 PowerPoint PPT Presentation

presentation player overlay
1 / 6
About This Presentation
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