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


iOS,Android

2020 Android vs iPhone Voice Assistant Showdown

Recently, before Apple's iPhone 12 went on sale, I rushed to Sony's xperia 5 II, which was first launched on 10/07. As an Apple user for many years, after the battery door incident, I don't really like Apple's style of asking for money. For a developer, I always hope that he can support PWA, but he has not done it for several years. Guess I also know that for the profit of their store, they just don't support it... Then I will switch to Android...

MacOS

How do I compile tree instructions on MacOS?

I believe that Linux users have probably used the tree command. We can directly install the tree command through homebrew. But if we want to compile and install by ourselves, how should we do it? This article introduces how to compile tree instructions and install on your own MacOS.  

raspberry,wifi

Is Raspberry Pi connected to a mobile power supply and connected to an iPhone a laptop?

Is a Raspberry connected to a power bank and an iPhone considered a laptop? :p