Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Sep 20, 2023
1 parent 24d6776 commit 4642cee
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# cpu_alert

高 CPU 占用进程告警器

## Installation

```sh
npm i @jacksontian/cpu_alert -g
```

## Configuration

```sh
crontab -e
```

Add the following crontab expression.

```crontab
* * * * * cpu_alert
```

## License

Under the [MIT](./LICENSE) License.
7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cpu_alert",
"name": "@jacksontian/cpu_alert",
"version": "1.0.0",
"description": "",
"main": "index.js",
Expand All @@ -13,5 +13,6 @@
"license": "ISC",
"dependencies": {
"node-notifier": "^10.0.1"
}
},
"files": ["bin"]
}

0 comments on commit 4642cee

Please sign in to comment.