又有一個(gè)霸榜的 Linux 神器
點(diǎn)擊上方藍(lán)色“程序猿DD”,選擇“設(shè)為星標(biāo)”
回復(fù)“資源”獲取獨(dú)家整理的學(xué)習(xí)資料!

開源最前線(ID:OpenSourceTop) 猿妹綜合整理
鏈接:https://github.com/aristocratos/bashtop
最近又有一個(gè)Linux神器出現(xiàn)了,連續(xù)霸榜Github Trending榜單將近一周了,bashtop是一個(gè)用Bash編寫的 Linux 資源監(jiān)視器,可以顯示處理器、內(nèi)存、磁盤、網(wǎng)絡(luò)和進(jìn)程的使用情況與狀態(tài)。

在Reddit和Hacker News上面也有網(wǎng)友們討論。bashtop 的功能特性有很多,匯總?cè)缦拢?/span>
-
易于使用,帶有受游戲啟發(fā)的菜單系統(tǒng)。 -
快速響應(yīng)的 UI,帶有 UP、DOWN 鍵可快速對(duì)進(jìn)程進(jìn)行選擇。 -
可顯示所選進(jìn)程的詳細(xì)統(tǒng)計(jì)信息。 -
可以過濾進(jìn)程。 -
在排序選項(xiàng)之間輕松切換。 -
發(fā)送 SIGTERM、SIGKILL、SIGINT 選擇進(jìn)程。 -
帶有用于更改所有配置文件選項(xiàng)的 UI 菜單。 -
網(wǎng)絡(luò)使用情況的自動(dòng)縮放圖。 -
如果有新版本可用,則在菜單中顯示消息。
所有選項(xiàng)都可以在用戶界面內(nèi)更改。配置文件存儲(chǔ)在“ $ HOME / .config / bashtop”文件夾中,bashtop.cfg :(如果找不到則自動(dòng)生成)
#? 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
往期推薦
離職后與大家在星球聊了很多,你不來看看?

我的星球是否適合你?
點(diǎn)擊閱讀原文看看我們都聊過啥?
評(píng)論
圖片
表情
