English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 20 June 2011, 18:23   #1
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
SnoopDOS with Output File Limit

Dear all!

My Amiga freezes regularly and, although I have my idea of the culprit , I would like to actually understand what is happening... So, I installed MuLib to monitor address faults (using MuForce) and would like to use SnoopDOS to monitor, well, all the rest

My problem is that I cannot tell SnoopDOS to keep an output file of a limited size, so after a short while, it just fills up my RAM disk with its log Does anyone knows how to limit SnoopDOS size or of any other tool that could do the same but with file output limitation?

I am currently considering adding a CRON task that would erase SnoopDOS log file every minutes

Thanks!
Yann
tygre is offline  
Old 20 June 2011, 18:44   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Write the log to harddrive.

With PFS3 you can have a special type of file (it's called rollover file IIRC) with a limited size. The beginning is automatically cut off while you write to the end. Ideal for your purpose.
thomas is offline  
Old 20 June 2011, 20:42   #3
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Thanks a lot Thomas!

I don't want to write on the hard disk because my Amiga freezes and I don't know what it would do to the disk validation... I didn't know about PFS3 and rollover files, I am going to investigate that!

Cheers!
Yann
tygre is offline  
Old 20 June 2011, 22:09   #4
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
I found a version of PFS3 on Aminet, v5.3, which seems different to the one advertised on the Web...

So, because I wasn't sure, I also look on Aminet and found several "log file managers"... I think that one of them (maybe Lumberjack or LogSizer) with EZCron will do the trick ... I'll keep you posted!

Cheers!
Yann
tygre is offline  
Old 12 December 2015, 02:48   #5
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi all!

I ended up using GenTMP (from Aminet, but currently down ) and the following script line:

Rename <>NIL: Logs:THTTPd.log Archives:Logs/THTTPd.`C:GenTMP`.log

Much simpler
Cheers!
tygre is offline  
Old 12 December 2015, 12:22   #6
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Beside MuForce do you run MuGuardianAngel too? Of did you found the freeze causer already?

If you write a log to RAM it is lost after freeze. Do you use a RAD to solve that?

I guess you know it already but you can config SnoopDOS to what it shall log and what not. Including tasks.
daxb is offline  
Old 12 December 2015, 16:54   #7
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi daxb!

It seems that the freeze was due to my using THTTPd with an "incompatible" version of the ixemul.library. I now use v63.1 (size: 303,612 bytes) and everything is running okay! (By okay, I mean that, once a week, my computer reboots but that's caused by THTTPd + ixemul.library and all the memory being used up...)

Cheers!
tygre is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
redirecting error output to a file jotd support.Apps 3 06 April 2023 01:59
How to redirect the output of IconX to a file tygre support.Apps 8 10 July 2011 05:29
Shell output to log file Bloodwych support.Apps 3 22 December 2009 14:03
SnoopDos lopos2000 support.Apps 6 12 July 2006 00:12
Snoopdos prog stainy request.Apps 3 04 April 2004 00:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:35.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16219 seconds with 13 queries