Skip to content

Displays the top processes according to current CPU or memory usage

License

Notifications You must be signed in to change notification settings

scaidermern/top-processes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

top processes

Displays Linux' top processes according to their current CPU or memory usage during the given sampling time.

Example

$ ./top_proc_example
PID        <CPU>      RSS        CMD       
3235       5.91       8876       conky     
3359       5.91       45948      mpd       
4784       3.94       694840     firefox-esr
9317       3.94       2648       top_proc_exampl
3060       1.97       386316     gnome-shell

PID        CPU        <RSS>      CMD       
4784       3.94       694840     firefox-esr
3060       1.97       386316     gnome-shell
4878       0.00       91284      Telegram  
2346       0.00       87108      Xorg      
2437       0.00       85052      spamd child

License

CC0 1.0 (c) Alexander Heinlein