QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1043|回复: 0

用rsh执行top命令,出现dumb不认识

[复制链接]
发表于 2005-12-20 19:22:49 | 显示全部楼层 |阅读模式
我用rsh在另外一台机器上执行top命令,报错:
$rsh -l root fred top - n 1
Unknown terminal "dumb" in $TERM
是为什么呢,如何解决呢?
也只发现运行top命令才会出此问题,因为当写入文件时,top会找dumb终端.

以下是inittab中的相关配置
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
7:2345:respawn:/sbin/mingetty --noclear ttyS0

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 23:43 , Processed in 0.074260 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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