Linux Process Model

From FreekiWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Syllabus

ps

  • -aux
  • -A
  • grep, it's not just for fun

Properties

  • /proc
  • priority, nice
  • ownership
  • stdin/out/err
    • redirecting
    • logs

watching

  • top
  • watch
  • time

signals

  • kill
  • killall

forking

  • parenting
  • jobs
    • bg
    • fg

inter-process communication

debugging

  • seg fault
  • gdb
  • core
    • ulimit -c
  • strace (-ppid)
  • ltrace
  • nm
  • ldd

Prerequisites

  • ass
  • coder
  • adv. bulder
  • build instructor

further reading

  • the man pages
  • google 'linux process'

time estimates

  • 1 hour 55 minutes
  • ps: 20 minutes
  • properites: 25 minutes
  • watching: 10 minutes
  • signals: 15 minutes
  • forking: 15 minutes
  • ipc: 10 minutes
  • debugging: 20 minutes