Tuesday, September 13, 2005

Manually Run Urchin Reports

by damonp on September 13, 2005

in SysAdmin

  1. Log into the Urchin admin panel.
  2. Change the Log File Path to ‘-’ for the selected profile. Copy down the current log file path to replace when finished.
  3. Clear out any recent logs with the command (the path to Urchin may vary on your system):

    /usr/local/urchin/util/udb-sanitizer -p profilename -d YYYYMM

    Follow the directions given by udb-sanitizer. One or more days may be cleared, a whole month may be cleared or the data can be rolled back using any available backups.

  4. Run the Urchin report with:

    /usr/local/urchin/bin/urchin -p profilename < /full/path/to/log/file
  5. Start with the oldest logs first and work back to the current log file. On most systems the log files are named access_log access_log.1 access_log.2.gz access_log.3.gz in increasing age order. Gzip’d files need unzipped beforehand
  6. Change the Log File Path back to the original path as copied down in Step #2.

Popularity: 1%

{ 0 comments }

Textmate Lorem ipsum dolor Filler Text

by damonp on September 13, 2005

in Snippets

To generate a paragraph of Lorem ipsum dolor filler text in Textmate just type lorem and hit Tab.

lorem <tab>

Will produce:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Popularity: 3%

{ 0 comments }