Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Building a physical CPU load monitor

Featured Replies

Hopefully I have posted this in the correct section

 

Has anyone or can anyone help with converting the python code on this link below to enable a physical CPU load monitor

 

https://blogs.oracle.com/ksplice/entry/building_a_physical_cpu_load

 

I already have my unRAID setup and a few other rack cases for which I am building a custom rack setup, as part of that I would like a few monitoring devices that can give me some info at a glance.

 

I know general use of unRAID wont result in high loads, but as I use the Plex Media Server plugin, I would like to know when the CPU load is maxing out.

 

Unfortunately I am near useless with python/linux applications and need some pointers as to how to implement this setup.

Don't really need it to monitor plex, which will be near zero or near 100%, regardless of cpu.

Don't really need it to monitor plex, which will be near zero or near 100%, regardless of cpu.

 

Oh its completely needless, its just that I want it

Don't really need it to monitor plex, which will be near zero or near 100%, regardless of cpu.

 

+1

 

As a rule of thumb: if Plex is not transcoding video it is using little to no CPU. If it's transcoding it will be using 100%.

Don't really need it to monitor plex, which will be near zero or near 100%, regardless of cpu.

 

+1

 

As a rule of thumb: if Plex is not transcoding video it is using little to no CPU. If it's transcoding it will be using 100%.

 

ok you both got me, i was poorly trying to justify a need for it when there is absolutely none. Is it possible to create a plugin with unRAID for this?

As a rule of thumb: if Plex is not transcoding video it is using little to no CPU. If it's transcoding it will be using 100%.

Actually, that's not necessarily true anymore.  The new transcoder that Plex is using doesn't run at full capacity, but instead transcodes in chunks, making multiple transcode streams more efficient.  PlexSync transcodes, on the other hand, will max out your CPU for sure.

As a rule of thumb: if Plex is not transcoding video it is using little to no CPU. If it's transcoding it will be using 100%.

Actually, that's not necessarily true anymore.  The new transcoder that Plex is using doesn't run at full capacity, but instead transcodes in chunks, making multiple transcode streams more efficient.  PlexSync transcodes, on the other hand, will max out your CPU for sure.

 

I've not looked through the source of plex (I believe it's open source? Just basing that off XBMC), however, from the settings it seems to transcode 60 seconds ahead of the stream that's requesting it, as seen here:-

 

rH6yx7i.png

 

So, it will transcode at 100% up until it hits the 60 second mark.

Their client (Plex Media Center/Plex Home Theater) is open source.  Plex Media Server is closed source.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.