csv-nix-tools

NAME

csv-nix-tools - collection of tools for gathering and processing system information

DESCRIPTION

csv-nix-tools is a collection of tools for gathering and processing system information using CSV (with minor extensions) as a intermediate format.

The extensions are:

Currently used types are: string, int, float, string[], int[], float[], although array types are not well supported at the moment (they are produced by some tools, but there’s no easy way to process them).

Column "_table" resolves a problem of storing multiple sets of data in one CSV stream. It allows:

See csv-tables-tut(7) for introduction into tables support in csv-nix-tools.

SOURCE TOOLS

PROCESSING TOOLS

SINK TOOLS

COMMON OPTIONS FOR ALL SOURCE TOOLS

-c, --columns=NAME1[,NAME2…]
choose the list of columns
-l
use a longer listing format (can be used up multiple times)
-M, --merge
merge output with a CSV stream in table form from standard input
-N, --table-name=NAME
produce output as table NAME
-T, --as-table
produce output as table

Options -M/-N/-T can be used to merge output of multiple source tools, to be ultimately consumed by csv-sqlite(1). See csv-tables-tut(7) for one example.

COMMON OPTIONS FOR ALL SOURCE AND PROCESSING TOOLS

-s, --show
print output in table format
-S, --show-full
print output in table format with pager

COMMON OPTIONS FOR PROCESSING TOOLS

-t, --table=NAME
apply to rows only with _table column equal NAME

COMMON OPTIONS FOR ALL TOOLS

--help
display this help and exit
--version
output version information and exit

SEE ALSO

https://github.com/mslusarz/csv-nix-tools