嵌入式开发交流网论坛

标题: 连续霸榜Github!又有一个Linux神器出现了! [打印本页]

作者: kai7290868    时间: 2020-4-30 20:10
标题: 连续霸榜Github!又有一个Linux神器出现了!
开源最前线(ID:OpenSourceTop) 猿妹综合整理
链接:http://github.com/claudiodangelis/qrcp
最近又有一个Linux神器出现了,连续霸榜Github Trending榜单将近一周了,bashtop是一个用Bash编写的 Linux 资源监视器,可以显示处理器、内存、磁盘、网络和进程的使用情况与状态。
[attach]42665[/attach]



在Reddit和Hacker News上面也有网友们讨论。bashtop 的功能特性有很多,汇总如下:
UI界面显示的是你事先设定的进程相关的详细信息,如下图所示:
[attach]42666[/attach]



主菜单页面如下所示:
[attach]42667[/attach]



选项卡菜单如下所示:
[attach]42668[/attach]



所有选项都可以在用户界面内更改。配置文件存储在“ $ HOME / .config / bashtop”文件夹中,bashtop.cfg :(如果找不到则自动生成)
#? Config file for bashtop v. 0.8.0
#* Color theme, looks for a .theme file in "$HOME/.config/bashtop/themes", "Default" for builtin default theme
color_theme="Default"
#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs
update_ms="2500"
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive"
#* "cpu lazy" upates sorting over time, "cpu responsive" updates sorting directly at a cpu usage cost
proc_sorting="cpu lazy"
#* Reverse sorting order, "true" or "false"
proc_reversed="false"
#* Check cpu temperature, only works if "sensors" command is available and have values for "Package" and "Core"
check_temp="true"
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable
draw_clock="%R"
#* Update main ui when menus are showing, set this to false if the menus is flickering too much for comfort
background_update="true"
#* Custom cpu model name, empty string to disable
custom_cpu_name=""
#* Enable error logging to "$HOME/.config/bashtop/error.log", "true" or "false"
error_logging="true"
命令行选项,不过这项功能暂未实现:
USAGE: bashtop
感兴趣的伙伴们不要错过了哦,
最后附上项目地址:http://github.com/aristocratos/bashtop
喜欢请多多关注易杰智科技!




欢迎光临 嵌入式开发交流网论坛 (http://www.dianzixuexi.com/bbs/) Powered by Discuz! X3.2