连续霸榜 Github!又有一个 Linux 神器出现了

点击上方 Java后端,选择 设为星标

优质文章,及时送达


开源最前线(ID:OpenSourceTop) 猿妹综合整理 

链接:https://github.com/aristocratos/bashtop

最近又有一个Linux神器出现了,连续霸榜Github Trending榜单将近一周了,bashtop是一个用Bash编写的 Linux 资源监视器,可以显示处理器、内存、磁盘、网络和进程的使用情况与状态。

在Reddit和Hacker News上面也有网友们讨论。bashtop 的功能特性有很多,汇总如下:

  • 易于使用,带有受游戏启发的菜单系统。

  • 快速响应的 UI,带有 UP、DOWN 键可快速对进程进行选择。

  • 可显示所选进程的详细统计信息。

  • 可以过滤进程。

  • 在排序选项之间轻松切换。

  • 发送 SIGTERM、SIGKILL、SIGINT 选择进程。

  • 带有用于更改所有配置文件选项的 UI 菜单。

  • 网络使用情况的自动缩放图。

  • 如果有新版本可用,则在菜单中显示消息。

UI界面显示的是你事先设定的进程相关的详细信息,如下图所示:

主菜单页面如下所示:

选项卡菜单如下所示:

所有选项都可以在用户界面内更改。配置文件存储在“ $ 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

感兴趣的伙伴们不要错过了哦,最后附上项目地址:https://github.com/aristocratos/bashtop

- END -

最近整理一份面试资料《Java技术栈学习手册》,覆盖了Java技术、面试题精选、Spring全家桶、Nginx、SSM、微服务、数据库、数据结构、架构等等。

获取方式:点“ 在看,关注公众号 Java后端 并回复 777 领取,更多内容陆续奉上。

读 

1. 955 不加班公司名单:955.WLB

2. 快手内推!

3. 学会反射后,我被录取了

4. Linux 用着太爽啦!!!

5. 使用枚举来巧妙干掉 if-else

在看 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值