-
-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux/Ubuntu useful configurations/pipes thread #34
Comments
Hey @WaffleMongeringShit, thank you for sharing and starting the thread! I've pinned it. btw I recommend to use init script to establish the database connection, otherwise it will be done each time the sample script is executed, which might cause unnecessary CPU utilization at higher update rates |
Kubernetes RAM, CPU, Events :
|
[Request] EDIT: |
On another note. lemme throw in my small (and stupidly complicated) Bash script, and config, for github issues/pr count viewing. BTW, only my second time writing a bash script. don't stab me =P https://gist.github.com/Asherslab/2553dc63a95702563007e193e93878ae a few example sections using the script: Requirements: All these scripts require the View your projects open PRs vs Closed (in a gauge)
View your project's open Issues vs Closed (in a gauge)
View all stats in a simple text box
Note: there are rate limits on github's API. (you can increase them by using an API Key with the -u and -p parameters) Note2: Large repositories take a decent while to load/whatever. The script could very much be improved. i'm probably gonna redo it in python or something similar at a later point. maybe |
So, after a days work. i improved upon my thing above. Python3 script: https://gist.github.com/Asherslab/1f37627854e913b86f088aa8ca30e8d0 i use a cache file to keep just one session accessing the api, so this is needed for all the elements below it: This would definitely be improved by: #38 Note: i have the rate-ms at 30 minutes because my repo was large and didn't wanna update too often. just be careful that you don't exceed github's rate limiting
Sparklines for open and closed issues
Runcharts for issue labels
Text box for some data:
ASCII box that uses the repo's name:
|
Here's my contribution: CPU temperature runchart:
PS: |
Hi,
This topic is dedicated to sharing useful pipes that enhances the sampler experience on GNU/Linux/Ubuntu. Don't hesistate to share! Here are mines:
HTOP
Requires: aha, html2text
HTOP OVER SSH
Requires: aha, html2text
Warning: Significant CPU load on devices such as raspberry pi.
POSTGRESQL single line query
Periodic directory count
Requires: dircnt
The text was updated successfully, but these errors were encountered: