Created
March 3, 2012 14:21
-
-
Save kshimo69/1966433 to your computer and use it in GitHub Desktop.
crashでsocketの中身見る ref: http://qiita.com/items/2977
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crash> ps | grep sshd | |
3475 3642 0 ffff810012598040 IN 0.6 90120 3380 sshd | |
3642 1 0 ffff81001906f7e0 IN 0.2 62616 1212 sshd | |
4254 3642 0 ffff81000e60d860 IN 0.6 90120 3376 sshd | |
crash> net -s 3475 | |
PID: 3475 TASK: ffff810012598040 CPU: 0 COMMAND: "sshd" | |
FD SOCKET SOCK FAMILY:TYPE SOURCE-PORT DESTINATION-PORT | |
3 ffff81000f182800 ffff81000ecbb380 INET:STREAM xxx.xxx.xxx.xxx-22 yyy.yyy.yyy.yyy-1523 | |
6 ffff81000ee41840 ffff81000ecbb980 INET:STREAM 127.0.0.1-6010 0.0.0.0-0 | |
crash> struct socket ffff81000f182800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment