[英]Top command failing in my embedded device
When I fire the top
command for my board it says 'vt102': unknown terminal type.
当我为我的
top
触发top
命令时,它显示'vt102': unknown terminal type.
I cant seem to figure out why it is happening so I have also loaded the library files from my PC into the board.The procps was built using my own cross-sompiled gcc which went quite well. 我似乎无法弄清楚为什么会发生这种情况,因此我也将PC中的库文件加载到了开发板上。procps是使用我自己的交叉编译gcc构建的,运行得很好。 Does anyone know what is missing?
有人知道缺少什么吗?
Probably the problem lies in the TERM environment variable. 问题可能出在TERM环境变量上。
Try to do 试着做
export TERM=linux
and to relaunch top 并重新启动顶部
I instead hacked into the code and commented the //#include asm/page.h and good gracious it worked. 相反,我侵入了代码并注释了//#include asm / page.h并对此进行了说明。 If anyone need help on the issue leave a post.
如果有人需要帮助,请留下帖子。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.