pmap -x 1958|tail -1|awk ‘{print “Ram Space = ” $4 ” kb”}’
pmap -x ile bir PID 4 ncü kolonda RSS degerini görürürüz. Buda Ram de kapladigi alani gösterir.
********************************************************************************************************
mpstat 2 ile ikinci satirdan itibaren “idle” degerine bakariz 0 olmussa islemci max utulize olmustur. %5 civarinda da da zaten utulize olmustur cunku linuxte IO wait te dahildir.
********************************************************************************************************
iostat -xtN
[root@can ~]# iostat -xtN
Linux 3.10.0-862.3.2.el7.x86_64 (dyn146net175.rbb.do.nw.schule.de) 11.06.2018 _x86_64_ (1 CPU)
11.06.2018 21:45:41
avg-cpu: %user %nice %system %iowait %steal %idle
0,06 0,01 0,22 0,05 0,00 99,66
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0,00 0,16 0,31 0,59 12,59 95,87 241,74 0,07 79,53 5,06 119,22 2,47 0,22
centos-root 0,00 0,00 0,27 0,69 12,34 95,27 222,93 0,14 141,85 5,74 195,02 2,29 0,22
centos-swap 0,00 0,00 0,00 0,00 0,06 0,00 47,25 0,00 1,31 1,34 0,00 0,99 0,00
Util value is interesting
Percentage of elapsed time during which I/O requests were issued to the device
(bandwidth utilization for the device). Device saturation occurs when this value is close to 100%.
********************************************************************************************************