Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


multilog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

multilog [2014/06/16 22:16] (current)
admin created
Line 1: Line 1:
 +{{tag>​[linux multilog]}}
 +~~TOC~~
 +=====Multilog - log rotating stdout=====
 +Example log P1 smart meter date log rotated logs.
 +  * s1048576 rotate at 1MB
 +  * n100 keep 100 files
 +<​code>​
 +apt-get install daemontools
 +/​usr/​local/​bin/​serialWatch.exp ttyUSB0 | multilog s1048576 n100 /​mnt/​ram/​p1data
  
 +</​code>​
multilog.txt ยท Last modified: 2014/06/16 22:16 by admin