by Devin Yang
(This article was automatically translated.)

Published - 5 years ago ( Updated - 5 years ago )

can use the command:
cat /proc/net/sockstat
result:
sockets: used 4807
TCP: inuse 2190 orphan 4 tw 42 alloc 4430 mem 2247
UDP: inuse 38 mem 81
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


cwebp,bash

How do I use bash to optimize website image files and transfer images through cwebp

There are a lot of background images on the same page in my website, the download is too big, and I need to slim down. This cwebp tool is good. In the ubunut environment, apt install webp can be installed.

A little research about LineBot

There is an official EchoBot Sample with a Slim framework. After downloading, you can use composer to try it directly. After looking at the Slim code, it is not difficult to transfer to Laravel. It took less than half a day to convert him into a Laravel Project. Then through Excelify on my GitHub, I converted about 160,000 Excel dictionary file data into SQL Insert syntax, into the database. What are the restrictions and precautions for Line Bot? This article is the result of my own test.

nas

Change the admin password of the synology NAS with commands

Record how I can change the user or administrator account on the Synology NAS by command. Users need to have sufficient permissions to adjust, such as root or admin