Python day9 Batch management tool

Source: Internet
Author: User

Python day9 Batch management tool

Catalog file: (Python3 program)

GitHub Link: https://github.com/Liang2580/python_day9

[[email protected] home]#Tree python_day9/python_day9/├──bin│├──aa│├──cc│├──__init__. py│└──main.py # Main program Entry ├──conf│├──accounts.cfg│├──__init__. py│├──__pycache__││├──__init__. cpython-36. Pyc││└──settings.cpython-36. pyc│└──settings.py #配置文件 ├──core│├──1. py│├──__init__. py│├──logger.py # log │├──__pycache__││├──__init__. cpython-36. Pyc││├──logger.cpython-36. Pyc││└──server.cpython-36. pyc│└──server.py # Main program ├──__init__. py├──log│├──__init__. Py│└──system.log # log file └──readme.md

README Introduction

Simple one python3 developed by a bulk distribution of a gadget

Settings is where the configuration file resides.

The location of the server's IP and user name password

You can execute Linux commands. You can also use the Help

Use the following methods:

#python36 bin/main.py1 group1 group2 3## (EG:GROUP1) group1H1192.168.57.128H2192.168.57.129ls------------------------192.168.57.129------------------------AA anaconda-Ks.cfginit.pylsPython-3.6. 0Python-3.6. 0.tgz------------------------192.168.57.128------------------------Aaanaconda-ks.cfginit.pylscat AA upload:p ut cc/rootput sucesssput sucesss View Log2018-02-24 16:05:19,302-system-info-account {192.168.57.129} signinchcmd ls2018-02-24 16:05:19,554-system-info-account {192.168.57.128} signinchcmd ls2018-02-24 16:08:01,732-system-info-account {192.168.57.129} signinchcmd ls2018-02-24 16:08:01,857-system-info-account {192.168.57.128} signinchcmd ls2018-02-24 16:08:05,455-system-info-account {192.168.57.129} signinchcmd cat AA2018-02-24 16:08:05,588-system-info-account {192.168.57.128} signinchcmd cat AA2018-02-24 16:08:39,484-system-info-account {192.168.57.129} signinchCMD put cc/Root2018-02-24 16:08:39,641-system-info-account {192.168.57.128} signinchCMD put Cc/root

Python day9 Batch management tool

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.