Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to get an overview of resource usage of one particular process running on a ubuntu server. Can anyone tell me how I'd go about doing that.

Thanks

share|improve this question
up vote 6 down vote accepted

also try htop, you'll have to apt-get install htop , but i like it! alt text

share|improve this answer
4  
htop is very nice; you can run strace or lsof on a process within htop by highlighting the process and typing 's' or 'l' respectively. – gareth_bowles Mar 22 '10 at 14:43
    
I didn't know that ,you get +1 for coolness. – The Unix Janitor Mar 22 '10 at 18:30
    
Is there a tool which persist this data periodically and displays graphs to understand the resource usage over time? – Amit May 6 '13 at 4:44

You can run top and filter on the process or user running the process.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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