zfs/cmd
Tony Hutter 9fb2771aa5 Colorize zpool status output
If the ZFS_COLOR env variable is set, then use ANSI color
output in zpool status:

- Column headers are bold
- Degraded or offline pools/vdevs are yellow
- Non-zero error counters and faulted vdevs/pools are red
- The 'status:' and 'action:' sections are yellow if they're
  displaying a warning.

This also includes a new 'faketty' function in libtest.shlib that is
compatible with FreeBSD (code provided by @freqlabs).

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #9340
2019-12-19 16:26:07 -08:00
..
arc_summary Fix reporting of L2ARC hits/misses in arc_summary3 2019-12-04 13:24:55 -08:00
arcstat Add FreeBSD code to arc_summary and arcstat 2019-11-30 15:43:23 -08:00
dbufstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
raidz_test Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb zio_decompress_data always ASSERTs successful decompression 2019-12-10 15:51:58 -08:00
zed OpenZFS restructuring - libzutil 2019-10-03 10:20:44 -07:00
zfs cppcheck: (error) Null pointer dereference: who_perm 2019-12-18 17:25:23 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zinject Remove ECKSUM alias in zinject 2019-11-01 10:31:42 -07:00
zpool Colorize zpool status output 2019-12-19 16:26:07 -08:00
zstreamdump OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
ztest Replace ASSERTV macro with compiler annotation 2019-12-05 12:37:00 -08:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am Isolate code specific to Linux in cmd/ 2019-11-11 09:24:04 -08:00