Solved

top: group by command

Posted on 2012-03-27
1
570 Views
Last Modified: 2016-02-10
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.
0
Comment
Question by:hankknight
1 Comment
 
LVL 23

Accepted Solution

by:
Maciej S earned 500 total points
Comment Utility
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now