Multitasking is very important for the Internet, just because a server must respond to multiple requests arrive simultaneously.
In fact, when a Linux system starts, start some processes, called daemons, which remain in the background to serve the needs of users. With the ps command can examine the processes running at the time. Without any parameters this command displays the running processes for the user who invoked. The parameters of PS are quite different between the various versions of Linux. Here's an example (partial) output possible with Linux:
$ Ps x
PID TTY STAT TIME COMMAND
1? S 0:02 init [3]
2? SW 0:00 (kflushd)
3? SW <0:00 (kswapd)
105? S 0:01 klogd
116? S 0:00 crond
128? S 0:00 inetd
139? S 0:00 lpd
167? S 0:00 httpd
179? S 0:00 smbd-D
188? S 0:00 nmbd-D
202 2 S 0:00 / sbin / mingetty tty2
208? S 0:00 update (bdflush)
274? S 0:02 in.telnetd
465? S 0:00 bash
714? R 0:00 ps ax
Bookmarks