02-27-2011
How can I monitor network in CentOS .5.5 , my application refuse to read sockets
Hi
I have wired problem with one of my applications (servers ) , its suddenly starts to read socket and before it written back , the connection is closed
this is what I see in my logs . is there any took in Linux centos that lets me see what is happening in this time frame ?
9 More Discussions You Might Find Interesting
1. Programming
I am developing a Network Appliation to monitor computers in a network.
Specs are
App monitors the current web page viewed in each system
App also can shutdown the computer in the network
App can show all process run by each computer in the network
I am now confused how to start my... (2 Replies)
Discussion started by: valaparambil88
2 Replies
2. Linux
Hi,
For some reason my network card started going 10Mb/s half duplex instead of 1000Mb/s full duplex. System is connected to 8x1Gb HP switch.
Other devices connect fine through the switch and get full 1Gb network.
I have Centos 5 with all updates. Driver comes from elrepo and as well is... (1 Reply)
Discussion started by: columb
1 Replies
3. Programming
I am trying to make a server and client, the client will choose between some options and the server will react accordingly.
After a some reads and writes that work the server needs to read from client an INT i use this:
read(newSd,&k,sizeof(int));But even if all the other times there was no... (1 Reply)
Discussion started by: theSling
1 Replies
4. AIX
I have configured a custom application monitor with restart count = 3.
say the application has restarted 2 times, if the application fail 2 more times within restart interval, it will failover.
Is there any counter to tell me the recent restart count?
Thanks!! (1 Reply)
Discussion started by: skeyeung
1 Replies
5. Red Hat
I was testing Networking Teaming (activebackup) with a VM hosted on VmWare Workstation and VirtualBox, and the result is, if the active interface is down, the system is not using the backup interface.
Tested on both CentOS / RHEL 7
Please find below the command I have used to configure teaming.... (0 Replies)
Discussion started by: atanubanerji
0 Replies
6. Web Development
Hi All,
Frankly I'm new to Linux Environment. While we are trying to Host an ASP.NET 5 Web Application on Centos OS7 Web hosting Server. There were couple of steps which we are supposed to go through, please see this link -
We are stuck at Create a Container & then Running the Container,... (1 Reply)
Discussion started by: John Fredric
1 Replies
7. Emergency UNIX and Linux Support
Hi all,
I need to add domain and search parameters to resolv.conf, however network manager overwrites.
Setting the PEERDNS=No in the interface file seems to have no effect on this behaviour.
Sadly I cannot just disable NM as these are not my hosts, I'm just attempting to install a platform... (3 Replies)
Discussion started by: Skrynesaver
3 Replies
8. IP Networking
My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
9. Infrastructure Monitoring
After setting up MQTT and testing some ESP8266 and ESP32 modules, where I noted that testing in Programming ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages, I was so impressed with MQTT that I installed MQTT on three different computers, instantly and... (2 Replies)
Discussion started by: Neo
2 Replies
icmp(7) Miscellaneous Information Manual icmp(7)
NAME
icmp - Internet Control Message Protocol
SYNOPSIS
#include <sys/socket.h> #include <netinet/in.h>
The following is the socket call for sockets using the IPv4 address format:
s = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
The following is the socket call for sockets using the IPv6 address format: s = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
DESCRIPTION
The Internet Control Message Protocol (ICMP) is the error and control message protocol used by the Internet Protocol (IP) and the Internet
Protocol family. It may be accessed through a raw socket for network monitoring and diagnostic functions. ICMP sockets are connection-
less, and are normally used with the sendto() and recvfrom() functions. The connect() function may also be used to fix the destination for
future packets, in which case the read() or recv() and write() or send() functions may be used.
Outgoing packets automatically have an IP header prepended to them (based on the destination address). Incoming packets are received with
the IP header and options intact.
ERRORS
If a socket operation fails, errno may be set to one of the following values: The socket is already connected. This error occurs when try-
ing to establish connection on a socket or when trying to send a datagram with the destination address specified. The destination address
of a datagram was not specified, and the socket has not been connected. The system ran out of memory for an internal data structure. An
attempt was made to create a socket with a network address for which no network interface exists.
RELATED INFORMATION
Functions: send(2), recv(2)
Files: netintro(7), inet(7), ip(7)
RFC 792, "Internet Control Message Protocol"
RFC 2463, "Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6)" delim off
icmp(7)