高级的top https://htop.dev/
天问 e50ee56c1c Update 'README.md' | 1 year ago | |
---|---|---|
README.md | 1 year ago |
高级的top
开源:https://github.com/htop-dev/htop
通过yum源安装:
yum install htop
源码编译:
git clone https://github.com/htop-dev/htop
./autogen.sh && ./configure && make
编译分析:
注意关注 cofigure.ac 和 Makefile.am 两个文件,检测系统类型,编译依赖是否满足, 拼凑编译参数。
dist-hook: $(top_distdir)/configure
@if grep 'pkg_m4_absent' '$(top_distdir)/configure'; then \
echo 'configure is generated without pkg.m4. Please supply pkg.m4 and run ./autogen.sh to rebuild the configure script.'>&2; \
(exit 1); \
else :; \
fi