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


certbot,letencrypt

Manually update the full record of Whildcard certificate, tips on how to automatically update unbelievable

I wrote this record of manual update first, because I think about the future and then write an automatic update. That's how you have a control group. If we have used Let's encrypt to apply for a whildcard certificate, we will definitely find this passage after the successful application.

nvidia,gpu,cli

Find out what graphics card is used in the computer

What command can be used to check graphics card information? nvidia-smi

Synology,haproxy

Use HAProxy to remove the /mail path of the Sysnolgy Mail Station

This article explains the version of DSM7. The Package Center of Synology Nas provides two Mail Servers, one is Synology Mail Server and the other is Synology MailPlus. For me, the advantage of Synology MailPlus is that he can easily specify a domain name in the login portal, but it is limited to a maximum of five accounts, and if there are more accounts, you will have to buy a license. If you use Synoloyg Mail Server, there will be no limit on the number of accounts, but it does not integrate the login portal. If you install the webmail of Mail Station, there will be an additional path of /mail in the directory of the website. Although it is not in the way, but I just do not like it.