Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Output possible? #40

Closed
nvanderperren opened this issue Feb 7, 2019 · 5 comments
Closed

Question: Output possible? #40

nvanderperren opened this issue Feb 7, 2019 · 5 comments

Comments

@nvanderperren
Copy link

nvanderperren commented Feb 7, 2019

I'm scanning a folder of 85 GB with Brunnhilde. It would be interesting to get some output of what's Brunnhilde doing. Now it's sometimes not clear if the software froze or is still doing something. I can follow it a bit by checking if the size of the siegfried.csv has grown, but sometimes it takes a very long time before that size changes, making it look like the software is stuck.

edit: or maybe I'm not seeing anything in the terminal because I'm using Brunnhilde GUI.

@EagleRock1313
Copy link

EagleRock1313 commented Feb 7, 2019

Hi nvanderperren,

I have had the same issue. I installed nmon to monitor the read write activity of the disk(and many other things), to make sure the program is still working. I generally open a second and third terminal window to run it. It is pretty powerful, and takes a bit of time to google around and read how others are using it. A link to the Wikipedia entry and website is here:

https://en.wikipedia.org/wiki/Nmon

Best Regards,
Sandy

@tw4l
Copy link
Owner

tw4l commented Feb 8, 2019

Hi @nvanderperren. Thanks for filing this issue! This feature is definitely high on my development to-do list for future versions of Brunnhilde, along with improvements to error reporting, handling of multi-partition disk images, and Windows support and a general cleanup/refactor of the codebase. Other projects have prevented me from putting much time into Brunnhilde lately but I'm hoping to give a first crack at Brunnhilde 2.0 this summer.

In the meantime, I do see one potential stop-gap "fix". Siegfried has an option to log current progress and time to the terminal (sf -log p,t DIR > OUTPUT.yaml). In practice, this means Siegfried will stream a continually updated list of the files it is currently scanning. This makes it much easier to verify that Siegfried is still working as intended and not hung up or errored. I could add a new flag to Brunnhilde that would enable this setting in Siegfried. This should help, as the Siegfried scan tends to be the longest and most opaque process Brunnhilde runs. The downside I can see is that for a large scan this would mean that a very large amount of information is logged to the terminal, but if this functionality is optional and turned off by default that might be okay.

What do you think?

@nvanderperren
Copy link
Author

That's a good fix for me! Thanks for your answer.

@tw4l
Copy link
Owner

tw4l commented Feb 9, 2019

Okay, I just pushed out a 1.8.1 release with this patch! Try upgrading on your machine with:

pip install --upgrade brunnhilde

Closing this issue but feel free to leave any comments or re-open if you run into unexpected behavior!

@tw4l tw4l closed this as completed Feb 9, 2019
@tw4l
Copy link
Owner

tw4l commented Feb 9, 2019

(I should add, the patch adds a -v or --verbosesf argument which will enable the verbose Siegfried logging to the terminal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants