Top (Bash)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
Excellent example of top: My laptop felt really slow and I'm surprised to see that Dropbox & Albert take so much CPU time. Also, why is teamviewerd active?

top gives a dynamic overview of active processes.

First part of man top

TOP(1)                                             User Commands                                             TOP(1)

       top - display Linux processes

       top -hv|-bcEHiOSs1 -d secs -n max -u|U user -p pid -o fld -w [cols]

       The traditional switches `-' and whitespace are optional.

       The top program provides a dynamic real-time view of a running system.  It can display system summary infor‐
       mation as well as a list of processes or threads currently being managed by the Linux kernel.  The types  of
       system  summary  information  shown and the types, order and size of information displayed for processes are
       all user configurable and that configuration can be made persistent across restarts.

       The program provides a limited interactive interface for process manipulation as well as a much more  exten‐
       sive interface for personal configuration  --  encompassing every aspect of its operation.  And while top is
       referred to throughout this document, you are free to name the program anything you wish.   That  new  name,
       possibly an alias, will then be reflected on top's display and used when reading and writing a configuration

Overview of CPUS

Press 1 to get an overview of load per CPU.