LINUXOPOLIS # 2019-12-01 ~ CPU

2개월 전

CPU

Published with SteemPeak
home

screenshot by willi glenz

$ vim ~/.config/fish/functions/gcpu.fish

function gcpu --description "cpu"
    clear
    echo
    echo ' ================================================================================='
    echo '                                   CPU                                            '
    echo ' ---------------------------------------------------------------------------------'
    echo ' tools            : dstat glances htop iostat sar sysbench vmstat                 '
    echo ' installation'    # apt install dstat htop nmon sysstat top                       '
    echo
    echo ' daemon'          # vim /etc/default/sysstat                         config daemon'
    echo '                  # systemctl start sysstat                           start daemon'
    echo '                  # sar -A                                                        '
    echo ' ---------------------------------------------------------------------------------'
    echo ' # dstat -c --top-cpu --top-mem -dn                                               '
    echo ' # iostat -ch 10 8640                                                             '
    echo ' # mpstat 10                                                                      '
    echo ' # nmon                                                                           '
    echo ' # sar 10 8640                                                                    ' 
    echo ' # sysbench --test=cpu run                                                        '
    echo ' # vmstat 10                                                                      '
    echo ' ================================================================================='
    echo
end
SOURCES
 man pages .................................. $ dstat glances htop iostat sar sysbench vmstat
 picture ............................................... screenshoot by me ~ my gnome-desktop
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

You can upvote this notification to help all Steem users. Learn how here!