LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 876|回复: 8

【求助】如何划分屏幕成两部分显示不同程序运行的输出结果?

[复制链接]
发表于 2010-3-26 14:01:38 | 显示全部楼层 |阅读模式
我需要监控两种服务的运行情况,想通过一个脚本来同时运行这两种服务的监控程序,并把这两种监控程序的运行结果一份为二的实时显示在屏幕上,不知各位有没有什么好办法?
谢谢!
发表于 2010-3-26 14:28:27 | 显示全部楼层
纯字符界面?还是xterm?还是xwindow界面?
回复 支持 反对

使用道具 举报

发表于 2010-3-26 14:42:39 | 显示全部楼层
SplitVT

Version: 1.6.6

Status: Stable -- not under development

Platforms: UNIX

Description:
This program takes any VT100 terminal window and splits it into two shell windows, one on top and one on bottom. It allows you to watch two terminal sessions at once, which can be very useful whenever you want more screen real-estate without messing with windows.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-29 08:12:53 | 显示全部楼层
Post by tuxloo;2078152
SplitVT

Version: 1.6.6

Status: Stable -- not under development

Platforms: UNIX

Description:
This program takes any VT100 terminal window and splits it into two shell windows, one on top and one on bottom. It allows you to watch two terminal sessions at once, which can be very useful whenever you want more screen real-estate without messing with windows.


谢谢这位朋友,太有用了。
回复 支持 反对

使用道具 举报

发表于 2010-3-29 13:25:42 | 显示全部楼层
gnu screen 也可以分屏运行多个 shell
回复 支持 反对

使用道具 举报

发表于 2010-3-29 16:06:02 | 显示全部楼层
console: screen
X: terminator
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-29 18:59:26 | 显示全部楼层
Post by biinn;2078805
gnu screen 也可以分屏运行多个 shell


请问如何通过screen同时在显示器上实时显示多屏内容?
回复 支持 反对

使用道具 举报

发表于 2010-3-29 21:29:41 | 显示全部楼层
Post by null;2078889
请问如何通过screen同时在显示器上实时显示多屏内容?

一分为二法:(上下)
screen

ctrl-a S
ctrl-a <Tab>
ctrl-a c

---------

更多运用 man screen
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-30 08:31:41 | 显示全部楼层
果然可以,十分感谢楼上朋友!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表