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.

Any way to watch real-time CPU loading on my server?

Featured Replies

I'm curious to see exactly how hard my server is working- particularly during PLEX transcoding, downloading, file copying, mover operations, etc....

 

Is there any way to see this; realt-time, preferably via the http interface but I could use telnet command line if necessary.

If you have unMenu, it packages htop which is a nicer version of top.  Both are telnet.  I believe Dynamix provides cpu loading via a web UI, check it out in the User Customizations forum.

I also like htop as it shows the memory usage plus CPU loading.  If you want to see your processor shifting speeds, you can also open a separate telnet window to your server and use the following command. This can be useful if you are tuning the "CPU Scaling".  More info http://lime-technology.com/forum/index.php?topic=25127.msg218295#msg218295

 

watch grep \"cpu MHz\" /proc/cpuinfo

 

You will get an updating report of the current CPU speed.  Below is an example.  Use Cntrl-C to exit.

 

Every 2.0s: grep "cpu MHz" /proc/cpuinfo                Wed Aug 20 21:28:31 2014

cpu MHz         : 800.000
cpu MHz         : 800.000
cpu MHz         : 3000.000
cpu MHz         : 800.000

 

You can change the default time from 2 seconds using the -n flag.  For example if you wanted to update the screen every half second, use -n 0.5 in the caommand.

 

watch -n 0.5 grep \"cpu MHz\" /proc/cpuinfo

 

Also, for what its worth, if you do need to tune the CPU scaling per the link above, I did. You will have to experiment for yourself to get the values you want to use.  This the portion of my script that runs at boot up to change the scaling.  You can pair it down, but I like comments.

 

# From http://lime-technology.com/forum/index.php?topic=25127.msg218295#msg218295
# 
modprobe acpi-cpufreq
modprobe cpufreq_ondemand

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

# echo 400 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
# echo 20 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo -n 25 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo -n 60 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
#
#
# To monitor cpu speed in real time, run in command window:
# watch grep \"cpu MHz\" /proc/cpuinfo
# ^C to exit

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.