Portál AbcLinuxu, 17. července 2025 13:59
Asi bych na to zkusil jit pres iostat, pripadne iotop, vystup je mozne si nekam ulozit a dal pak zpracovat podle toho co presne hledas.
Nevim jak v centos5, ale v debian derivatech je toto schovane v balicku sysstat, takze bych zkusil tuhle cestu, snad to pujde i na centos5, jelikoz mam pocit, ze tyhle nastroje potrebuji TASK_IO_ACCOUNTING a ten byl predstaven az v kernel 2.6.20, centos5 myslim bezi na 2.6.18, ale snad to tam RH backportoval.
FAHA
V baliku sysstat jsou jeste dalsi nastroje, co treba pidstat ?
--- man pidstat ----
-d Report I/O statistics (kernels 2.6.20 and later only). The following values are displayed:
PID
The identification number of the task being monitored.
kB_rd/s
Number of kilobytes the task has caused to be read from disk per second.
kB_wr/s
Number of kilobytes the task has caused, or shall cause to be written to disk per second.
kB_ccwr/s
Number of kilobytes whose writing to disk has been cancelled by the task. This may occur when the task truncates
some dirty pagecache. In this case, some IO which another task has been accounted for will not be happening.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.