examples: add tarsnap reporting example
This commit is contained in:
		
							parent
							
								
									7e2487a4dc
								
							
						
					
					
						commit
						deeb10d673
					
				| @ -21,3 +21,16 @@ if ^Usage, | |||||||
|  description %machine %type |  description %machine %type | ||||||
|  account2 expenses:tarsnap:%machine:%type |  account2 expenses:tarsnap:%machine:%type | ||||||
|  amount -%quantity bytes @@ $%amount |  amount -%quantity bytes @@ $%amount | ||||||
|  | 
 | ||||||
|  | # sample output: | ||||||
|  | # $ hledger -f .tarsnap.csv bal -B cur:\\$ -MAT expenses | ||||||
|  | # using conversion rules file .tarsnap.csv.rules | ||||||
|  | # Balance changes in 2016/12/01-2017/02/28: | ||||||
|  | # | ||||||
|  | #                                                     ||               2016/12                2017/01                2017/02                  Total                Average  | ||||||
|  | # ====================================================++=================================================================================================================== | ||||||
|  | #  expenses:tarsnap:machine1:Client->Server bandwidth || $0.724738970500000000  $4.479661574000000000  $1.922747437750000000  $7.127147982250000000  $2.375715994083333333  | ||||||
|  | #  expenses:tarsnap:machine1:Daily storage            || $3.031766211919159188 $23.945385100696412904  $8.584370624209118831 $35.561521936824690923 $11.853840645608230308  | ||||||
|  | #  expenses:tarsnap:machine1:Server->Client bandwidth || $0.196816259250000000  $0.798626419000000000  $0.273752084250000000  $1.269194762500000000  $0.423064920833333333  | ||||||
|  | # ----------------------------------------------------++------------------------------------------------------------------------------------------------------------------- | ||||||
|  | #                                                     || $3.953321441669159188 $29.223673093696412904 $10.780870146209118831 $43.957864681574690923 $14.652621560524896974  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user