How do I find out the list of running processes in Ubuntu? [duplicate]
This question has already been answered here:
How do I view a list of processes from a terminal in Ubuntu?
(5 answers)
Closed 4 years ago.
How do I find out the list of running processes in Ubuntu?
7
Author: aleksandr barakin, 2010-10-26
7 answers
To do this, open the terminal and run the command
ps -la // Для получения основных сведений о процессах, запущенных текущем пользователем
ps -ela // Для всех пользователей
ps -a // Базовая информация для текущего пользователя
17
Author: Nicolas Chabanovsky, 2010-10-27 17:07:16
top
In it, click k( kill), enter the process number, click 9 (any way to kill)
ps ax | grep 'ищем процесс по куску имени'
Process list
kill PID[ PID2 PID3]
We kill the process by its id
killall PIDNAME
Kill all processes by name
6
Author: Alex Silaev, 2012-08-24 16:13:08
And for monitoring processes in real time, it is better to use htop
5
Author: alexeych, 2011-01-10 16:40:59
And if you need to use a C/C++ program, then either analyze the /proc directory, or use the libproc library
4
Author: skegg, 2012-11-06 16:57:02
ps aux
And you can kill them by PID.
kill {process PID}
4
Author: metazet, 2013-08-07 12:43:32
pstree
Displays a beautiful tree. It looks something like this:
init─┬─bash───onlineconf-upda
├─bash───pinger-client
├─crond
├─4*[cronolog]
├─dbus-daemon
├─httpd───6*[httpd]
├─kthreadd/106─┬─khelper/106
│ └─nfsiod/106
4
Author: o2gy, 2015-07-29 07:50:56
Ps -e
Most useful
1
Author: kandi, 2012-11-06 16:31:16