User Tools

Site Tools


wiki:using_htop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:using_htop [2016/12/01 08:51] walkeradminwiki:using_htop [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 8: Line 8:
 \\  \\ 
 \\  \\ 
-<color red>I am now unsure if htop is installed  by default, this needs confirmation</color>+<color red>htop is NOT installed by default</color>
 \\  \\ 
 +\\ 
 +We can run htop from a command window by entering:
 +    htop
 \\  \\ 
 {{:wiki:htop_full.jpg?600|}} {{:wiki:htop_full.jpg?600|}}
Line 15: Line 18:
 \\  \\ 
 <color red>htop</color> is a more graphical version of the Linux <color red>top</color> command (which is available on all distros). <color red>htop</color> is much better as displaying the resources of multi-processor systems. <color red>htop</color> is a more graphical version of the Linux <color red>top</color> command (which is available on all distros). <color red>htop</color> is much better as displaying the resources of multi-processor systems.
 +\\ 
 +\\ 
 +The htop display is split in to two main areas. At the top of the page is the details about the processors and memory, in this example we can see 48 processors (they are hyper threading so its actually 24 cores from two processers (so 2 x 12 core CPUs).
 +\\ 
 +\\ 
 +Each core can show up to 100% utilisation, so a server running at full CPU load would show a total CPU usage of 4800%
 +\\ 
 +\\ 
 +The bottom window shows each process running (PID is process ID) and what resources each process is consuming.
 \\  \\ 
 \\  \\ 
  
 +----
 +
 +<color red>htop Shortcuts</color>
 +\\ 
 +    Description                Function Keys        Shortcut Keys
 +    Help                       F1                   h
 +    Setup                      F2                   s
 +    Search Process             F3                   /
 +    Invert Sort Order          F4                   |
 +    Tree                       F5                   t
 +    Sort By                    F6                   >
 +    Nice - (change priority)   F7                   [
 +    Nice + (change priority)   F8                   ]
 +    Kill a process             F9                   k
 +    Quit                       F10                  q
 +\\ 
wiki/using_htop.1480582304.txt.gz · Last modified: 2023/03/09 22:35 (external edit)