LoginSignup
3
3

More than 5 years have passed since last update.

crashでsocketの中身見る

Posted at
crash_sample_socket
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
3
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3