1 Star 0 Fork 0

pelin0963 / MemProcFS.wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
FS_SysInfo_Network.md 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
ufrisk 提交于 2023-03-02 18:21 . Guide Update

The sys/net directory

The directory sys/net exists as a sub-directory to the file system root.

The directory contains networking related information.

The files in the sys/net directory are listed in the table below:

File Description
net/netstat.txt Netstat list of TCP connections.
net/netstat-v.txt Netstat verbose version - also list time, kernel object address and process image path.

Files in the sys/net directory are read-only.

File: net/netstat.txt

The file net/netstat.txt contains a listing of active TCP connections similar to netstat -ano.

TCPv4  10.8.0.101:53176  10.8.0.5:445          ESTABLISHED      4  System
TCPv4  127.0.0.1:58326   127.0.0.1:58325       ESTABLISHED   2936  firefox.exe
TCPv4  10.8.0.101:57372  40.67.251.132:443     ESTABLISHED   3796  svchost.exe
TCPv4  10.8.0.101:58523  169.254.164.112:7680  SYN_SENT      4192  svchost.exe
TCPv6  [::1]:58228       [::1]:28473           ESTABLISHED  10416  MemProcFS.exe
TCPv6  [::1]:58231       [::1]:28473           ESTABLISHED  10416  MemProcFS.exe
TCPv4  10.8.0.101:57644  13.93.117.220:443     ESTABLISHED  11824  vsls-agent.exe
TCPv4  127.0.0.1:57949   127.0.0.1:57950       ESTABLISHED  13192  firefox.exe
TCPv6  [::1]:28473       [::1]:58231           ESTABLISHED  17180  leechagent.exe
TCPv6  [::1]:28473       [::1]:58228           ESTABLISHED  17180  leechagent.exe
...

Example

The example shows the sys/net directory and the ordinary non-verbose networking information.

[[resources/root_sysinfo_net.png]]

For Developers

The sys/net sub-directory is implemented as a built-in native C-code plugin. The plugin source is located in the file modules/m_sys_net.c in the vmm project.

1
https://gitee.com/pelin0963/MemProcFS-wiki.git
git@gitee.com:pelin0963/MemProcFS-wiki.git
pelin0963
MemProcFS-wiki
MemProcFS.wiki
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891