Feb. 10th, 2009

swestrup: (Default)
I've got a process that I'd like to monitor that, in debug mode, will issue a semi-infinite list of debug messages to stout.  What I would like to do is have it run in the background and output to some sort of ring-buffer file that only keeps the last 100K or so of output. That way I can occasionally check in on it with a tail -f command without worrying about my hard drive filling with a single huge file.

So, is there such a ring-buffer utility in Linux. I simply assumed that such a thing would exist (after all, dmesg is a ring buffer), but I've not had any luck looking for it. So, does such a file utility exist, or not?
swestrup: (Default)
Two doors down from us lives a feisty old lady who's a retired nurse and who whiles away her time doing things like working her passage on a tramp steamer (and fighting off pirates!) and smuggling $40,000 worth of drugs into Siberia for Doctors without Borders, so it would actually get where it was destined without being confiscated somewhere along the line.

Anyway, her advice for dealing with my cold was to drink LOTS of vodka mixed with hot liquids. I'm on my first Tea-and-Vodka toddy now and either this cold has really lowered my alcohol resistance or the combination is particularly potent, but I'm having a hard time even seeing straight enough to type. (so you know the cause of any typos in this message).

I'm currently trying to decide if I want to try to have a second toddy, or if I'll simply collapse into bed after finishing this one. In either case, I can't say I'm exactly comfortable right now, but I'm certainly feeling no pain.
swestrup: (Default)
If aliens were to observe me now, they could only conclude that my main purpose in life is to convert pristine facial tissues into gooey messes.

January 2017

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 8th, 2025 05:05 pm
Powered by Dreamwidth Studios