Solved

Netstat -a recv and send Q's

Posted on 2009-04-14
6
970 Views
Last Modified: 2013-12-16
System is Sun V40z with RH4. 12 gig memory. I am looking for reasons for system  intermitant slowness loging in users. Top show 97% plus on all cpus. A restart of service = sshd seems to clear the problem for awhile. I need info on what the recv and send Q's are in netstat -a.  Are these ques on the network card or RH software, etc.  Specificaly I have large numbers in the q's. How can I flush these ques?  How do I interpet these numbers?
thanks
netstat -a | grep syslog
udp     4224      0 *:syslog                    *:*
tcp        0         52 McPbsAM:ssh                 mcdpnety.ad.ewsad.net:1451  ESTABLISHED

Open in new window

0
Comment
Question by:Bstafford51
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142570
is this server located in Inside of your network ?? or remotely ??

you said, top command show 97% cpu uses,  , so which service is consuming so much cpu ??

how much ram is available ??? from top command

netstat -an | grep ESTABLISHED

how many establisshed conneciton you got ?? are those legite connections ??
0
 

Author Comment

by:Bstafford51
ID: 24142799
My bad. I ment 97% idle on cpu. The server is inside the network. I was able to clearhte ques on syslog
by restarting the syslog service. But i need to know what the number means, ie how is it generated.

thanks
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142819
sorry i didnot understand what you meant by this

"But i need to know what the number means, ie how is it generated. "

what number ??
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:Bstafford51
ID: 24142951
The usual explanation I have found for the netstat utility does not go into very mush depth as to what the numbers  mean.  so if I have a high number in the RECV-q is it an error etc. What generates that number, where does the utility get that number. Is it from the interface? Is it a peak number or an average. I need more info on the guts of the Linux OS, something past the normal web/book information.

thanks
0
 
LVL 7

Expert Comment

by:Morne Lategan
ID: 24143569
I'm not answering your question on the q's but slowness on login could be a dns issue as well. If DNS goes down, or becomes slow, it takes long between login and the password prompt because sshd will try to reverse lookup your IP address.
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24145522
Hi good morning
sorry due to night could not able to reply

truth is , i dont have too much idea about SendQ and Receiveq number, but i was reading last night coupld of site, every one saying that, those number depends how the Software is tryign to access client and server. network slowness is nothing to do wth that,..

what sort of problem you having with ssh ??

is this something like = user try to login, but after putting password, its takes long to authenticate ??
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:
Suggested Courses

631 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