How to Find and Check Number of Connections to a Server कैसे करने के लिए और चेक संख्या कनेक्शनों की एक सर्वर में खोजें
Whenever a client connects to a server via network, a connection is established and opened on the system. जब एक ग्राहक एक सर्वर के लिए नेटवर्क के माध्यम से जोड़ता है, एक कनेक्शन की स्थापना की है और इस व्यवस्था पर खुला. On a busy high load server, the number of connections connected to the server can be run into large amount till hundreds if not thousands. एक व्यस्त उच्च लोड सर्वर पर कनेक्शन के सर्वर से कनेक्ट की संख्या में भारी मात्रा में सैकड़ों तक चलाए जा सकता है नहीं तो हजारों. Find out and get a list of connections on the server by each node, client or IP address is useful for system scaling planning, and in most cases, detect and determine whether a web server is under DoS or DDoS attack (Distributed Denial of Service), where an IP sends large amount of connections to the server. बाहर का पता लगाएं और प्रत्येक नोड, ग्राहक या आईपी पता द्वारा सर्वर पर कनेक्शनों की सूची मिल प्रणाली की योजना बना स्केलिंग के लिए उपयोगी है, और ज्यादातर मामलों में, पता लगाने और क्या एक वेब सर्वर DOS या DDoS हमले के अंतर्गत है निर्धारित (डेनियल सेवा की) वितरित है, जहां एक आईपी सर्वर से कनेक्शन की बड़ी राशि भेजता है. To check connection numbers on the server, administrators and webmasters can make use of netstat command. सर्वर, प्रशासकों और वेबमास्टरों पर netstat कमांड का प्रयोग कर सकते हैं कनेक्शन की संख्या की जाँच करने के लिए.
Below is some of the example a typically use command syntax for 'netstat' to check and show the number of connections a server has. नीचे कुछ एक आम तौर पर netstat '' के लिए जाँच करने के लिए और कनेक्शन की एक सर्वर है संख्या दिखाने आदेश वाक्यविन्यास का उपयोग उदाहरण है. Users can also use 'man netstat' command to get detailed netstat help and manual where there are lots of configurable options and flags to get meaningful lists and results. उपयोगकर्ताओं को भी 'का उपयोग कर सकते हैं आदमी netstat' कमांड विस्तृत netstat सहायता प्राप्त करने के लिए और मैनुअल जहां विन्यास विकल्प और झंडे का सार्थक सूचियों और परिणाम प्राप्त करने के लिए बहुत कुछ कर रहे हैं.
netstat -na
Display all active Internet connections to the servers and only established connections are included. इस सर्वर और सभी सक्रिय इंटरनेट कनेक्शन प्रदर्शन ही स्थापित कनेक्शन शामिल हैं.
netstat -an | grep :80 | sort
Show only active Internet connections to the server at port 80 and sort the results. पोर्ट 80 पर सर्वर करने के लिए केवल सक्रिय इंटरनेट कनेक्शन है और तरह का परिणाम है. Useful in detecting single flood by allowing users to recognize many connections coming from one IP. उपयोगकर्ताओं को कई कनेक्शन एक आईपी से आ रही पहचान करने के लिए अनुमति देकर एक बाढ़ का पता लगाने में उपयोगी.
netstat -n -p|grep SYN_REC | wc -l
Let users know how many active SYNC_REC are occurring and happening on the server. दो उपयोगकर्ताओं रहे हैं और घटनेवाला सर्वर पर हो रहा है कि कितने सक्रिय SYNC_REC पता है. The number should be pretty low, preferably less than 5. संख्या सुंदर, 5 अधिमानतः कम से कम किया जाना चाहिए. On DoS attack incident or mail bombed, the number can jump to twins. DOS हमले की घटना या मेल पर, संख्या जुड़वाँ को कूद कर सकते हैं बमबारी. However, the value always depends on system, so a high value may be average in another server. हालांकि, कीमत हमेशा सिस्टम पर है, तो एक उच्च मूल्य दूसरे सर्वर में औसत किया जा सकता है निर्भर करता है.
netstat -n -p | grep SYN_REC | sort -u
List out the all IP addresses involved instead of just count. इस सब के बदले शामिल आईपी पते बस गिनती बाहर सूची.
netstat -n -p | grep SYN_REC | awk '{print $5}' | awk -F: '{print $1}'
List all the unique IP addresses of the node that are sending SYN_REC connection status. इस नोड कि SYN_REC कनेक्शन स्थिति भेज रहे हैं की सूची सभी अद्वितीय आईपी पते.
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Use netstat command to calculate and count the number of connections each IP address makes to the server. का प्रयोग करें netstat कमान की गणना करने के लिए और कनेक्शन के प्रत्येक आईपी पता सर्वर से बनाता संख्या गिनती.
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
List count of number of connections the IPs are connected to the server using TCP or UDP protocol. इस आईपी सर्वर TCP या UDP प्रोटोकॉल का उपयोग करने के लिए जुड़े हुए हैं कनेक्शनों की संख्या की सूची गिनती.
netstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr
Check on ESTABLISHED connections instead of all connections, and displays the connections count for each IP. सभी कनेक्शनों के बजाय स्थापना कनेक्शनों पर, चेक और प्रदर्शित करता है कि कनेक्शन प्रत्येक आईपी के लिए गिनती.
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 ( netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
Show and list IP address and its connection count that connect to port 80 on the server. दिखाएँ और सूची IP पता और उसके संबंध गिनती कि बंदरगाह 80 के लिए सर्वर पर कनेक्ट. Port 80 is used mainly by HTTP web page request. पोर्ट 80 मुख्यतः HTTP वेब पृष्ठ का अनुरोध द्वारा प्रयोग किया जाता है.
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: इस पृष्ठ है मशीन अनुवाद प्रदान की और "" के रूप में वारंटी के बिना है. Machine translation may be difficult to understand. मशीन अनुवाद को समझने में मुश्किल हो सकती है. Please refer to कृपया देखें original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव हो सकता है.
Related Articles संबंधित लेख
- How to Check if Telnet Is Running on a Server कैसे की जाँच करने के लिए यदि Telnet एक सर्वर पर चल रहा है
- How to Check Memory Usage in Linux based Server कैसे सर्वर आधारित Linux में मेमोरी उपयोग की जाँच करने के लिए
- Error Has Occurred While Establishing A Connection To SQL Server 2005 Which Does Not Allow Local and Remote Connections त्रुटि SQL सर्वर 2005 के लिए कौन सा नहीं की अनुमति दें है एक कनेक्शन की स्थापना हुई है जबकि स्थानीय और दूरस्थ कनेक्सन्स
- Tweak (Increase or Change) Maximum Simultaneous HTTP and Downloads Connections to Web Server Tweak (बढ़ाएँ या बदलें) अधिकतम युगपत HTTP और डाउनलोड कनेक्सन्स वेब सर्वर में
- How to Check and Identify Which Application is Listening or Opening Port 80 and 443 on Windows कैसे की जाँच करने के लिए और कौन से अनुप्रयोग पहचानें या Windows पर खुलने पोर्ट 80 और 443 सुन रही है
- Monitor and Check Web Site or Server Uptime and Availability for Free मॉनिटर और चेक वेब साइट या सर्वर Uptime और उपलब्धता के लिए मुक्त
- Limit Maximum TCP Connections to Web Servers सीमा अधिकतम टीसीपी कनेक्सन्स वेब सर्वर करने के लिए
- Using PHP-MySQL Persistent Connections to Run WordPress Blog का प्रयोग PHP-MySQL लगातार कनेक्सन्स भागो WordPress करने के लिए ब्लॉग
- Remote Connections Manager for RDP, VNC, SSH, RLogin and More mRemote Free Download दूरस्थ कनेक्सन्स प्रबंधक RDP, VNC, SSH, RLogin और अतिरिक्त mRemote के लिए मुफ्त डाउनलोड
- Easily Maintain Multiple Remote Desktop Connections with visionapp Remote Desktop (vRD) आसानी से visionapp दूरस्थ डेस्कटॉप के साथ एकाधिक दूरस्थ डेस्कटॉप कनेक्सन्स रखरखाव () vRD










































November 13th, 2008 18:05 13 नवंबर, 2008 18:05
[...] (sursa: [...] (Sursa: http://www.mydigitallife.info/2007/12/13/how-to-find-and-check-number-of-connections-to-a-server/ http://www.mydigitallife.info/2007/12/13/how-to-find-and-check-number-of-connections-to-a-server/ ) [...] ) [...]
July 3rd, 2008 19:24 3 जुलाई, 2008 19:24
Thank you very much, I have been under attack and thanks to list list of such useful info I am now clean! बहुत बहुत धन्यवाद, मैं हमले और धन्यवाद के तहत अब मैं साफ कर रहा हूँ ऐसी उपयोगी जानकारी की सूची सूची में किया गया है!
April 24th, 2008 13:38 अप्रैल, 24 2008 13:38
Thank you, really useful for defending attacker , सच हमलावर बचाव के लिए उपयोगी धन्यवाद