-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
|