Skip to content

Commit

Permalink
docs: add notes for environment variable LOGLEVEL
Browse files Browse the repository at this point in the history
Signed-off-by: Xuehai Pan <[email protected]>
  • Loading branch information
XuehaiPan committed Jul 31, 2022
1 parent 603718f commit 41f7325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
1. Was this issue already reported? Please do a quick search.
2. Maybe the problem is solved in the current master branch already?
Simply clone nvitop's git repository and run ./nvitop.py to find out.
Simply clone nvitop's git repository and run `LOGLEVEL=DEBUG ./nvitop.py`
to find out.
3. Provide all the relevant information, as outlined in this template.
Feel free to remove any sections you don't need.
-->
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ process filtering:
Only show processes of the given PIDs.
```

`nvitop` can accept the following environment variables for monitor mode:
`nvitop` can accept the following environment variables:

| Name | Description | Valid Values | Fallback Value |
| -------------------------------------- | -------------------------------- | ----------------------------------------------------------- | -------------- |
Expand All @@ -319,6 +319,7 @@ process filtering:
| `NVITOP_MONITOR_THEME` | The default color theme | `dark` / `light` | `dark` |
| `NVITOP_GPU_UTILIZATION_THRESHOLDS` | Thresholds of GPU utilization | `10,75` , `1,99`, ... | `10,75` |
| `NVITOP_MEMORY_UTILIZATION_THRESHOLDS` | Thresholds of GPU memory percent | `10,80` , `1,99`, ... | `10,80` |
| `LOGLEVEL` | Log level for log messages | `DEBUG` , `INFO`, `WARNING`, ... | `WARNING` |

For example:

Expand Down

0 comments on commit 41f7325

Please sign in to comment.