{"id":6080,"date":"2016-07-27T08:46:06","date_gmt":"2016-07-27T00:46:06","guid":{"rendered":"http:\/\/rmohan.com\/?p=6080"},"modified":"2016-07-27T08:46:06","modified_gmt":"2016-07-27T00:46:06","slug":"qlogtools","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6080","title":{"rendered":"qlogtools"},"content":{"rendered":"<p>Install qlogtools<\/p>\n<p>This package is a set of tools that are useful in analyzing or producing logs from qmail and other packages. Those tools are mainly useful if you plan to make use of qmailanalog or other mail log analyzer<\/p>\n<p>A the end, you &#8216;ll have following additional commands in \/usr\/local\/bin\/<\/p>\n<p>    multipipe &#8211; Supervise an pipeline of commands<br \/>\n    multitail &#8211; Watch output sent to a file<br \/>\n    qfilelog &#8211; Log messages to a single file<br \/>\n    spipe &#8211; Supervise an pipeline of commands<br \/>\n    tai2tai64n &#8211; Convert TAI timestamps to TAI64N<br \/>\n    tai64n2tai &#8211; Convert TAI64N timestamps to TAI<br \/>\n    tai64nlocal &#8211; Convert TAI64N timestamps to human readable format<br \/>\n    tai64nfrac &#8211; Convert TAI64N timestamps to seconds since epoch<br \/>\n    teepipe &#8211; Copy stdin to a program and stdout<\/p>\n<p>cd \/downloads<br \/>\ntar zxvfp qlogtools-3.1.tar.gz<br \/>\ncd qlogtools-3.1\/<br \/>\npatch < \/downloads\/patches\/qlogtools_errno.patch\nmake\n.\/installer\n\nInstall tai64nfrac (needed by several tools you can find around the Internet)\ncd \/downloads\/\ntar -zxvf tai64nfrac-1.4.tar.gz\ncd tai64nfrac-1.4\nmake\nmake install\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install qlogtools<\/p>\n<p>This package is a set of tools that are useful in analyzing or producing logs from qmail and other packages. Those tools are mainly useful if you plan to make use of qmailanalog or other mail log analyzer<\/p>\n<p>A the end, you &#8216;ll have following additional commands in \/usr\/local\/bin\/<\/p>\n<p> multipipe &#8211; Supervise [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6080"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6080"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6080\/revisions"}],"predecessor-version":[{"id":6081,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6080\/revisions\/6081"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}