TORRUS_GENREPORT(8) torrus TORRUS_GENREPORT(8)NAME
genreport - Generate the Usage Report
SYNOPSIS
torrus genreport --report=ReportName --date=YYYY-MM-DD [options...] torrus genreport --genhtml [options...]
DESCRIPTION
When the Torrus Reporting engine is set up, this command is used to generate the reports from the collected data. See Torrus Reporting
Setup Guide for more information.
OPTIONS --report=ReportName
The name of the report that is to be generated. Currently supported: "MonthlyUsage".
--date=YYYY-MM-DD
Specifies the start date of the reported period. For the monthly report, this should be any day within the calendar month.
--time=hh:mm
Specifies the start time of the reported period. This option is ignored for the monthly reports.
--genhtml
Instructs the report engine to build the HTML output from the generated reports.
--tree=TREE
When used with "--genhtml", generates the HTML reports only for the specified tree.
--all2tree=TREE
When used with "--genhtml", generates the HTML reports only for all available service IDs in the specified tree.
--verbose
Prints extra informatgion.
--debug
Prints debugging information.
SEE ALSO torrus(8)NOTES
See more documentation at Torrus home page: http://torrus.org
AUTHOR
Stanislav Sinyagin <ssinyagin@yahoo.com>
torrus 2.03 2013-07-26 TORRUS_GENREPORT(8)
I have a file with some date columns in MM/DD/YYYY format:
SMPBR|DUP-DO NOT USE|NEW YORK||16105|BA5270715|6/6/2007 |MWERNER|109||||JOHN||SMITH|MD|72211118||||||74559|21 WILMINGTON RD||D|11/6/2003|SL# MD CONTACT-LIZ RICHARDS|||0|Y|N||1411458|
And I want to convert the date format to:
... (5 Replies)
Dear All,
Can someone tell me how do I setup autosys job where it needs to execute on monthly basis that too on 1st day of the month.
Thanks. (3 Replies)
Hello,
I am writing a script that parses different logs and produces one. In the source files, the date is in DD MM YYYY HH24:MI:SS format. In the output, it should be in DD MON YYY HH24:MI:SS (ie 25 Jan 2010 16:10:10)
To extract the dates, I am using shell substrings, i.e.:
read line
... (4 Replies)
I am trying to gather a report on service accounts. The report needs the account and the last time they changed there passwords date (Lastupdate). I have been doing this one by one and wondering if there is a simple for loop to gather all the information. your help is greatly appreciated. (4 Replies)
Hi all,
A file reports.txt (see attachment) contains 17 pages of patient reports. Each patient is identified by a prefix i.e. 11 and a 7 digits number. There are total six patients reports in the file. One patient report may contain multiple pages. Following are the page count of each Lab no... (6 Replies)
Hi All,
I am trying to generate a weekly HTML report using LINUX Scripting. This will have record counts of some files. (like below)
touch path/filename.html
echo "Weekly Summary Report for Business Date : $P_BUS_DT">path/filename.html
export A1=`cat path/filename1.txt |wc -l`
echo "A1... (6 Replies)
Hi,
Can some one please tell me how do I generate a report of the Memory Consumption over a time period:
HP-UX B.11.31 U ia64 0440531406 unlimited-user license
I normally use glance to monitor memory in run time.
Note: I do not have root privileges.
Thanks
Danish
... (5 Replies)
I've seen a lot of posts on this and have tried the following:
echo 1257000000| perl -e '($d,$m,$y)=(localtime(time-86400));$m+=1;$y+=1900;printf "$y/$m/$d\n";'
But I am unable to convert a past Epoch date into a format such as YYYY/MM/DD or MM/DD/YYYY.
I am using bash and don't know... (4 Replies)
I have an Output file which has the result
YYYY 95,77
YYYY
YYYY 95
YYYY 95
YYYY 95
YYYY 95
YYYY 95
YYYY 95
YYYY 95
YYYY 95
YYYY
YYYY
YYYY
YYYY
I would like to display the above along with a single line with above info. Final output should be
YYYY 95 (3 Replies)
Hi
I have a script that accepts an input date in YYYY-MM-DD format.
After that, I used sed to delete the hyphen (-) which gives me an output YYYY MM DD.
My question is, how can I assign those three numbers to a three different variable.
Example:
2013-11-23 will become 2013 11 23... (4 Replies)
Hello,
Is there a way to get a Memory Usage report of for example one month?? I do know glance -m, top, swapinfo -tam and SAM. But that's all real time memory stuff. I do want to create a report/graph for a longer period.
It concerns a Superdome 2 with HPUX 11iV3
Anyone?
Many thanks in... (2 Replies)
Since my last threads were closed on account of spamming, keeping just this one opened!
Hi,
I have the following reports that get generated every 1 hour and this is my requirement:
1. 5 reports get generated every hour with the names
"Report.Dddmmyy.Thhmiss.CTLR"... (5 Replies)
I am getting output of YYYY-MM-DD and want to change this to DD/MM/YYYY.
When am running the query in 'Todd' to_date(column_name,'DD/MM/YYYY') am getting the required o/p of DD/MM/YYYY, But when am executing the same query(Netezza) in linux server(bash) am getting the output of YYYY-MM-DD
file... (3 Replies)
Hi,
I wrote this script to test if the output for DIR1 and DIR2 comes out as I want :
#!/bin/bash
DAY=$(date +%d)
MONTH=$(date +%b)
YEAR=$(date +%Y)
DIR1=$($MONTH$YEAR"_Blast_BC01")
DIR2=$($MONTH$YEAR"_Blast_BC15")
echo $DIR1
echo $DIR2
This is the output I want for echo $DIR1 ... (12 Replies)