2572 Commits

Author SHA1 Message Date
Dimitar Drenkovski
3cca7b3b13 refactor: use only what is needed from 'async' (reduce import size) 2022-01-19 15:48:56 +01:00
Dimitar Drenkovski
725569ff50 refactor: use only what is needed from 'async' (reduce import size) 2022-01-19 13:01:21 +01:00
Unitech
8a9b576988 readme improvements 2021-09-24 13:11:17 +02:00
Unitech
120e31acbc cron restarts improvements 2021-09-24 12:40:46 +02:00
Unitech
93dc0173a3 drop fast-printf and replace with sprintfjs #5151 2021-08-19 22:54:02 +02:00
Unitech
e8651f1dcd switchfeat: do not activate pm2-sysmonit by default - restore node 10.x 2021-06-10 10:39:19 +02:00
Unitech
f29816d7e1 fix: skip unknown interfaces 2021-06-08 15:31:56 +02:00
Unitech
f173315ff6 skip sysmonit when Windows #5095 #5094 2021-06-08 14:59:34 +02:00
Unitech
2ba5a1c52c fix --no-optional pm2-sysmonit 2021-06-08 11:13:05 +02:00
Unitech
c13802e78e test: check if travis or mocha 2021-02-18 15:21:22 +01:00
Unitech
69cdb02d98 Merge branch 'development' of github.com:Unitech/pm2 into development 2021-02-18 14:51:00 +01:00
Unitech
65bdc97cf2 make websocket json diff patch by default 2021-02-18 14:50:51 +01:00
Unitech
15261fdb5e feature: auto start pm2-sysmonit - allow to disable via pm2 set pm2:sysmonit false 2021-02-18 14:09:36 +01:00
Alexandre Strzelewicz
a116e4f114
Merge pull request #4987 from KennyTheBard/fix-monit-logs
App logs from monitor will not be deleted on selecting a different app
2021-02-16 12:35:10 +01:00
Alexandre Strzelewicz
7779c8256f
Merge branch 'development' into master 2021-02-16 12:34:01 +01:00
KennyTheBard
3e41cef3a8 App logs from monitor will not be deleted on selecting a different app 2021-02-10 18:29:10 +02:00
Unitech
5a5f9e7d22 reflect metrics speed bar with pm2-sysmonit 1.2.0 2021-02-02 22:00:39 +01:00
Gajus Kuizinas
afacd98e7e refactor: replace sprintf-js with fast-printf 2021-02-01 18:55:06 -08:00
Unitech
5ad39c83b7 merge 2021-01-29 10:20:26 +01:00
Unitech
cc9714ca83 bump copyright years 2021-01-28 11:05:59 +01:00
Unitech
d535ec170d chore: fix for sysmonit updated 2021-01-14 11:43:04 +01:00
Unitech
042a32afce move sysmonitoring logic to pm2-sysmonit + fix pm2 ls 2021-01-13 13:57:18 +01:00
Unitech
d520de93a4 feat: allow pmx attribute to be string 2021-01-13 12:31:05 +01:00
Unitech
670e0a27b6 sysinfos: disable connections collection + add graphics infos 2021-01-13 10:10:41 +01:00
Unitech
a78d1dd55e hide popup on Windows - windowsHide all the way down #2182 2020-12-26 19:49:27 +01:00
Unitech
c0372a84c7 prepare 4.5.1 2020-12-16 12:35:24 +01:00
Unitech
452cc85494 upgrade systeminformation 2020-12-15 12:34:35 +01:00
Unitech
f376825922 feat: restore --sort option on pm2 ls #4536 2020-12-09 12:05:54 +01:00
Unitech
2f61ddbf42 fix: cron-restart in cluster mode + alias --cron to --cron-restart fix #4834 #4733 #4307 #4834 2020-12-09 11:55:41 +01:00
Unitech
3e004dc6d3 add udp client/server example + fix typo 2020-09-28 13:52:31 +02:00
Alexandre Strzelewicz
7f11906374
Merge pull request #4681 from guard43ru/development
Operation not permitted on call setgid, fix: #2957
2020-09-28 13:19:53 +02:00
Alexandre Strzelewicz
c4929d1108
Merge pull request #4762 from ffflorian/patch-1
fix(npm): Typo in "deleteing"
2020-09-28 13:16:28 +02:00
Unitech
b3b4c9a86e allow to pass --install to force yarn install on tarball install 2020-09-28 13:15:43 +02:00
Alexandre Strzelewicz
39286aba01
Merge pull request #4767 from ykolbin/fix_tarball_module_name_v2
fix: backward compatibility fix for tarball modules
2020-09-28 13:05:14 +02:00
Alexandre Strzelewicz
70715ae258
Merge pull request #4782 from mbrooks/master
Prevent reloadLogs command from hanging
2020-09-28 13:02:18 +02:00
Alexandre Strzelewicz
3e9b398715
Merge pull request #4791 from sbleon/fix-namespace-cli-option
Use opts.namespace if it was passed in. Previously, it was ignored.
2020-09-28 12:59:18 +02:00
Alexandre Strzelewicz
f578221ff4
Merge pull request #4808 from typhonius/am-grammar-update
Small grammar fix and addition of units to output.
2020-09-28 12:55:25 +02:00
Alexandre Strzelewicz
ff1e2f14ba
Merge pull request #4841 from web-native/development
Update ProcessContainerFork.js
2020-09-28 12:54:18 +02:00
Alexandre Strzelewicz
b79797004d
Merge pull request #4846 from QS20199/fix/creating-log-folder-in-sync-mode-2
Fix/creating log folder in sync mode.
2020-09-28 12:51:45 +02:00
Unitech
e3583a1329 fix: remote tarball install 2020-09-08 17:29:46 +02:00
qsqiu
a83a3ba351 fix: creating-log-folder-in-sync-mode 2020-09-07 15:36:48 +08:00
Oxford Harrison
1cb0427f2d
Update ProcessContainerFork.js
This commit fixes issue #4839
2020-09-04 16:24:21 +01:00
Unitech
14871cd04f pm2@4.4.1 2020-08-17 10:48:38 +02:00
Adam Malone
1ec91ccbd6
Small grammar fix and addition of units to output. 2020-08-11 20:59:11 +10:00
Leon Miller-Out
74c03accc7 Use opts.namespace if it was passed in. Previously, it was ignored.
Before:

