mickle026 650 Posted May 14, 2025 Posted May 14, 2025 (edited) I have coded this as a distraction, I have no means to test it on Linux or Mac It works fine on my Windows 11 machine, needless to say no guarantees for other users machines This is really just for fun at the moment as I don't have a lot of free time to spend on this. Thanks to @jaspalgillfor providing me with a sample output from Linux. Its considered and Alpha release (unfinished, untested in all environments), although you are welcome to test it & give me feedback It should stop requesting updates when you navigate away or hide the page and resume when you come back (no guarantees!) CPUMonitorEmbyPlugin.mp4 CPUMonitor.dll Edited May 14, 2025 by mickle026 2
Apotropaic 41 Posted May 14, 2025 Posted May 14, 2025 Still not seeing any output, I wonder if the account emby is running under can't access or execute the commands to pull in the cpu info? I can't see anything in the emby log from the plugin. I had the reverse issue with another plugin where emby installs it's own linux equivalent of dll's when you first install the server and my script within emby was using the libraries the emby developers had installed instead of the system executables. I fixed it by changing how the paths worked in my script, not sure what's possible from within a plugin environment.
mickle026 650 Posted May 14, 2025 Author Posted May 14, 2025 33 minutes ago, jaspalgill said: Still not seeing any output, I wonder if the account emby is running under can't access or execute the commands to pull in the cpu info? I can't see anything in the emby log from the plugin. I had the reverse issue with another plugin where emby installs it's own linux equivalent of dll's when you first install the server and my script within emby was using the libraries the emby developers had installed instead of the system executables. I fixed it by changing how the paths worked in my script, not sure what's possible from within a plugin environment. I can log the output and see if it's doing anything, ideally it would be good if I could see it realtime, I have a mini nuc pc in a drawer somewhere... Maybe when I have time I ought to install Linux on it.
rbjtech 5284 Posted May 14, 2025 Posted May 14, 2025 Very nice I'd be interested in what library you are using to get the info ? For me personally, live GPU (for transcoding), Storage I/O and Network info is of more interest than CPU.. 1
mickle026 650 Posted May 14, 2025 Author Posted May 14, 2025 (edited) 49 minutes ago, rbjtech said: Very nice I'd be interested in what library you are using to get the info ? For me personally, live GPU (for transcoding), Storage I/O and Network info is of more interest than CPU.. I can do all of those in windows! - not sure about linux or mac... but probably Edited May 14, 2025 by mickle026 1
mickle026 650 Posted May 14, 2025 Author Posted May 14, 2025 6 hours ago, rbjtech said: Very nice I'd be interested in what library you are using to get the info ? For me personally, live GPU (for transcoding), Storage I/O and Network info is of more interest than CPU.. Just using powershell on command line and RedirectStandardOutput, then parsing the text into an array. No libraries at all.
rbjtech 5284 Posted May 15, 2025 Posted May 15, 2025 10 hours ago, mickle026 said: Just using powershell on command line and RedirectStandardOutput, then parsing the text into an array. No libraries at all. Ah ok - thanks !
Clackdor 109 Posted May 15, 2025 Posted May 15, 2025 On 5/14/2025 at 1:04 PM, mickle026 said: I can do all of those in windows! - not sure about linux or mac... but probably I would personally be very interested in this! (I'm on windows) Seeing CPU and GPU usage stats on the emby dashboard would be extremely useful.
mickle026 650 Posted May 17, 2025 Author Posted May 17, 2025 (edited) On 15/05/2025 at 19:00, Clackdor said: I would personally be very interested in this! (I'm on windows) Seeing CPU and GPU usage stats on the emby dashboard would be extremely useful. GPU one for windows is posted here: Disk Input/Output Ops is here: Edited May 17, 2025 by mickle026 1
rbjtech 5284 Posted May 17, 2025 Posted May 17, 2025 7 hours ago, mickle026 said: GPU one for windows is posted here: Disk Input/Output Ops is here: Very cool - wasn't expecting you to add this ! Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now