Skip to content

Commit 0fe76ad

Browse files
Update README.md
1 parent fc26f0d commit 0fe76ad

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ Alternatively, you can launch the functionality directly from Julia:
9696

9797
```julia
9898
$ julia --project
99-
julia> using TerminalSystemMonitor: main; main()
99+
julia> using TerminalSystemMonitor; monitor()
100100
```
101101

102102
### Monitoring GPU Usage
103103

104104
Please load `CUDA.jl` package in advance:
105105

106106
```julia
107-
julia> using CUDA; using TerminalSystemMonitor: main; main()
107+
julia> using CUDA; using TerminalSystemMonitor; monitor()
108108
```
109109

110110
## Why not `htop`?
@@ -117,15 +117,21 @@ julia> using Htop_jll; run(Htop_jll.htop())
117117

118118
However, `Htop_jll` only supports Unix-based systems. The TerminalSystemMonitor.jl package also supports Windows as long as Term.jl and UnicodePlots.jl are available on the platform.
119119

120-
## Why not `bottom`?
120+
## Why not `btm`?
121121

122122
You can also use [ClementTsang/bottom](https://github.com/ClementTsang/bottom), also known as the `btm` command:
123123

124+
```sh
125+
$ btm -b
124126
```
125-
btm -b
127+
128+
We could use `bottom_jll` instead:
129+
130+
```julia
131+
julia> using bottom_jll; run(`$(btm()) --basic`)
126132
```
127133

128-
However, our Julia package [TerminalSystemMonitor.jl](https://github.com/AtelierArith/TerminalSystemMonitor.jl) offers a cross-platform solution that integrates directly with Julia, providing similar functionality in a familiar environment.
134+
Our Julia package [TerminalSystemMonitor.jl](https://github.com/AtelierArith/TerminalSystemMonitor.jl) offers a cross-platform solution and adopts responsive design; chaging layout nicely based on your terminal size.
129135

130136
## Can I visualize GPU Apple Silicon processors?
131137

0 commit comments

Comments
 (0)