Extendable command line utility for sysadmins
Project description
An extendable utility for doing everything with self-defined hosts/hostgroups, utilizing API of your environment, with parallel ssh out of the box with a shell mode.
Examples:
swk pssh 'frontend([0-1][0-9]|2[0-5]),-frontend00' grep '/api/do_something' /var/log/nginx/access.log swk gather ^frontend /var/log/nginx/access.log ./nginx-logs-from-production swk ssh foohost,barhost,zeehost uptime
Shell mode:
swk> pssh ^mysql mysql -e 'show variables like "read_only"' >> ./read_only.tmp swk> pssh ^mysql mysql -e 'show variables like "%format%"' | grep innodb
For more examples, please refer to README at https://github.com/trueneu/swiss-knife
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swk-0.0.4a11.tar.gz
(20.6 kB
view hashes)