|< < 6 > >|

Services

A service is a long-running process that exists to serve requests from multiple clients.

Service lifecycle

Process lifecycle

When you run a program, you are creating a process. The process runs for a while, and then terminates.

You can examine a process using commands such as ps and pstree (Linux, MacOS).

|< < 6 > >|