Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2008jan11 OS: Linux Level: Beginner Q. What are the Linux commands to monitor what processes are running? A. You can use:ps - report a snapshot of the current processes.pstree - display a tree of processestop - display updated view of busiest processeshtop - interactive process viewer (uses ncurses)gtop - Gnome topSee man pages for more info. The /proc directiory has a subdirectory for each running process. So search for numbered directories shows whats running:ls /proc | egrep '[0-9]'My favorite way of invoking ps:ps -eo user,pid,%cpu,start,args --forest
Add a commentSign in to add a comment