The User Datagram Protocol allows computers to exchange messages -- called "datagrams" in UDP parlance -- over networks, without any guarantee of delivery or of order preservation. It is well suited for applications that do not depend on establishing explicit connections. The Linux kernel keeps an in-memory UDP buffer; incoming datagrams stay in that buffer as long as they have been received by the network adapter, not yet read by any application, and not yet overwritten by later datagrams as buffer space runs out. You can monitor the current amount of data stored in the UDP buffer on your Linux computer.
Log in to your Linux computer.
Launch a command shell by logging in with text mode or by launching a "Terminal" application from the graphical desktop.
Type the following command into the shell:
Press "Enter." The "rx_queue" entry in the output of the "cat" command will display the current number of bytes stored in the UDP buffer, as permanently monitored by the Linux kernel and made available via the special "/proc" filesystem.
- Photo Credit Hemera Technologies/AbleStock.com/Getty Images
How to Change the Sound Card Buffer Size
Buffer underruns can ruin your audio listening enjoyment on your computer. They cause glitches and sound dropouts during playback. Windows doesn't include...
How to Ping a UDP Port
Ping is a command that reaches out and asks the intended recipient if it is there and waits for an answer. The...
How to Find an IP in Ubuntu
When it comes to networking, knowing your IP address is essential. If you're new to Linux, you might not be aware just...
How to Clean a Linux Cache
Your computer's Random Access Memory stores important data about open applications along with background processes, keeping your system running smoothly. In Linux...
How to Open Ports on Laptops
In computer networks, there are 65,535 ports that can be closed or opened by the computer's owner, according to Bleeping Computer.Com. Ports...
How to Increase Ubuntu Buffers on TCP/IP
If your Ubuntu-based computer is on a network in which large files are frequently transferred, you may find that the performance of...
Features of the User Datagram Protocol
User Datagram Protocol (UDP) is a data networking protocol which has been incorporated under the architecture of the widely-used Transmission Control Protocol...