cp bench.go lotus/cmd/lotus-storage-miner
func main() {
build.RunningNodeType = build.NodeMiner
lotuslog.SetupLogLevels()
local := []*cli.Command{
initCmd,
runCmd,
stopCmd,
configCmd,
benchCmd, //add there
loadingCmd,
backupCmd,
....
3000
3001
LOTUS_MINER_PATH
./lotus-miner bench --file id.txt --db ~/.lotus-miner