| << Previous | Contents Index | Next >> |
"<network>\t<charge>\t<packets>\t<bytes>"
Substitutions are in the form "<[field][/ default][size][.maxsize][,fill]>", where field is the name of a key, counter or date/time field.
default is the text to use if the field is empty (or not specified).
size specifies the minimum size of the field. If size starts with a minus sign, the field is left justified, otherwise it is right justified to fill to size characters.
maxsize specifies the maximum number of characters the field can be. If maxsize starts with a minus sign, any truncation required to get the string inside maxsize is done from the beginning of the string, otherwise the end of the string that is truncated.
fill is the character that is used to pad the field out to size characters. Note that only the first character if fill is used.
The backslash character ("\") behaves as per C backslash quoting, as follows:
| \a | Bell character (ASCII 7) |
| \b | Backspace character (ASCII 8) |
| \f | Form feed character (ASCII 12) |
| \n | Line feed character (ASCII 10) |
| \r | Carriage return character (ASCII 13) |
| \t | Horizontal tab character (ASCII 9) |
| \v | Vertical tab character (ASCII 11) |
| \nnn | Where nnn is an octal number, the character corresponding with nnn is substituted, e.g. \040 translates to a space (ASCII 32). |
| \c | A "line starve". By default, a line feed is added to each line; placing \c at the end of the line prevents the line feed from being added. |
A backslash can also be used to quote a character that would otherwise be special, e.g. \< can be used to insert a < character without it being interpreted as the start of a substitution.
The format format statement describes the format for all detail lines emitted by the summary block.
header format and trailer format specify the formats to use for header and trailer lines, at the beginning and end of the output file respectively.
pattern is an argument string for the strftime(3) library call.
| << Previous | Contents Index | Next >> |