The Albiziapp application process is a node application managed by **pm2.** From a shell :
```bash
$ pm2 list
```
gives access to the list of process managed by pm2. Here, only one :

pm2 is very convenient to manage an app in production. Among others, it will restart the node app in case of crash, it keeps `stdout` and `stderr`\(access through pm2 logs\):
```bash
$ pm2 logs osm-app --lines 100
/home/reveries/.pm2/logs/osm-app-error.log last 30 lines:
0|osm-app | designed for a production environment, as it will leak
0|osm-app | memory, and will not scale past a single process.
0|osm-app | (node:17142) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true} to MongoClient.connect.
0|osm-app | (node:17142)[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
0|osm-app | (node:17142) DeprecationWarning: collection.findAndModify is deprecated. Use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead.
0|osm-app | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
0|osm-app | errno: 'ECONNREFUSED',
0|osm-app | code: 'ECONNREFUSED',
0|osm-app | syscall: 'connect',
0|osm-app | address: '127.0.0.1',
0|osm-app | port: 8081 }
0|osm-app | `encrypted` option is deprecated in favor of `useTLS`
0|osm-app | Warning: connect.session() MemoryStore is not
0|osm-app | designed for a production environment, as it will leak
0|osm-app | memory, and will not scale past a single process.
0|osm-app | (node:5041) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true} to MongoClient.connect.
0|osm-app | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
0|osm-app | errno: 'ECONNREFUSED',
0|osm-app | code: 'ECONNREFUSED',
0|osm-app | syscall: 'connect',
0|osm-app | address: '127.0.0.1',
0|osm-app | port: 8081 }
0|osm-app | `encrypted` option is deprecated in favor of `useTLS`
0|osm-app | Warning: connect.session() MemoryStore is not
0|osm-app | designed for a production environment, as it will leak
0|osm-app | memory, and will not scale past a single process.
0|osm-app | (node:5077) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true} to MongoClient.connect.
0|osm-app | (node:5077) DeprecationWarning: collection.findAndModify is deprecated. Use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead.
/home/reveries/.pm2/logs/osm-app-out.log last 30 lines:
0|osm-app | 5d16635b4404bf15804f41de
0|osm-app | 5d165faf4404bf15804f41ca
0|osm-app | 5d165faf4404bf15804f41ca
0|osm-app | 5d16128b7bfe04085df48fab
0|osm-app | 5d1611c97bfe04085df48f99
0|osm-app | 5d165e0e4404bf15804f41bd
0|osm-app | 5d1612197bfe04085df48f9f
0|osm-app | 5d16128b7bfe04085df48fab
0|osm-app | 5d165faf4404bf15804f41ca
0|osm-app | 5d165f2a4404bf15804f41c3
0|osm-app | 5d165f2a4404bf15804f41c3
0|osm-app | 5d165d7e4404bf15804f41b3
0|osm-app | 5d165faf4404bf15804f41ca
0|osm-app | 5d165d9a4404bf15804f41b8
0|osm-app | 5d16615f4404bf15804f41d0
0|osm-app | 5d16110a7bfe04085df48f8e
0|osm-app | 5d1664714404bf15804f41e5
0|osm-app | 5d1664ce4404bf15804f41eb
0|osm-app | 5d1665a34404bf15804f41f1
0|osm-app | 5d160ff97bfe04085df48f83
0|osm-app | 5d16105e7bfe04085df48f89
0|osm-app | 5d1612197bfe04085df48f9f
0|osm-app | 5d1611c97bfe04085df48f99
0|osm-app | 5d166c894404bf15804f4216
0|osm-app | 5d166dca4404bf15804f421c
0|osm-app | 5d166dca4404bf15804f421c
0|osm-app | 5d16105e7bfe04085df48f89
0|osm-app | 5d160ff97bfe04085df48f83
0|osm-app | 5d1611c97bfe04085df48f99
0|osm-app | 5d16110a7bfe04085df48f8e
```
It also provides lot of usefull info about the process state \(pm2 show\)