LINUX DSTAT安裝實錄
阿新 • • 發佈:2018-02-13
sta usr epo term ces com obj initial src [root@king01 ~]# cd /usr/local
[root@king01 local]# git clone https://github.com/dagwieers/dstat.git
Initialized empty Git repository in /usr/local/dstat/.git/
remote: Counting objects: 3041, done.
remote: Total 3041 (delta 0), reused 0 (delta 0), pack-reused 3041
Receiving objects: 100% (3041/3041), 889.74 KiB | 136 KiB/s, done.
Resolving deltas: 100% (2084/2084), done.
[root@king01 ~]# ln -s /usr/local/dstat/dstat /usr/bin/dstat
[root@king01 ~]# vi /root/.bashrc
alias dstat='dstat -cdlmnpsyt'
[root@king01 ~]# source /root/.bashrc
[root@king01 ~]# dstat
LINUX DSTAT安裝實錄