find ./ -type f -name '*source-string*'

linux | Monitor Performance |CPU

export LC_ALL=C
export S_TIME_FORMAT=ISO
mpstat
# --- Linux 2.6.18-194.11.1.el5 (HOST-01)  03/28/2014
# --- 
# --- 08:56:40 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- 08:56:40 PM  all    4.54    0.14    1.49    0.38    0.03    0.13    0.00   93.30    169.94
mpstat 2 5
mpstat -P ALL
# --- Linux 2.6.18-194.11.1.el5 (HOST-01)  03/28/2014
# --- 
# --- 08:59:36 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- 08:59:36 PM  all    4.54    0.14    1.49    0.38    0.03    0.13    0.00   93.30    169.94
# --- 08:59:36 PM    0    3.16    0.13    1.51    0.48    0.03    0.11    0.00   94.57     76.99
# --- 08:59:36 PM    1    5.91    0.14    1.46    0.29    0.03    0.14    0.00   92.03     92.96
mpstat -P ALL 2 5
mpstat -P ALL 120 3
# --- Linux 2.6.18-194.11.1.el5 (HOST-01)  03/28/2014
# --- 
# --- 09:01:28 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- 09:03:28 PM  all    0.57    0.03    1.19    0.22    0.01    0.11    0.00   97.87   1018.65
# --- 09:03:28 PM    0    0.45    0.05    1.07    0.30    0.03    0.15    0.00   97.94   1018.64
# --- 09:03:28 PM    1    0.70    0.01    1.30    0.12    0.00    0.07    0.00   97.80      0.00
# --- 
# --- 09:03:28 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- 09:05:28 PM  all    1.40    0.03    1.76    0.29    0.01    0.09    0.00   96.41   1020.77
# --- 09:05:28 PM    0    1.40    0.06    1.81    0.49    0.03    0.10    0.00   96.10   1020.77
# --- 09:05:28 PM    1    1.39    0.00    1.71    0.09    0.00    0.07    0.00   96.74      0.00
# --- 
# --- 09:05:28 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- 09:07:28 PM  all    1.00    0.11    1.40    0.23    0.02    0.09    0.00   97.15   1019.57
# --- 09:07:28 PM    0    1.06    0.03    1.51    0.35    0.03    0.07    0.00   96.95   1019.57
# --- 09:07:28 PM    1    0.93    0.20    1.30    0.12    0.00    0.10    0.00   97.35      0.00
# --- 
# --- Average:     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
# --- Average:     all    0.99    0.06    1.45    0.25    0.01    0.10    0.00   97.14   1019.67
# --- Average:       0    0.97    0.05    1.47    0.38    0.03    0.11    0.00   97.00   1019.66
# --- Average:       1    1.01    0.07    1.43    0.11    0.00    0.08    0.00   97.30      0.00


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.