首页 文章 精选 留言 我的

精选列表

搜索[服务],共10000篇文章
优秀的个人博客,低调大师

polysh 同时处理多台服务

Polysh介绍 官方主页的介绍如下: Polysh is a tool to aggregate several remote shells into one. It is used to launch an interactive remote shell on many machines at once. It is written in Python and requires Python ≥ 2.4. 平时我们登录远程主机时,每登录一个远程主机均需要打开一个shell,然后在各个shell中与远程主机进行命令交互。Polysh的作用是允许你在一个shell中同时向多个远程主机发送命令,返回的结果在这个shell中显示。Polysh对于需要登录多个远程主机,并执行相同指令的情况,大大减少了我们的工作量。 Polysh安装 通过下载源代码的试安装,步骤如下: wget wget http://guichaz.free.fr/polysh/files/polysh-0.4.tar.gz tar -zxvf polysh-0.4.tar.gz cd polysh-0.4 su python setup.py install Xshell配置Xagent 打开文件-属性,选择SSH选项,选择”使用密码处理的Xagent(SSH代理)”。然后将Xshell重启。 Polysh使用 polysh 106.2.52.163 106.2.52.161 可以看到以下提示,说明同时登录上了两个远程主机 ready (2)> 执行命令 ready (2)> pwd 显示 106.2.52.163 : /home/lihao 106.2.52.161 : /home/lihao 说明pwd命令已经同时发往106.2.52.163,106.2.52.161,并得到其返回的结果。 Polysh指令 以冒号开头的指令不会发送到远程主机,polysh会执行以冒号开头的指令,例如 ready (2)> :help :add Add one or many remote shells. :chdir Change the current directory of polysh (not the remote shells). :disable Disable sending commands to remote shells. :enable Enable sending commands to remote shells. :export_vars Export some environment variables on enabled remote shells. :help List control commands or show their documentations. :hide_password Do not echo the next typed line. :list List remote shells and their states. :purge Delete disabled remote shells. :quit Quit polysh. :reconnect Try to reconnect to disconnected remote shells. :rename Rename all enabled remote shells with the argument. :replicate Copy a path from one remote shell to all others :reset_prompt Change the prompt to be recognized by polysh. :send_ctrl Send a control character to remote shells. :set_debug Enable or disable debugging output for remote shells. :set_log Duplicate every console I/O into the given local file. :show_read_buffer Print the data read by remote shells. :upload Upload the specified local path to enabled remote shells. 具体指令可以参考上述的说明。 Polysh源码 可以通过git获取polysh的源码 git clone git://repo.or.cz/polysh.git 参考资料 Polysh官方文档, http://guichaz.free.fr/polysh/ 运维工具-Polysh 入门, http://segmentfault.com/a/1190000000492374 --------------------- 本文来自 haozlee 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/lihao21/article/details/48319085?utm_source=copy

优秀的个人博客,低调大师

【功能发布】日志服务Logtail 2018-08

新功能 插件输入新增syslog,支持rfc5424和rfc3164两种协议。 插件数据处理新增processor_filter_key_regex,支持根据日志字段过滤日志。 功能优化 Logtail支持手动更新命令(upgrade),升级期间数据不丢失。 lumberjack插件支持SSL。 容器数据采集支持_container_ip_。 优化容器数据采集中的_image_name_,将hash值改为可读的tag值。 问题修复 容器stdout采集默认去除日志尾的'\n',改善可读性。 优化容器数据采集策略,增加对Job型容器(启动后3秒内退出)的日志采集。

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册