by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 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


d-laravel,docker

D-Laravel v1.2.1 version change description (recommended update, must avoid stepping on thunder)

D-Laravel v1.2.1 revision instructions use GuzzleHttp\Client; When posting, there is an access denied problem. If you are upgrading from an older version, you may need to adjust the configuration file in etc/default-ssl.conf (if there is one) Please adjust php:9000 to web:9000, you can adjust it by executing ./console secure once. In the docker-compose configuration file, change the PHP-FPM container to network_mode: "service:web"...

big5

PHP version of big5 to utf8 program

Do you have a large number of big5-encoded php, js or html pages that need to be transcoded? Here is my original php transcoding method, which uses PHP programs to transcode files. The transcoding of database big5 via latin1 is more complicated, so this article will not discuss it. The most important thing before transcoding is to control the version of your target folder, so that after transcoding, you can compare whether there is a normal transcoding success.  Or when there is a problem, you can also perform the restoration method.

linux,cli

How to use the date command to display yesterday's date

The instructions are different on MacOS or Linux, but achieve the same effect. Let's see how to display yesterday's date with the date command.