I am running siege, then I run the command top to monitor the process.

siege -u http://adm/login -d1 -r10 -c1000


When I run top command whole system process will run, so I need to filter. Only know this http request response. How to filter by using the top command ?


It is possible that each distro version of top is different. You will need to check man top, but try the following.

To start top showing only process you started:

top -u <username>

Filter process (commands) while running top. For example, show only firefox:

  • Start top as per normal
  • Press o
  • Enter COMMAND=firefox then Enter

There is heaps to top, read the manual :]

|improve this answer|||||
  • Helpfully the prompt uses ?! add filter #3 (ignoring case) as: [!]FLD?VAL – Deanna Sep 9 '19 at 14:56

you can filter your process generated by httpd using following command:

top | grep httpd

its working fine on my machine.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.