About

A process is an instance of a running computer program.

Obtaining information about processes

Some useful tools

  • top, htop: text-mode system monitors, showing process information in real time
  • lsof: list process open files. Also netstat specifically for network connections.
  • ptrace(): a programming interface to see all the system calls that a process is making. Different systems have different command line tools: strace on Linux, ktrace on *BSD, truss on Solaris, dtrace on FreeBSD and Mac OS X, …

Further reading

Keeping processes running

Some useful tools

  • screen: run programs in a detachable terminal that you can reattach to later from a different place
  • cron: schedule a task at regular intervals. Also at for a one-off.

Further reading

Other topics

Further reading

history | show excerpt | excerpt history