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.

Sysstat plugin package posted (system statistics and charting)

Featured Replies

sysstat+unraid-0.0.06-i386-bubba.tgz

 

  http://www.tcpatools.com/bubba/sysstat+unraid-0.0.06-i386-bubba.tgz

 

This plugin includes components of:

 - Sysstat 9.1.4

 - Ploticus 2.41

 - libpng 1.4.3

 

Man pages and other deadwood have been stripped.

 

Changelog:

=====================

0.0.6 - added CPU temps, and historical data

0.0.4 - Fixed text leakage to console.  Now you can select disk devices not in the array for disk graph.  Better startup images. Various bug fixes.

0.0.3 - Improved x-axis labels.  Adds selector for units (mbps or kBps) for network graph. Added "total" to network graph.

0.0.2 - Adds graphs for network and disk activity, and gives you some control over the charting parameters.

0.0.1 - Initial release for testing.

 

Known Bugs:

=====================

There is a problem using sar data across midnight... data will stop at 23:59.59, so you can't plot data across midnight.

 

To Do:

=====================

- add some managment of historical data files

- disk comparisons (plot 2 disks on one graph)

- support eth1 and eth2 in addition to eth0

- add environmental parameters (temps and fan speeds)

- better start-up messages in browser when starting hires collection

- hide debug window.

- use a fixed start/stop endpoints (i.e. static graph)

omg1.jpg.3e2e71909c0c039dc832cc6e5cf47f29.jpg

Looks mightily impressive.

 

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

Nice work as always

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

MegaBytes, not megabits, I'd suggest.

  • Author

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

Sysstat logs in kB/sec and there is no way to change that.  I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit).

 

For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple.

 

 

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

MegaBytes, not megabits, I'd suggest.

 

Definately not. Users know about bits not bytes for 100 meg and 1000 meg in NIC land and the same in internet connection land

 

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

Sysstat logs in kB/sec and there is no way to change that.  I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit).

 

For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple.

 

Understood

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

MegaBytes, not megabits, I'd suggest.

 

Definately not. Users know about bits not bytes for 100 meg and 1000 meg in NIC land and the same in internet connection land

 

Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures.

 

Sysstat logs in kB/sec and there is no way to change that.  I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit).

 

For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple.

 

Understood

 

MB/sec is used in disk land.

And so we end where we began.

 

In essence this is a good example of the problem.

 

My preference is clear in favour of something n00b friendly.

 

If they have a 100Mbit network card they want to see 65Mb not 8.125MB. Equally if they are transferring a file over the network they probably want to see speed in terms of NIC speed, again Mb.

 

Now you will say but if they see a 55MB file they dont want to see 440Mb. Very valid I simply know from experince its the network part that trips them up most. YMMV

 

Note: I specifically never started on 1024 vs 1000 or MiB cause thats just more confusion. You get my point without making it more complciated

 

BubbaQ will have a strong opinion on this so in the end im sure he will decide. All i want was to get my point accross.

Or, if feasible, offer an option to config in different units -- in which case, I don't care what the defaults are!  ;D

  • Author

It will be a configuration option.

  • Author

BTW, there is a problem going around the midnight... data will stop at 23:59.59, so you can't plot data across midnight.

  • Author

New version posted, that includes units selection for network graph.

 

See OP for details.

I haven't used this yet, but wanted to say nice work, the efforts are appreciated.

 

My new hardware arrived today, so it may be a while until I get the time to use it.

  • Author

New version posted.  See OP for link.

 

0.0.4 - Fixed text leakage to console.  Now you can select disk devices not in the array for disk graph.  Better startup images. Various bug fixes.

  • Author

I have a new version of the Sysstat plugin almost ready, which does historical data over several days and launches data collection via cron.

 

The low-resolution historical data is being collected with one sample every 10 minutes. Each sample is about 3k of data, and will be larger for people with many drives.

 

The historical data is collected in /var/log/sa/ and the datafile is named per day, as "sayyyymmdd" so the file "sa20100821" is for the Aug 21, 2010 data.

 

The problem is where to keep the historical data which is about 400k per day.  If you save it to an array drive, it will keep the drive spun up since it writes every 10 minutes.  If you leave it in /var/log/sa/ then it is gone when you reboot.  If you are like me, and leave the cache drive spinning 24x7, the cache drive makes a good place.

 

I'm thinking about a mover-type system that would run just after midnight to relocate any historical data files from /var/log/sa/ to a permanent (nonvolitle) location.  

 

Suggestions?

i1.jpg.6989c6702e3e63dc5f125d74ced3b6cb.jpg

I'm thinking about a mover-type system that would run just after midnight to relocate any historical data files from /var/log/sa/ to a permanent (nonvolitle) location. 

 

This is the only way I see it unless you have some install option in the doinst.sh to set a symlink from /var/log/sa/ to the permanent location.

I like S/W that lets user decide what to do, rather than dictating what the user must do, all or combinations of the below options could be used.

 

Options I can see are:

 

1. Test for a cache drive and use that if available.

2. Use flash and transfer to array whenever the array spins up.

3. Via mover like script when flash hits XX%.

4. Via mover like script at xx:xx hours.

5. Whenever array is stopped dump it to the array.

6. Just let it flush away on reboot.

 

  • Author

I like S/W that lets user decide what to do, rather than dictating what the user must do,

 

And I want a new hose, and a new car, and a pony too!

 

As of now it will just save the history to /var/log/sa... if you reboot... then tough bananas.  If you want to preserve the history through a reboot, you'll have to do it yourself.  Users can create a symlink if they want it somewhere else.

 

 

You want a new hose? Dude thats way too much info...as for the pony, well I'm lost for words.

 

:D

 

  • Author

New version posted... see OP for link

 

This version adds CPU temps and historical data.  It sets up historical data collection via cron.

  • 11 months later...

Any chance you want to make this a plugin for V.5?

  • Author
Any chance you want to make this a plugin for V.5?

 

It already is.  It shows up in the 5.0 "UTIL" tab.

Dur - didn't realise it was posted in the 5 Beta section.

 

Very nice! Few questions for you..

 

Where exactly does it store the information it collects, and are those images generated on the fly?

 

Any chance we can get those tick boxes to stick (eg write to conf file)

 

Can you remove the black borders so they can be styled via CSS instead?

 

Can you add another line break after the options, the first graph is hard up against the refresh button.

 

Also, any chance to remove the debug window?

 

 

 

I like very much ;) 

Very cool - I was looking at doing something similar with sysstat, but I didn't like how it generated images. However, doesn't look too bad!

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.