```
$ pm2 start --namespace foo ecosystem.config.js
[PM2][WARN] Applications background_worker not running, starting...
[PM2] App [background_worker] launched (1 instances)
┌─────┬──────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name                 │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼──────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ background_worker    │ N/A         │ 0.0.1   │ fork    │ 86094    │ 0s     │ 0    │ online    │ 0%       │ 8.5mb    │ leon     │ enabled  │
└─────┴──────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
```

After:

```
$ pm2 start --namespace foo ecosystem.config.js
[PM2][WARN] Applications background_worker not running, starting...
[PM2] App [background_worker] launched (1 instances)
┌─────┬──────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name                 │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼──────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ background_worker    │ foo         │ 0.0.1   │ fork    │ 86290    │ 0s     │ 0    │ online    │ 0%       │ 9.7mb    │ leon     │ enabled  │
└─────┴──────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
```
2020-07-21 13:50:50 -04:00
Matt Brooks
08ae19e50d Prevent reloadLogs command from hanging
Previously, when the pm2 reloadLogs command was running as a non-root
user, the process will not release and hangs. The reason for the hang
is that the forked process never closes because the object is empty
and doesn't contain the expected object. This commit checks if an
object exists first, before trying to execute methods on it.

Related to: #4781

Co-authored-by: Franck Danard <fdanard@sangoma.com>
2020-07-14 23:17:37 -05:00
Iaroslav Kolbin
fd49e10739 fix: backward compatibility fix for tarball modules 2020-07-03 13:06:58 +01:00
Unitech
476331f378 feature: now stream logs of precise process id that have been acted on 2020-06-30 18:55:56 +02:00
Unitech
ad77104ec9 Merge branch 'development' 2020-06-30 18:51:18 +02:00
Unitech
c79713c4e1 test fix 2020-06-30 15:32:03 +02:00