Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
therexone authored Jun 27, 2020
1 parent 886ccea commit ffec3a3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
## Running the server
**There are three ways to run the server on your machine:**
1. Download the single executable binary from `dist`

[Download executable](https://github.com/therexone/linux-mon/scripts/dist/)

2. Run the `linux-dae-mon.py` file which creates a daemon, given all the requirements are installed frim `requirements.txt`

3. Run `server.py` separately, which runs just the server without creating a daemon

If you create a daemon, use below command to check the process details and Process ID
```
~$ ps axuw | grep linux-dae-mon
therexo+ 10308 0.0 0.4 127652 32304 ? S 18:16 0:01 python linux-dae-mon.py
therexo+ 13081 0.0 0.0 14428 1040 pts/6 S+ 18:50 0:00 grep --color=auto linux-dae-mon
```
Kill the process with
```
~$ kill 10308
```

0 comments on commit ffec3a3

Please sign in to comment.