Users browsing this thread: 1 Guest(s)
sagittarius
Members
Hello fellow nixers,

I'm curious to know more about your automation scripts, regarding daily administration, security, workflow and so on.

Because IT guys are lazy, it is a good thing to script tasks as much as possible. Do you have any oneliners or posix compliant script you'd be proud to share/explain? Even dirty piece of code are welcome.

Expecting tr0lls, I know wmutils is based on scripts, and that's why it's so delightful!

The first one I could show you is a script based on vnstat generating graph about network activity. I usually launch it when turning the computer off. A crontab is also in charge of executing it if I don't do it by myslef (thinking about my VPS). It allows me to have an idea of the amount of network activity (and to show off a bit as well).

This is how it looks like when it is properly configured:

[Image: vnstat_364865_full.png?format=jpg&width=...cale=false]

Will share the source code as soon as I get back home.

Cheers


Messages In This Thread
Automating tasks - by sagittarius - 17-06-2016, 09:03 AM
RE: Automating tasks - by venam - 17-06-2016, 04:37 PM
RE: Automating tasks - by josuah - 17-06-2016, 08:00 PM
RE: Automating tasks - by pranomostro - 17-06-2016, 11:26 PM
RE: Automating tasks - by venam - 18-06-2016, 06:19 AM
RE: Automating tasks - by josuah - 18-06-2016, 08:12 AM
RE: Automating tasks - by pranomostro - 18-06-2016, 11:39 AM