top: group by command

I want to see what services are running and what resources those services are taking.  When I use "top" I see a long list of processes, many with duplicate commands.  For example, I see "httpd" listed more than 10 times .

How can I group these by command, so I only see httpd once with information about memory and WCPU grouped?

I run FreeBSD.
LVL 16
hankknightAsked:
Who is Participating?
 
Maciej SConnect With a Mentor sysadminCommented:
I'm afraid you can't do this with top.
And these are not duplicated commands - every 'httpd' is a single process (note their PIDs). Apache starts more than one process to handle incoming requests.
0
All Courses

From novice to tech pro — start learning today.