Skip to content

Commit

Permalink
pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
iach526526 committed Jul 2, 2024
1 parent 778827c commit 41e3b6a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions slides/LinuxApplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,30 @@ foo@bar:~$ htop

![alt text](../slides/img/LinuxApplication/htopProcess.png)

---
# pm2

--

## 這是啥?
管理 Node.js 程序的工具
--
## 安裝它
```bash
npm install pm2 -g
```

--
## 常用指令
pm2 list
- 查看當前啟動的程序
```bash
pm2 list
```
- 啟動服務
```bash
pm2 start {app_name}
```

---

Expand Down

0 comments on commit 41e3b6a

Please sign in to comment.