Replace htop with glances.
This commit is contained in:
parent
27b4513f07
commit
9ca7cf7c6d
|
@ -8,7 +8,7 @@ homebrew_brew_items:
|
|||
- curl
|
||||
- git
|
||||
- coreutils
|
||||
- htop
|
||||
- glances
|
||||
- ipcalc
|
||||
- mas
|
||||
- nmap
|
||||
|
|
2
.bashrc
2
.bashrc
|
@ -122,7 +122,7 @@ function datafart() { curl --data-binary @- datafart.com; } && export -f datafar
|
|||
function space() { du -ahx --max-depth=1 | sort -h; } && export -f space
|
||||
if ! alias ll >/dev/null 2>&1; then function ll() { ls -l ${@}; } && export -f ll; fi
|
||||
[[ ! -x $(which psgrep 2>/dev/null) ]] && function psgrep() { ps -ef | grep ${@} | grep -v ${$}; } && export -f psgrep
|
||||
[[ -x $(which htop 2>/dev/null) ]] && function top() { sudo htop; } && export -f top
|
||||
[[ -x $(which glances 2>/dev/null) ]] && function top() { glances; } && export -f top
|
||||
[[ -x $(which gdu 2>/dev/null) ]] && function du() { gdu ${@}; } && export -f du
|
||||
[[ -x $(which gsort 2>/dev/null) ]] && function sort() { gsort ${@}; } && export -f sort
|
||||
[[ -x /bin/ps && -x $(which pstree 2>/dev/null) ]] && function ps() { if [[ ${1} =~ 'f' ]]; then pstree; else /bin/ps ${@}; fi }
|
||||
|
|
Loading…
Reference in a new issue