|
|
||
|---|---|---|
| bin | ||
| lib | ||
| screenshots | ||
| web | ||
| .gitignore | ||
| .npmignore | ||
| LICENSE | ||
| README.md | ||
| package.json | ||
README.md
pm2-gui 
An elegant web interface for Unitech/PM2.
In progress.
Guide
# Installation ``` $ npm install -g pm2-gui ``` # CLI ``` Usage: pm2-gui [cmd] [options]Commands:
start [options] [port] Launch the web server, port default by 8088
config show all configs
set <key> <value> set config by key-value pairs
rm <key> remove config by key
Options:
-h, --help output usage information
-v, --version output the version number
Basic Examples:
Start the web server, by default port (8088):
$ pm2-gui start
Start the web server, by specific port (8090):
$ pm2-gui start 8090
<a name="cli_web" />
## Run Web Interface
```bash
Usage: start [options] [port]
Options:
-h, --help output usage information
--no-debug hide stdout/stderr information
## Configs
```javascript
{
"refresh": 3000
"manipulation": true
"pm2": "~/.pm2"
}
```
- refresh The heartbeat duration of monitor (backend),
5000by default. - manupulation A value indicates whether the client has permission to restart/stop processes,
trueby default. - PM2 Root directory of Unitech/PM2,
~/.pm2by default.
Example
$ pm2-gui set refresh 2000
Above command will set refresh to two second.
Example
$ pm2-gui rm refresh
Above command will remove refresh config and it will be set to 5000 by default.
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.






