sysprocesses table - net_address ???

  • In Sysprocesses table corresponding to net_address colum values, how to find the corresponding ip addresss. I have tried with arp -a at command prompt to relate net_address and IP. But corresponding to most of the entiries in net_address column am not able to find matching ip address with arp -a..

     

    can anybody help me in resolving all net_address column values to ip address

     

    subhash


    subban

  • You could write a batch file to loop though and ping all IPs on your network, which would then fill the arp cache with IP to MAC address mappings...

  • But for most of the entries in net_address column there is no matchin entry in app -a command


    subban

  • entries in the arp table get removed every 2 min or so (on win 2000), if no traffic from host to the net_address. you may need to run arp -a while the connection from the net_address in question is active, or very soon after.

  • i have tried running  both the command at the same time (arp -a), still i couldn't find a matching


    subban

  • If IP address is the one u want, try using the sys.dm_exec_connections. This can be joined with Sys.SysProcesses to identify the IP address. (..... SQL 2005)

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply