|
Stopping Sleep When MinimServer actively streaming
|
|
09-10-2025, 04:22
(This post was last modified: 09-10-2025 04:45 by chaconne.)
Post: #4
|
|||
|
|||
|
RE: Stopping Sleep When MinimServer actively streaming
If I were going to try this I would look into monitoring outgoing network traffic. For a very crude approach, run
Quote:netstat -e and parse the output. Run it every few minutes and remember the previous value, and you can calculate how many bytes were sent in that interval. This may give you some false positives if the PC is doing other work, but in that case you probably don't want it going to sleep either. You could get more precise by only monitoring the right port numbers and/or protocols, or if you're up to a little C programming you could replace netstat.exe with something more specific, but those would only be marginal improvements. P.S. I just ran a web search on powershell+monitor+network+traffic and found these links Gathering Network Statistics with PowerShell and Network Traffic Monitoring in Windows 11 Using PowerShell Have fun! |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Stopping Sleep When MinimServer actively streaming - M_C - 04-10-2025, 17:34
RE: Stopping Sleep When MinimServer actively streaming - simoncn - 04-10-2025, 20:10
RE: Stopping Sleep When MinimServer actively streaming - M_C - 04-10-2025, 20:37
RE: Stopping Sleep When MinimServer actively streaming - chaconne - 09-10-2025 04:22
RE: Stopping Sleep When MinimServer actively streaming - M_C - 09-10-2025, 08:13
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



