Professional Documents
Culture Documents
Universidad Tecnológica de México
Universidad Tecnológica de México
México
Objetivo
En esta practica se va a trabajar con el kernel y la manera en el que este utiliza números de
identificación para rastrear y ejecutar procesos
Descripción
1. Use the following ps commands to list the processes currently running on your system.
What information does each command provide?
ps: Muestra información del usuario y la terminal
2. Perform the ps -ef command in a terminal window. Identify the process ID related to the
ps -ef command.
3. Open another terminal window, referred to as terminal window 1, and perform the
following command
4. Open another terminal window, called terminal window 2. Use the ps command to
identify the PID of the dtcalc command.
5. From terminal window 2, terminate the dtcalc command using the PID.
6. From terminal window 2, perform the tty command to identify the name of this terminal
window. The name appears as /dev/pts/n, where n is a numeral; for example, /dev/pts/4.
7. Move back to terminal window 1. Use the pgrep command to find the PID associated with
the name of terminal window 2.
8. In the current window, use the kill command to terminate terminal window 2.
14. In the same terminal window use the ps command to identify the shell process running in
that window.
15. In another terminal window use the ptree command by using the shell PID from Step 14 as
the argument.
16. In this terminal window use the kill command with the PID as the argument that was used
in Step 15. Does the window close down?
Conclusiones
Los comandos vistos en esta práctica son muy útiles para poder buscar los procesos o trabajos que
están en ejecución para así poder administrarlos o terminarlos de ser necesario para poder
trabajar con otro, así como también vimos la manera en la que pueden interactuar mas de dos
terminales entre sí.
Bibliografía
Sun Microsystems, Inc. (2005). UNIX® Essentials Featuring the Solaris™ 10 Operating
System SA-100-S10. Santa Clara, California 95054, U.S.A.: Network Circle