sysstat监控工具包使用手册http://sebastien.godard.pagesperso-orange.fr/documentation.html
全部使用手册见:http://sebastien.godard.pagesperso-orange.fr/documentation.html
举个例子,查看某个进程有没有内存泄漏:

minflt/s
Total number of minor faults the task has made per second, those which have not required loading a memory page from disk.
majflt/s
Total number of major faults the task has made per second, those which have required loading a memory page from disk.
VSZ
Virtual Size: The virtual memory usage of entire task in kilobytes.
RSS
Resident Set Size: The non-swapped physical memory used by the task in kilobytes.
如果VSZ和RSS在随着时间在不断增长,就非常有可能有内存泄漏。

浙公网安备 33010602011771号