Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-30-2013, 02:52 PM   #1
Registered: Dec 2008
Posts: 51

Rep: Reputation: 1
Profiling of LInux box With respect to CPU and Network usage by specific process

Hello Every body.

I am trying to find out two things.

1.How can i know whether my server is at CPU bottelenck.

Solution i tried:

I am using vmstat tool and depending on the "r" ( run queue from procs column)
Then decide if run queue is greater than avaialable cpu cores.

Is this correct solution to idenityf CPU botteleneck.

I think its not right case for every scenario. I tried to load my CPU processors with tight loop threads more than my cores, still i see CPU responding to any other requests.

Can any body help me like any other way to get this CPU botteleneck identification.

2.I want to measure dynamically network usage by a specific process.This should be a CLI utiliy .

Solution i tried:

I was relying on /proc/<pid>/net/netstat file InOctest and OutOctets to decide the n/w usage by specific process.

But i see that some process which doesnot use n/w like initd also has showing some network acitivity .

Is this correct approach?

Do we have any other alternative?

Your help would be highly appreciated in this regard.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to run program or process on specific CPU cores on Linux LXer Syndicated Linux News 0 10-29-2013 10:30 AM
CPU usage low in top, even though one process is using 80-90% of the CPU mwburden Linux - Software 6 10-23-2012 04:22 PM
Limiting CPU usage of a multithreaded process in Linux reshika ag Linux - Software 1 10-12-2010 05:39 AM
LXer: How to Limit The CPU Usage of Any Process in Linux LXer Syndicated Linux News 0 09-23-2010 10:40 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration