Linux 메모리 할당/할당 해제

Linux 메모리 할당/할당 해제

그렇지 않다면 pgfree/s명령이 실행됩니까 pgscand/s? pgfree/s이들그리고 그리고 의 차이점은 무엇인가요 pgscank/s?

답변1

StackExchange @Ajay Ponugati에 오신 것을 환영합니다.

$ man sar

-B     Report paging statistics.  The following values are displayed:

pgpgin/s Total number of kilobytes the system paged in from disk per second. pgpgout/s Total number of kilobytes the system paged out to disk per second. fault/s Number of page faults (major + minor) made by the system per second. This is not a count of page faults that generate I/O, because some page faults can be resolved without I/O. majflt/s Number of major faults the system has made per second, those which have required loading a memory page from disk. pgfree/s Number of pages placed on the free list by the system per second. pgscank/s Number of pages scanned by the kswapd daemon per second. pgscand/s Number of pages scanned directly per second.

답변2

다양한 "초당 시스템"이 있습니다.

가지다:

시스템\파일 읽기 작업/초: 파일 시스템 캐시에서 읽기 요청을 포함하여 컴퓨터의 모든 장치에 대한 파일 시스템 읽기 요청의 결합된 비율입니다.

시스템\파일 쓰기 작업/초컴퓨터의 모든 장치에 대한 파일 시스템 쓰기 요청의 결합 비율입니다.

시스템\시스템 가동 시간컴퓨터가 마지막으로 시작된 이후 실행된 시간(초)입니다.

시스템\시스템 호출/초컴퓨터에서 실행 중인 모든 프로세스가 운영 체제 서비스 루틴을 호출하는 결합 속도입니다.

이것kswapd 데몬목록의 페이지 수가 너무 적어지면 사용 가능한 페이지를 찾기 위해 사용 가능한 목록을 검색합니다. 이 데몬은 필요할 때만 실행됩니다.

관련 정보