JGeer
JGeer

Reputation: 1852

Get info about running process ssh

How can get more info about the process that is running? I want to know what the process is doing and why it is using that much CPU.

How can I get this info using SSH?

Upvotes: 0

Views: 1921

Answers (1)

A l w a y s S u n n y
A l w a y s S u n n y

Reputation: 38502

SSH in and then use the ps command to list running processes in conjunction with the grep command to filter that result list down to what you need:

So for example if you wanted to find the httpd process you could use

ps aux | grep httpd

ps will list all the process and grep will filter out the result list.

Upvotes: 1

Related Questions