You are on page 1of 5

Universidad Tecnológica de

México

Practice 4: “Performing Basic Process Control”


Alumna: García Chávez Yanetzy Alejandra
Materia: Sistemas Operativos
Profesor: José Carlos Alcántara Rodríguez
Grupo: EC06S
Ciclo: 20-2
Fecha de entrega: 2 de abril del 2020
Contenido
Objetivo..............................................................................................................................................2
Descripción.........................................................................................................................................2
Conclusiones......................................................................................................................................4
Bibliografía.........................................................................................................................................4

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

 ps -f: imprime una lista completa del comando ps

 ps -e: Imprime información de cada proceso en ejecucios


 ps -ef: imprime una lista completa sobre el comando ps -e

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.

9. Name the commands used to search for a specific process.


a. El comando pgrep y el comando ps junto con grep
10. Run the following kill commands to identify the signal names associated with signal
numbers.

11. Distinguish between a process and a job.


a. Cada programa que se ejecuta en el sistema Solaris 10 OS crea un proceso, si este
proceso se puede manejar a través de un Shell entonces es llamado trabajo
12. Distinguish between the pkill command and the kill command.
a. Se puede terminar un trabajo por medio del comando kill y puedes terminar un
proceso especifico por medio del comando pkill
13. In a terminal window type the command sleep 500 &.

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

You might also like