Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I get a list of open network sockets for kernel threads? #175

Open
yangliping opened this issue Mar 8, 2024 · 0 comments
Open

How do I get a list of open network sockets for kernel threads? #175

yangliping opened this issue Mar 8, 2024 · 0 comments

Comments

@yangliping
Copy link

I can get the open network sockets for user space process. However, when I use net -s command for kernel space process, I get nothing. I am sure that there are open sockets.

crash> net -s 5663 | head -5
PID: 5663   TASK: ffff92bfe36ce2a0  CPU: 229  COMMAND: "serf"
FD      SOCKET            SOCK       FAMILY:TYPE SOURCE-PORT DESTINATION-PORT
 1 ffff92c009c58780 ffff92c00ab3b300 UNIX:STREAM
 2 ffff92c009c58780 ffff92c00ab3b300 UNIX:STREAM
 3 ffff92bff5748500 ffff92bff08d0000 INET:STREAM  192.168.9.220-7946 0.0.0.0-0

crash> net -s
PID: 35544  TASK: ffff9241d4b83150  CPU: 137  COMMAND: "socknal_cd04"
No open sockets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant