Actually I'm unable to understand the use of pm2 scale [app-name] 10
but I know pm2 start app.js -i 4
is used for starting instances of app in cluster mode.
And one other question what would happen if I'll set number of clusters as -1 means
pm2 start app.js -i -1