You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/administration/users_and_groups/accounting.rst
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,13 @@ Usage
24
24
--xpath expression Xpath expression to filter the results. For example: oneacct --xpath 'HISTORY[ETIME>0]'
25
25
-j, --json Output in json format
26
26
-x, --xml Output in xml format
27
+
--csv Write table in csv format
27
28
--split Split the output in a table for each VM
28
29
-h, --help Show this message
29
30
30
31
The time can be written as ``month/day/year hour:minute:second``, or any other similar format, e.g ``month/day hour:minute``.
31
32
32
-
To integrate this tool with your billing system you can use ``-j``or ``-x`` flags to get all the information in an easy computer readable format.
33
+
To integrate this tool with your billing system you can use ``-j``, ``-x`` or ``--csv`` flags to get all the information in an easy computer readable format.
33
34
34
35
Accounting Output
35
36
=================
@@ -123,6 +124,18 @@ Obtaining the accounting information for a given user
123
124
VID HOSTNAME REAS START_TIME END_TIME MEMORY CPU NET_RX NET_TX
124
125
3 host01 none 06/04 15:04:47 - 4G 2 0K 0.1K
125
126
127
+
In case you use CSV output (``--csv``) you will het a header with the neame of each column and then the data. For example:
0 commit comments