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

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

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

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

  • 易于使用,带有受游戏启发的菜单系统。
  • 快速响应的 UI,带有 UP、DOWN 键可快速对进程进行选择。
  • 可显示所选进程的详细统计信息。
  • 可以过滤进程。
  • 在排序选项之间轻松切换。
  • 发送 SIGTERM、SIGKILL、SIGINT 选择进程。
  • 带有用于更改所有配置文件选项的 UI 菜单。
  • 网络使用情况的自动缩放图。
  • 如果有新版本可用,则在菜单中显示消息。

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

主菜单页面如下所示:

 

选项卡菜单如下所示:

 

所有选项都可以在用户界面内更改。配置文件存储在“ $ HOME / .config / bashtop”文件夹中,bashtop.cfg :(如果找不到则自动生成)

  1. #? Config file for bashtop v. 0.8.0 
  2.  
  3. #* Color theme, looks for a .theme file in "$HOME/.config/bashtop/themes""Default" for builtin default theme 
  4. color_theme="Default" 
  5.  
  6. #* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs 
  7. update_ms="2500" 
  8.  
  9. #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive" 
  10. #* "cpu lazy" upates sorting over time"cpu responsive" updates sorting directly at a cpu usage cost 
  11. proc_sorting="cpu lazy" 
  12.  
  13. #* Reverse sorting order"true" or "false" 
  14. proc_reversed="false" 
  15.  
  16. #* Check cpu temperature, only works if "sensors" command is available and have values for "Package" and "Core" 
  17. check_temp="true" 
  18.  
  19. #* Draw a clock at top of screen, formatting according to strftime, empty string to disable 
  20. draw_clock="%R" 
  21.  
  22. #* Update main ui when menus are showing, set this to false if the menus is flickering too much for comfort 
  23. background_update="true" 
  24.  
  25. #* Custom cpu model name, empty string to disable 
  26. custom_cpu_name="" 
  27.  
  28. #* Enable error logging to "$HOME/.config/bashtop/error.log""true" or "false" 
  29. error_logging="true" 

命令行选项,不过这项功能暂未实现:

  1. USAGE: bashtop 

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

责任编辑:未丽燕 来源: 开源最前线
相关推荐

2019-07-18 10:49:15

GitHub软件代码

2021-03-29 10:05:49

GitHub代码开发者

2023-06-20 08:28:17

2019-03-29 09:24:36

国内程序员微博GitHub

2021-04-25 15:35:30

开源技术 软件

2023-06-26 17:45:14

编程语言ChatGPTJavaScript

2020-07-15 15:21:06

谷歌开源机器学习

2019-12-27 14:26:33

Github开源抢票神器

2021-09-24 14:11:19

GitHub Python开发

2019-05-08 15:27:15

命令Windows微软

2019-12-20 07:14:03

密码网络攻击网络安全

2019-12-03 15:03:02

GitHub开发者榜单

2022-12-12 09:01:03

2019-12-30 12:29:48

技术周刊

2022-04-07 09:37:23

AI开源GitHub

2023-11-22 08:26:03

HutoolJava工具集

2021-05-17 10:32:10

命令行工具GitHub代码

2021-04-22 15:25:29

AI 数据人工智能

2022-11-15 17:47:15

亚马逊云科技Gartner云计算

2020-05-26 16:31:53

算法可视化Github
点赞
收藏

51CTO技术栈公众号