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


config,vim

Chinese environment of Vim on Ubuntu

If Vim is set to Chinese environment, but Ubuntu is not set to zh_TW.UTF-8 during installation, how to install this environment?

laravel

In Laravel 5.5, easy to use basic routing

Especially for friends who are studying SEO, we should know that sometimes we need to redirect 301 pages, which is provided in Laravel 5.5 The function of Route::redirect is quite simple. In addition, using Route::view is also very useful for the layout of static pages.

Synology,siri

Turn on synology nas with Siri

I have two Synology NAS at home. One of the Nas for backup is usually turned off. I’m not sure if turning it on and off every day will hurt the machine, but I’m sure if it’s not turned off for 24 hours, it will hurt the hard drive. The hard drive for business is about 5~ It will be replaced in 6 years, and this Nas is usually used for nothing and consumes power. Therefore, at this stage, I only let it automatically turn on at a fixed time to receive backup data.