Skip to content

gsfordham/elix-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElixUtils

DESCRIPTION

Elixir library to extract system information on GNU+Linux systems -- basically, gonna try to make a version of psutil for Elixir ⚗🐧

🚩 I will not likely make this available on Windows, Mac, or *BSD, but you can feel free to port it and make any necessary changes for your system, if you need it⭐

⭐ I do not foresee *BSD being a difficult port. Possibly not even Mac. Probably only minor changes, since both are also Unix/Unix-like.

⭐ I will not even begin to try to make this work on Windows, though. God speed and good luck, if you wanna have a whack at it! 👍

TODO

  1. System clock and date (soon) DONE
  2. Motherboard information (soon) DONE
  3. CPU information (soon)
  4. System/OS information (soon)
  5. Process count (probably soon-ish) DONE -- See ℹ
  6. Memory information (later)
  7. GPU information⭐⭐ (more towards the end)
  8. Disk information (more towards the end)
  9. Remove redundant code, refactor, optimize (as I go, always)

⭐⭐Definitely AMD, but since I don't use NVIDIA or Intel, I will not likely do it for those systems -- however, feel free to do so, yourself

⭐⭐There is also a good chance this may be an extended library or a completely separate one to be built into other programs, at the individual programmer's discretion

⭐⭐After I finish the stuff I intend for this library, I will be remaking my own system monitor/control app, and I will link it here, so others can either copy it directly or adjust it for their personal needs -- this will let people see how to use the GPU monitor/controller, as well.

ℹI originally labeled this as "Process monitor", but I'm not 100% sure what else I might do with it. I meant to label it "Process count". However, now that I noticed this, I might actually think of further things to check. Not sure, though, so don't count on it any time soon.

Possible things to add

  1. Something related to hardware devices
  2. Sound information and control (ALSA) -- Ideally I will, though
  3. Network information

Installation

If available in Hex, the package can be installed by adding elix_utils to your list of dependencies in mix.exs:

def deps do
  [
    {:elix_utils, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elix_utils.

About

Elixir utilities program to extract system info for use however you need it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages