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.

File Activity Plugin - How can I figure out what keeps spinning up my disks?

Featured Replies

It this plugin still functioning? I installed it, started it and nothing appears in the file activity.

  • Replies 512
  • Views 127.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • EDACerton
    EDACerton

    I have republished both this and open files.

  • Right now, I've decided that I'm not going to fork and republish the plugins.  At this time I do have far too much on my plate to take on any additional plugins.   I do not know why the author chose t

  • Due to some personal circumstances, I am unable to keep the pace I was working with Unraid. I would not resubmit the plugin if I could not maintain it. I said I would not be able to provide a lot of s

Posted Images

  • Author
11 minutes ago, Fuggin said:

It this plugin still functioning? I installed it, started it and nothing appears in the file activity.

Yes.  I guess you don’t have any file activity.

1 hour ago, Fuggin said:

nothing appears in the file activity.

It does sometimes take a couple of min to populate 

On 9/12/2019 at 10:15 PM, dlandon said:

Yes.  I guess you don’t have any file activity.

Snarky.

I was doing file transfers and I wanted to see how it worked. Nothing showed up.

Your move.

Doubled the inotify watches, which seems to be the common theme, works.

  • Author
6 hours ago, Fuggin said:

Snarky.

I was doing file transfers and I wanted to see how it worked. Nothing showed up.

Your move.

Next time take a look at the log and see if it will tell you if there is a problem - It will.  Just posting that it doesn't work is not very productive and a waste of everyone's time.

I just installed this in v6.7.2. The file access seems to work after I press Refresh the file I had played showed up.

But, I have 5 out 8 disks that spin up every time I open the Share folder in Windows 7. I even tried with thumbnails disabled. And I have Dynamix Cache Dirs installed.

After the 5 disks spined up I noticed my total reads went up by 12. Why the heck are my drives spinning and reading just opening the share?

  • 2 months later...

How do I purge the log file this plugin creates?

  • 3 weeks later...

Firstly, thank you!

As a new UNRAID user, I find this plug-in to be invaluable. Whenever my HDDs spin up unexpectedly, this is my go-to utility.

 

My only gripe is that the four control buttons (stop, refresh, clear, done) are at the bottom of the activity list.  As more and more activity is reported, the four buttons are forced downward and we have to scroll down (perhaps, several pages) to get to the buttons.

 

Is it possible to anchor the four buttons to the top of the page?  And while we're at it, could the activity list be sorted in reverse order?  It would be nice to have the option of seeing the latest activity show up at the top of the list, instead of having to scroll to the bottom every time.

 

Any help is appreciated, and thanks again for a great plug-in!

 

  • Author
15 hours ago, sjb217 said:

Is it possible to anchor the four buttons to the top of the page?  And while we're at it, could the activity list be sorted in reverse order?

That's not consistent with how other things work in Unraid.  This operates the same as the syslog.

  • 4 months later...

is the log, which is shown in the UI, available as a text file in some folder maybe?

Can this be written to file periodically? daily for example?

I might try to load it into DB, so I can better analyse it, and optimize some jobs, so i can group the disk spin up/down activities better maybe

  • 4 weeks later...

@LSL1337 did you found another log (or file) execpt the one in the UI. I try to figure out why one of my disk got constanly disk activity.

In the UI (see screenshot #1) the plugin stopps logging disk activity at about 21:00 ... but the sleep plugin keeps telling me, that there is disk activity?! (Screenshot #2)

And - what really crashes my brain - even NOW all disks seems to be spun down correctly in the UI. (Screenshot #3)

 

 

 

file_activity.PNGstill_disk_activity.PNG

all_spun_down.PNG

Edited by Maddeen

  • 1 month later...

Is there a way to get this to show up in the Unraid GUI?  I'm assuming it should show up under Tools/Disk Utilities but there is no icon there.

I can get to it through the plugins section or by going directly to http://*.*.*.*./Tools/FileActivity so it's not such a huge issue, just would like it to be there to easily click on when needed.  Thanks for any info.

 

34 minutes ago, skoosht said:

I'm assuming it should show up under Tools/Disk Utilities but there is no icon there.

There is no Disk Utilities under Tools. Where are you seeing that?

 

File Activity is under Tools - System Information just as it says in the first post of this thread.

16 minutes ago, trurl said:

There is no Disk Utilities under Tools. Where are you seeing that?

 

File Activity is under Tools - System Information just as it says in the first post of this thread.

This is what I'm seeing, thanks.

unraid.PNG

Interesting.

 

I don't have preclear installed so I guess it creates that category. Maybe some other plugin you don't have installed creates the System Information category.

 

 

2020-07-28 16_44_20-unSERVER_Tools.png

yea interesting.  I'll try installing one of the plugins you have and see what happens :)

 

  • Author
1 hour ago, skoosht said:

yea interesting.  I'll try installing one of the plugins you have and see what happens :)

I just released an update to fix this issue.

50 minutes ago, dlandon said:

I just released an update to fix this issue.

Awesome!  Success :)

 

unraid.PNG

  • 1 month later...

Would it be possible to exclude certain paths and/or shares?

  • Author
2 hours ago, mrbusiness said:

Would it be possible to exclude certain paths and/or shares?

Currently the file activity is by physical device because it was intended to show activity on physical devices to help with spin up issues.  I have no plans on changing the way it works.

6 hours ago, mrbusiness said:

Would it be possible to exclude certain paths and/or shares?

What are you trying to accomplish? Maybe another plugin would work for you, such as Dynamix Active Streams or Open Files.

@dlandon would it be possible to only log deletes? or have an option to? I have been trying to track down rogue deletes for a long time and this plugin could greatly assist with that. or maybe add a notification upon a file delete?

 

Edit/update: I found where the log file was kept and I setup a script to run every minute to grep out the delete events and clear everything else, and then re-write the log file with only the delete events. This allows me to use the tool but only keep the deleted log events.  Awesome tool BTW!

Edited by icemansid

On 9/16/2020 at 2:53 PM, icemansid said:

@dlandon would it be possible to only log deletes? or have an option to? I have been trying to track down rogue deletes for a long time and this plugin could greatly assist with that. or maybe add a notification upon a file delete?

 

Edit/update: I found where the log file was kept and I setup a script to run every minute to grep out the delete events and clear everything else, and then re-write the log file with only the delete events. This allows me to use the tool but only keep the deleted log events.  Awesome tool BTW!

Can you point me towards where this log is stored?

8 hours ago, dtctechs said:

Can you point me towards where this log is stored?

/var/log/file.activity.log

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.