added alias ziostat
This commit is contained in:
parent
1005f457a4
commit
eb878d8d2a
@ -17,6 +17,7 @@ alias foldersize="du -sh"
|
|||||||
alias duf="du -sk * | sort -n | while read size fname; do for unit in k M G T P E Z Y; do if [ $size -lt 1024 ]; then echo -e "${size}${unit}\t${fname}"; break; fi; size=$((size/1024)); done; done"
|
alias duf="du -sk * | sort -n | while read size fname; do for unit in k M G T P E Z Y; do if [ $size -lt 1024 ]; then echo -e "${size}${unit}\t${fname}"; break; fi; size=$((size/1024)); done; done"
|
||||||
alias google="ping -c 10240000 google.com"
|
alias google="ping -c 10240000 google.com"
|
||||||
alias history="history -i"
|
alias history="history -i"
|
||||||
|
alias sulast="sudo $(history -p !-1)"
|
||||||
|
|
||||||
case `uname` in
|
case `uname` in
|
||||||
Darwin)
|
Darwin)
|
||||||
@ -28,7 +29,6 @@ case `uname` in
|
|||||||
alias nmap_localnet="nmap -sP 10.0.3.0/24"
|
alias nmap_localnet="nmap -sP 10.0.3.0/24"
|
||||||
alias fetch="curl -O"
|
alias fetch="curl -O"
|
||||||
alias htop="sudo htop"
|
alias htop="sudo htop"
|
||||||
alias sulast="sudo $(history -p !-1)"
|
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
# commands for Linux go here
|
# commands for Linux go here
|
||||||
@ -36,6 +36,6 @@ case `uname` in
|
|||||||
FreeBSD)
|
FreeBSD)
|
||||||
# commands for FreeBSD go here
|
# commands for FreeBSD go here
|
||||||
alias stl="sockstat -l"
|
alias stl="sockstat -l"
|
||||||
alias sulast="doas $(history -p !-1)"
|
alias ziostat="cmdwatch -n 1 zpool iostat -vPL 1 1"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user