Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the best-selling Take Control ebooks.

 

 

Pick an apple! 
 
Syslogd Overwhelming Your Computer?

If your Leopard (Mac OS X 10.5) system is unexpectedly sluggish, logging might be the culprit. Run Activity Monitor (Applications/Utilities/ folder), and click the CPU column twice to get it to show most to least activity. If syslogd is at the top of the list, there's a fix. Syslogd tracks informational messages produced by software and writes them to the asl.db, a file in your Unix /var/log/ directory. It's a known problem that syslogd can run amok. There's a fix: deleting the asl.db file.

Launch Terminal (from the same Utilities folder), and enter these commands exactly as written, entering your administrative password when prompted:

sudo launchctl stop com.apple.syslogd

sudo rm /var/log/asl.db

sudo launchctl start com.apple.syslogd

Your system should settle down to normal. For more information, follow the link.

Visit Discussion of syslogd problem at Smarticus

 

 

Related Articles

 

 

AppleScript Gets a Truly Definitive Guide

Send Article to a Friend

AppleScript is Apple's system-level programming language for driving and automating applications. It was first made available as an option for the ill-fated System 7 Pro in late 1993; shortly thereafter Apple came to its senses and AppleScript has been present in every new system and on every new Mac since then. Meanwhile, the lack of proper documentation for AppleScript has been astounding. Danny Goodman made an early attempt, but it wasn't up to the standard of his brilliant HyperCard book, and Apple's own manual is often surprisingly vague, allusive, and incomplete.

<http://db.tidbits.com/article/02388>
<http://www.dannyg.com/pubs/>
<http://developer.apple.com/documentation/ AppleScript/Conceptual/ AppleScriptLangGuide/>

Which brings us to my latest book, AppleScript: The Definitive Guide, published by O'Reilly & Associates. AppleScript is a fairly small language, but I was amazed by how difficult it was to write this book! It took more than twice as long as I'd expected. My approach, as readers of my Frontier and REALbasic books know, is not to rely on documentation, but to bang away at the language itself, testing and experimenting, trying to deduce the underlying rules. Well, the underlying rules of AppleScript turn out to be really strange. As a result, my book contains a great deal of material I never knew before and have never seen documented elsewhere. And, needless to say, I present it all in my usual ruthlessly Euclidean manner - with the usual measure of hidden humor, of course.

<http://www.oreilly.com/catalog/applescpttdg/>

This book teaches AppleScript to beginners and explains it to experts; it's an assessment, a guide, and a reference. If you've been curious all these years, or want to get into AppleScript for whatever reason (perhaps to take advantage of AppleScript Studio to write your own apps), or if you're an AppleScript user but would like to put your understanding on firmer ground, I hope you'll consider asking Santa for AppleScript: The Definitive Guide. It lists for $40, but you can get it for $28 at Amazon and support TidBITS with the affiliate percentage at the same time.

<http://www.amazon.com/exec/obidos/ASIN/ 0596005571/tidbitselectro00/ref%3Dnosim/>

 

Fujitsu ScanSnap Scanners — Get on the path to paperless bliss!
Convert double-sided documents to PDF with the one-button ScanSnap.
Scan documents, business cards, and receipts, and eliminate
paper piles from your desk. Visit us at: <http://www.ez.com/sstb>