# How do I network profile a dedicated server

**URL:** <https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, dedicated-server, profiler, development-server, unreal-engine, question\
**Created:** [February 9, 2018, 6:42pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886 "2018-02-09T18:42:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DynamiteDan2012](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DynamiteDan2012](https://forums.unrealengine.com/u/DynamiteDan2012)\
**Post date:** [February 9, 2018, 6:42pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886/1 "2018-02-09T18:42:01Z")

</div>

Hi all I currently have a project running on a dedicated server and want to debug its network performance.

With the dedicated server running and clients connected I can run netprofile from the command prompt and create a network profile from the client. However this does not give me all the information i need. How can I run netprofile on the dedicated server itself and get information from the server.

Thanks.

---

<div class="post-metadata">

**Author:** ![Orakga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orakga](https://forums.unrealengine.com/u/Orakga)\
**Post date:** [February 21, 2018, 5:54pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886/2 "2018-02-21T17:54:25Z")

</div>

I have the same question. I haven’t been able to find the answer to this either.

---

<div class="post-metadata">

**Author:** ![Gnurr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gnurr](https://forums.unrealengine.com/u/Gnurr)\
**Post date:** [February 25, 2018, 12:12pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886/3 "2018-02-25T12:12:06Z")

</div>

If starting the server with the netprofiler constantly running is an option you could use the command line option on server startup: networkprofiler=true  
(the same way you would pass -log or LOG=myserverlog.txt , etc)  
 → didn’t try it on an actually deployed standalone dedicated server, but it shouldn’t be different I guess?

or another approach that I think would work would be to make a ServerRPC from the client (bound to some debug input) which executes the netprofile command on the server.  
(something like GetWorld()-\>Exec(GetWorld(), TEXT(“netprofile”)); )

(both approaches would assume that USE\_NETWORK\_PROFILER is not deactivated in the build process)

---

<div class="post-metadata">

**Author:** ![Orakga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orakga](https://forums.unrealengine.com/u/Orakga)\
**Post date:** [February 26, 2018, 7:33pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886/4 "2018-02-26T19:33:37Z")

</div>

Thank you so much for this.  
I’ve confirmed that it works (at least the command-line option does).

---

<div class="post-metadata">

**Author:** ![Arjun\_NoobGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arjun\_NoobGamer](https://forums.unrealengine.com/u/Arjun_NoobGamer)\
**Post date:** [April 27, 2023, 12:56pm UTC](https://forums.unrealengine.com/t/how-do-i-network-profile-a-dedicated-server/416886/5 "2023-04-27T12:56:50Z")

</div>

> [@Gnurr](#):
>
> GetWorld()-\>Exec(GetWorld(), TEXT(“netprofile”)); )

Need this in 2023. Any help will be appreciated.
