Skip to content

stanekondrej/jarate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jarate - a system usage daemon-viewer-thingamajig

Go

I'm not a script kiddie, Dad; I'm a sysadmin! Well, the difference being: one is a job, and the other's mental sickness!

Why the name?

sniper tf2 jarate

How do I use this?

There are two endpoints:

  • / - this is the standard, "better" one - it is basically the way to estabilish a WebSocket connection with this daemon. The daemon then feeds the client data over the connection in a certain interval (that you can configure)
  • /oneshot - this one gives you data, only over HTTP. You don't have to estabilish a WS connection with the server if you just want to get the data once.

How do I work with the data?

The response is formatted as JSON, with the following structure:

{
  "cpu": {
    "per_cpu": [
      14.432              // You probably only have a single CPU
    ],
  },
  "mem": {                // in bytes
    "used": 7000000000,   // 7_000_000_000 (7GB)
    "total": 16000000000
  }
}

More customizations?

jarate --help should be enough to answer that question.


Be polite. Be efficient. Have a plan to monitor the performance of every piece of metal you come across.

About

a daemon for monitoring resource usage on remote computers/embedded systems with LAN access

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published