作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 PSSH
在其他机器上运行命令以实现 parallel compute
使用 IPyParallel
,但是我遇到了一个问题,我的命令是
pssh -P -h ip.txt -i ipengine --file=~/parallel/test/ipcontroller-engine.json
[1] 11:54:41 [FAILURE] 192.168.0.112 Timed out, Killed by signal 9
Stderr: 2015-10-12 11:53:41.593 [IPEngineApp] Loading url_file u'/home/fit/parallel/test/ipcontroller-engine.json'
2015-10-12 11:53:41.595 [IPEngineApp] Registering with controller at tcp://192.168.0.115:59413
2015-10-12 11:53:41.628 [IPEngineApp] Starting to monitor the heartbeat signal from the hub every 3010 ms.
2015-10-12 11:53:41.630 [IPEngineApp] Completed registration with id 0
[2] 11:54:41 [FAILURE] 192.168.0.104 Timed out, Killed by signal 9
Stderr: 2015-10-12 11:53:41.647 [IPEngineApp] Loading url_file u'/home/fit/parallel/test/ipcontroller-engine.json'
2015-10-12 11:53:41.648 [IPEngineApp] Registering with controller at tcp://192.168.0.115:59413
2015-10-12 11:53:41.682 [IPEngineApp] Starting to monitor the heartbeat signal from the hub every 3010 ms.
2015-10-12 11:53:41.684 [IPEngineApp] Completed registration with id 1
PSSH
有问题,但我不知道如何解决它。
最佳答案
谷歌搜索后,我找到了pssh
如果不输入 -t
,命令将只持续 60 秒选项。
所以,为了解决这个问题,我输入命令
pssh -P -h ip.txt -t 100000000 -i ipengine --file=~/parallel/test/ipcontroller-engine.json
并且该命令将在 100000000 秒后被杀死
-t
0 禁用超时功能。
关于ssh - pssh,超时,被信号 9 杀死,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33073144/
当我使用 pssh 时,试图访问不在 UNIX 内的远程机器已知主机文件,输入密码后 pssh 卡住。使用直接 ssh 命令添加主机后,pssh 就可以工作了。 那么有没有给 pssh 命令的选项来避
我正在使用 PSSH在其他机器上运行命令以实现 parallel compute使用 IPyParallel ,但是我遇到了一个问题,我的命令是 pssh -P -h ip.txt -i ipengi
下面是我的脚本的一部分,但我正在努力寻找解决方案。我正在使用 pssh 命令和 awk 来过滤用户输入操作系统命令中的特定列。使用 pssh 命令的 awk 只有在对任何用户执行 sudo 时才会出现
据说,pssh 的 -x 选项会传递额外的 SSH 命令行参数。 SSH 的“-t”选项应该已经解决了“伪终端”错误。是否应该使用另一个 pssh/ssh 选项? # pssh -i -H ec2-u
我想在/etc/sudoers 文件的末尾附加几行。下面是我要附加的行的示例。 nagios ALL = NOPASSWD: /bin/su - root -c /etc/init.d/crond s
我是一名优秀的程序员,十分优秀!