How to perform network profiling on a dedicated derver?

How to record networking data for a dedicated server? I know that the ‘netprofile enable’ and disable console command can be used to record the network data for UE clients. How to do same for a dedicated server build? Since console commands cannot be passed to dedicated server build, I am wondering how I can collect data from dedicated server for profiling.