Si estamos interesado en saber que procesos se estan ejecutando lo podemos averiguar con el comando ps
Como muchos comando tiene una sintaxis
Código: Seleccionar todo
ps -aux
Código: Seleccionar todo
USER
PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10648 736 ? Ss 08:14 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 08:14 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 08:14 0:00 [ksoftirqd/0]
root 6 0.0 0.0 0 0 ? S 08:14 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 08:14 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S 08:14 0:00 [migration/1]
root 10 0.0 0.0 0 0 ? S 08:14 0:00 [ksoftirqd/1]
root 12 0.0 0.0 0 0 ? S 08:14 0:00 [watchdog/1]
root 13 0.0 0.0 0 0 ? S< 08:14 0:00[cpuset]
root 14 0.0 0.0 0 0 ? S< 08:14 0:00[khelper]
User es el usuario que inició la aplicación (procesos)
PID el es identificador de Proceso
COMMAND obviamente es Comando
Código: Seleccionar todo
ps -e
Código: Seleccionar todo
PID TTY TIME CMD
6428 ? 00:06:51 plugin-containe
6511 ? 00:01:05 blender
6523 ? 00:00:00 apache2
Ejemplo
Código: Seleccionar todo
01 ? 00:15:57 plugin-containe
02 ? 00:02:36 blender
03 ? 00:00:00 apache2
04 ? 00:00:08 sublime_text
05 ? 00:00:00 plugin_host
Código: Seleccionar todo
kill 02