dmmcquay / sqrl Goto Github PK
View Code? Open in Web Editor NEWsystem inventory program for HPC academy students
License: MIT License
system inventory program for HPC academy students
License: MIT License
create a struct that contains all the information the group has thus far gather. This should call out to all the other functions people have built.
for example, it should contain the following structs:
type Ram struct {
Total string `json:"total"`
Free string `json:"free"`
Used string `json:"used"`
}
type Swap struct {
Total string `json:"total"`
Free string `json:"free"`
Used string `json:"used"`
}
type OS struct {
Hostname string `json:"hostname"`
Kernel string `json:"kernel"`
Version string `json:"version"`
}
type CPUInfo struct {
CPU int `json:"cpu"`
Cores int32 `json:"cores"`
Speed string `json:"speed"`
Model string `json:"model"`
}
type Interface struct {
Name string `json:"name"`
Addrs []net.InterfaceAddr `json:"addrs"`
Flags []string `json:"flags"`
Speed string `json:"speed"`
}
Investigate and write code to log the structs to syslog so that our information can be scrapped by splunk.
Gather the following information and return in human readable format:
The daemon would be a webserver with api routes that would run the various reports that we have.
Create a webserver with an API that would allow us to run the different commands hitting a specific route.
For example:
curl localhost:8080/api/v0/cpu
would cause sqrl to log the cpu info
whether we will be using cron or a built in type of cron: github.com/robfig/cron
Do it chris
Gather the following information and return in human readable format:
Add more information about the project and what it does.
this is more of an investigation into how go does tests. You can then teach the other members of the group
Should be a pretty small fix, but it is printing out total instead of used.
Gather the following information and return in human readable format:
Gather the following information and return in human readable format:
Add commands and subcommands, as you see fit, to make the sqrld executable have commands and subcommands and print out the correct information.
You can take a look at https://s.mcquay.me/dm/psyfer as a good example of what needs to be done.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.