https://github.com/atelierarith/terminalsystemmonitor.jl

Graphical system monitor for Julian

https://github.com/atelierarith/terminalsystemmonitor.jl

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

cli-app julia juliac julialang
Last synced: 6 months ago · JSON representation

Repository

Graphical system monitor for Julian

Basic Info
Statistics
  • Stars: 25
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Topics
cli-app julia juliac julialang
Created over 1 year ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

TerminalSystemMonitor.jl

Build Status Stable Dev

Description

This Julia package displays CPU and RAM usage information on your computer. If necessary, one can show GPU usage.

image

Installation

Step 1. Install Julia

macOS or Linux

To install Julia on macOS or Linux, run the following command in your terminal:

sh $ curl -fsSL https://install.julialang.org | sh

Windows

For Windows, you can install Julia using the following command in PowerShell:

powershell PS> winget install julia -s msstore After installation, you can confirm Julia is installed by running:

sh $ julia --version

Step 2. Download the source code

Clone the repository and navigate to the directory:

sh $ git clone https://github.com/AtelierArith/TerminalSystemMonitor.jl.git $ cd TerminalSystemMonitor.jl

Step 3. Resolve dependencies

To resolve dependencies, ensure you are in the correct directory, then activate the Julia environment and instantiate the project:

sh $ pwd path/to/TerminalSystemMonitor.jl $ ls Project.toml README.md main.jl src $ julia -q julia> using Pkg; Pkg.activate("."); Pkg.instantiate()

Usage

Run the program using the following commands:

sh $ ls Project.toml README.md main.jl src $ julia --project main.jl

You will see an output similar to this:

bash ╭───────────────────────╮╭───────────────────────╮ │ ┌ ┐││ ┌ ┐│ │id: 0┤■■■ 24 ││id: 4┤■ 10.1 │ │id: 1┤ 0 ││id: 5┤ 0 │ │id: 2┤■■ 13.9 ││id: 6┤■ 6 │ │id: 3┤ 0 ││id: 7┤ 0 │ │ └ ┘││ └ ┘│ ╰───────────────────────╯╰───────────────────────╯ ╭───────────────────────╮╭───────────────────────╮ │ ┌ ┐││ ┌ ┐│ │id: 8┤■ 6 ││id: 12┤ 3 │ │id: 9┤ 0 ││id: 13┤ 0 │ │id: 10┤■ 5 ││id: 14┤ 2 │ │id: 11┤ 0 ││id: 15┤ 0 │ │ └ ┘││ └ ┘│ ╰───────────────────────╯╰───────────────────────╯ ╭────────────────────────────────────────╮ │ ┌ ┐ │ │Mem: ┤■■■■■■ 58.859 64.0 GiB │ │ └ ┘ │ │ Load average: 1.81 2.4 2.73 │ │ Uptime: 0 days, 10:35:59 │ ╰────────────────────────────────────────╯

Alternatively, you can launch the functionality directly from Julia:

julia $ julia --project julia> using TerminalSystemMonitor; monitor()

Monitoring GPU Usage

Please load CUDA.jl package in advance:

julia julia> using CUDA; using TerminalSystemMonitor; monitor()

Why not htop?

You might be familiar with the htop-dev/htop, which provides similar functionality. You can use the htop command in Julia as follows:

julia julia> using Htop_jll; run(Htop_jll.htop())

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.

Why not btm?

You can also use ClementTsang/bottom, also known as the btm command:

sh $ btm -b

We could use bottom_jll instead:

julia julia> using bottom_jll; run(`$(btm()) --basic`)

Our Julia package TerminalSystemMonitor.jl offers a cross-platform solution and adopts responsive design; chaging layout nicely based on your terminal size.

Can I visualize GPU Apple Silicon processors?

Yes!!! See this PR

julia julia> using MacOSIOReport; using TerminalSystemMonitor; monitor()

Owner

  • Name: AtelierArith
  • Login: AtelierArith
  • Kind: organization
  • Email: contact@atelier-arith.jp
  • Location: Japan

Enhance "Math meets Art"

GitHub Events

Total
  • Create event: 18
  • Issues event: 6
  • Release event: 6
  • Watch event: 22
  • Delete event: 9
  • Issue comment event: 25
  • Push event: 53
  • Pull request event: 25
  • Fork event: 1
Last Year
  • Create event: 18
  • Issues event: 6
  • Release event: 6
  • Watch event: 22
  • Delete event: 9
  • Issue comment event: 25
  • Push event: 53
  • Pull request event: 25
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 21
  • Average time to close issues: 29 days
  • Average time to close pull requests: about 22 hours
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 6.33
  • Average comments per pull request: 0.57
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 3
  • Pull requests: 21
  • Average time to close issues: 29 days
  • Average time to close pull requests: about 22 hours
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 6.33
  • Average comments per pull request: 0.57
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • terasakisatoshi (2)
  • xgdgsc (1)
  • JuliaTagBot (1)
Pull Request Authors
  • terasakisatoshi (17)
  • abcdvvvv (4)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1) github_actions (1)

Packages

  • Total packages: 1
  • Total downloads:
    • julia 4 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
juliahub.com: TerminalSystemMonitor

Graphical system monitor for Julian

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4 Total
Rankings
Dependent repos count: 3.2%
Downloads: 3.8%
Average: 7.8%
Dependent packages count: 16.3%
Last synced: 6 months ago