Home linux How do I find a list of running processes in Ubuntu?

How do I find a list of running processes in Ubuntu? [Duplicate]

Author

Date

Category

To do this, open a terminal and run the command

ps -la // For basic information about the running processes of the current user
ps -ela // For all users
ps -a // Basic information for the current user

Answer 1, Authority 100%

top

It click k (kill), the process of entering a room, click 9 (in any kilnut)

ps ax | grep 'looking for a piece of the process name'

Process list

kill PID [PID2 PID3]

Kiel process by its id

killall PIDNAME

keel all the processes named


Answer 2, Authority 83%

and in real time to monitor the process better use htop


Answer 3, Authority 67%

And if you want the program in C / C++, either to analyze the directory / proc, or use the library libproc


Answer 4, Authority 67%

ps aux

and they can be the keel of PID.

kill {process PID}

Answer 5, authority 67%

pstree

Displays krasivenkoe tree. Looks like this:

init─┬─bash───onlineconf-upda
 ├─bash───pinger-client
 ├─crond
 ├─4 * [cronolog]
 ├─dbus-daemon
 ├─httpd───6 * [httpd]
 ├─kthreadd / 106─┬─khelper / 106
 │ └─nfsiod / 106

Answer 6, Authority 17%

ps -e

Most useful

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions