help

[root@hdpool1 tmp]# column -h

Usage:
 column [options] [file ...]

Options:
 -c, --columns <width>    width of output in number of characters
 -t, --table              create a table
 -s, --separator <string> possible table delimiters
 -o, --output-separator <string>
                          table output column separator, default is two spaces
 -x, --fillrows           fill rows before columns

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see column(1).

eg.

[root@hdpool1 bin]# cat rds.log | column -t
BackupOssLogSize   :  20062119710
BackupOssDataSize  :  37176230912
DBInstanceId       :  rm-bp10wsh06XXXXXXX
RequestId          :  4FF90B38-CD0E-4B1A-9BCC-62A407827A24
LogSize            :  1078984704
DataSize           :  49582964736
ColdBackupSize     :  -1
SQLSize            :  -1
BackupSize         :  57238350622
DiskUsed           :  50661949440
[root@hdpool1 bin]# 
[root@hdpool1 bin]# 
[root@hdpool1 bin]# cat rds.log | column -s ':' -t
BackupOssLogSize     20062119710
BackupOssDataSize    37176230912
DBInstanceId         rm-bp10wsh06XXXXXXX
RequestId            4FF90B38-CD0E-4B1A-9BCC-62A407827A24
LogSize              1078984704
DataSize             49582964736
ColdBackupSize       -1
SQLSize              -1
BackupSize           57238350622
DiskUsed             50661949440
[root@hdpool1 bin]#

  

相关文章:

  • 2021-05-26
  • 2021-06-01
  • 2021-10-28
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-12-13
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2022-02-08
  • 2022-03-08
  • 2021-05-20
  • 2021-06-04
  • 2021-09-25
相关资源
相似解决方案