How do I find which IP address softwareupdated daemon is downloading Mojave from?

I have started downloading macOS Mojave and went to Activity Monitor to check the download speed and it is disappointingly low. Activity Monitor shows me that a process called softwareupdated is downloading the update and the PID is 410. However doing lsof -p 410 shows me nothing. How do I proceed?


Solution 1:

lsof doesn't always show the root processes running. So sudo to be used.

sudo lsof -p PID | grep TCP

PID to be replaced with the PID(Activity Monitor is one source.). TCP can be replaced with other protocols too. For unfiltered results removed the | grep TCP part.