Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having problem identifying high usage users on a shared Linux machine.

I use the "top" command and it does show which commands are using the most CPU.

But the usernames on this server all start with the same prefix. So the USER column cuts-off the username right after the prefix.

Is there a convenient way to show which user is using the most CPU resources?

share|improve this question
add comment

2 Answers 2

The top program has columns of information that can be added and removed while running by pressing 'f'. There is a column that will display the numeric user id 'd', which may be more useful in your case.

share|improve this answer
add comment

You can use ps command to see what processes and user is using the most CPU resources :

ps aux --sort pcpu

share|improve this answer
add comment

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.