function list() {
        return new Promise((res, rej) => pm2.list((err, list) => {
            if(err) { rej(err) }
            else { res(list.map(p => ({pid: p.pid, name: p.name, args: p.pm2_env.args}))) }
        }))    
    }
@returns {Promise<{
  pid: number,
  name: string,
  args: string[]
}[]>}