Debian is a Linux operating system widely used on servers and workstations. As a Debian system administrator, it is essential to be familiar with the basic commands to perform maintenance, configuration and monitoring tasks. This manual will provide you with a practical guide to the essential commands that will allow you to efficiently administer and maintain a Debian system.
-
ps
: Displays a list of the processes currently running on the system.
-
ps aux
: Displays a more detailed list of all processes in the system, including those of other users.
-
top
: Provides a dynamic, real-time view of running processes, with regularly updated information.
-
htop
: An enhanced version of top
that displays processes in a more readable format and allows you to interact with them more easily.
-
kill PID
: Terminates (kills) a specific process using its process identifier (PID).
-
killall nombre_proceso
: Kill all processes with the same name. Be careful when using it, as it can stop important processes.
-
nice
: Adjusts the priority of a process. You can use it to change the priority of a process and give it more or less system resources.
-
renice
: Changes the priority of a running process. It is useful to adjust the priority of running processes in real time.