Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lorenzosinisi/extop
Extop - htop for Elixir
https://github.com/lorenzosinisi/extop
Last synced: 3 days ago
JSON representation
Extop - htop for Elixir
- Host: GitHub
- URL: https://github.com/lorenzosinisi/extop
- Owner: lorenzosinisi
- License: apache-2.0
- Created: 2019-08-23T15:02:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-24T08:59:48.000Z (over 5 years ago)
- Last Synced: 2024-10-29T08:42:27.285Z (2 months ago)
- Language: Elixir
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Extop - htop for Elixir
An interactive process inspector for Elixir. It helps you:
- monitor the most CPU intensive job
- trace a processThis project is inspired by `htop` for Unix and borros the initial code for inspection and tracing from [sasa1977/demo_system](https://github.com/sasa1977/demo_system) (Thanks Sasa!).
### Main functions
In order to get the PID of the processes ordered by CPU usage, you can call Htop.top
```
Extop.top()
```If you want to trace a process with Htop use
```
Extop.trace(pid)
```## Roadmap
- [ ] graphic visualization of processed like htop
- [ ] more utilities around inspections of which functions and params a process has been calling## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `extop` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:extop, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/extop](https://hexdocs.pm/extop).### License
```
Copyright 2019 Lorenzo SinisiLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.```