diff --git a/cmd/influx_tsm/README.md b/cmd/influx_tsm/README.md index 5bce244145..20c6dd0976 100644 --- a/cmd/influx_tsm/README.md +++ b/cmd/influx_tsm/README.md @@ -30,11 +30,11 @@ $ influx_tsm -backup ~/influxdb_backup -parallel ~/.influxdb/data b1 and bz1 shard conversion. ----------------------------------- -Data directory is: /home/user/.influxdb/data -Backup directory is: /home/user/influxdb_backup -Databases specified: all -Database backups enabled: yes -Parallel mode enabled: yes 8 +Data directory is: /home/user/.influxdb/data +Backup directory is: /home/user/influxdb_backup +Databases specified: all +Database backups enabled: yes +Parallel mode enabled (GOMAXPROCS): yes (8) Found 1 shards that will be converted. diff --git a/cmd/influx_tsm/main.go b/cmd/influx_tsm/main.go index 0684e4aba9..51bbd03091 100644 --- a/cmd/influx_tsm/main.go +++ b/cmd/influx_tsm/main.go @@ -170,11 +170,11 @@ func main() { // Dump summary of what is about to happen. fmt.Println("b1 and bz1 shard conversion.") fmt.Println("-----------------------------------") - fmt.Println("Data directory is: ", opts.DataPath) - fmt.Println("Backup directory is: ", opts.BackupPath) - fmt.Println("Databases specified: ", allDBs(opts.DBs)) - fmt.Println("Database backups enabled:", yesno(!opts.SkipBackup), badUser) - fmt.Println("Parallel mode enabled: ", yesno(opts.Parallel), runtime.GOMAXPROCS(0)) + fmt.Println("Data directory is: ", opts.DataPath) + fmt.Println("Backup directory is: ", opts.BackupPath) + fmt.Println("Databases specified: ", allDBs(opts.DBs)) + fmt.Println("Database backups enabled: ", yesno(!opts.SkipBackup), badUser) + fmt.Printf("Parallel mode enabled (GOMAXPROCS): %s (%d)\n", yesno(opts.Parallel), runtime.GOMAXPROCS(0)) fmt.Println() shards := collectShards(dbs)