The top command in Linux is an interesting way of looking at processes running on Linux, with screen updates and ordered by the process they use more CPU, at the TOP or on the screen.
This feature is useful for monitoring how one or more processes act in the system.
The most used options are:
The top command may also support some commands that alter its behavior during its execution. They are:
Top Command |
The top command on the first line provides the average CPU load (load average), corresponding to 1 minute, 5 minutes, and 15 minutes, the same as the “uptime” command. The higher the numbers, the more overloaded the system will be.
It is common for the system to experience high rates of an average of 1 minute. But a constant high average rate on the 15-minute indicator is a sign that the CPU is poorly sized.
The second line contains the total number of processes, the number in the running state (running – which corresponds to the number of CPUs and cores), sleeping (which are on disk), stopped (stop) and zombie processes (child processes that they stopped executing, but the parent process was not alerted).
The sudo command on Linux executes a given command as if it were another user.…
The ss command on Linux is extremely useful for investigating sockets, providing various information about…
Free Linux command shows the amount of total memory in use and available, as well…
The shell has structures for testing conditions and executing certain program sequences several times (loop),…
The /etc/fstab file stores the configuration of which devices should be mounted and what is…
The Netcat Command in Linux or nc is a utility used to do “almost anything”…
This website uses cookies.