LINUXOPOLIS # 25-JANUARY-2019 ~ CPU


CPU

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous
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 nmon sar sysbench vmstat inxi '   echo ' -------------------------------------------------------------------------'
    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 ' # sysbench --test=cpu run                                                '
    echo ' # vmstat 10                                                              '
    echo ' $ inxi --cpu                                                             '
    echo ' -------------------------------------------------------------------------'
    echo ' # sar 10 8640                                                            ' 
    echo ' ========================================================================='
    echo; inxi --cpu
    echo; sar 10 8640
end
SOURCES
 man pages .............. $ dstatlanceses htop inxi iostat nmon sar sysbench sysstat top vmstatpicte ............................................... screenshoot by me ~ my gnome-desktop

Comments 0