Procfs: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
"Procfs" 문서를 번역하여 만듦
 
편집 요약 없음
30번째 줄:
</source>2.6 커널에서 대부분의 정보가 /sys에 마운트된 독립된 슈도 파일 시스템인 sysfs로 옮겨졌지만, 이것은 또한 프로세스와 관련 없는 시스템 정보도 포함한다:
* 전력 관리 모드에 따라 /proc/acpi 또는 /proc/apm, 이것은 sysfs 이전의 것이다.
* /proc/buddyinfo, 메모리 단편화를 다루는 [[버디 알고리즘]]에 관한 정보.<ref>{{cite web
* /proc/buddyinfo, 메모리 단편화를 다루는 [[버디 알고리즘]]에 관한 정보.<ref><cite class="citation web" contenteditable="false">[http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-proc-buddyinfo.html "3.2.2. /proc/buddyinfo"]. ''centos.org''.</cite><span class="Z3988" title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fen.wikipedia.org%3AProcfs&rft.atitle=3.2.2.+%2Fproc%2Fbuddyinfo&rft.genre=unknown&rft_id=http%3A%2F%2Fwww.centos.org%2Fdocs%2F5%2Fhtml%2F5.2%2FDeployment_Guide%2Fs2-proc-buddyinfo.html&rft.jtitle=centos.org&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" contenteditable="false">&nbsp;</span></ref>
|url=http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-proc-buddyinfo.html
|title=3.2.2. /proc/buddyinfo
|work=centos.org}}</ref>
* /proc/bus, 컴퓨터의 다양한 버스들을 보여주는 디렉토리들을 포함하며 예를들면 input/[[PCI 버스|PCI]]/[[USB]]가 있다. 이것의 대부분은 sysfs하에 더 많은 정보를 갖는 /sys/bus로 대체되었다.
* /proc/fb, 사용 가능한 프레임버퍼들에 관한 목록.
* /proc/cmdline, 커널에 넘겨지는 부트 옵션.
* /proc/cpuinfo, 벤더와 스피드, 캐시 크기, sibling의 수, 코어 그리고 [[CPUID|CPU 플래그]] 같은 CPU에 대한 정보를 포함한다.
멀티 코어 CPU에서, /proc/cpuinfo는 다음의 계산이 적용되는 두 필드 "siblings"와 "cpu cores"를 갖는다:<ref><{{cite class="citation web" contenteditable
|last="false">Baron, Jason. </cite></ref>
|first=Jason
|title=HT vs. dual-core
|url=http://www.redhat.com/archives/nahant-list/2006-January/msg00176.html}}</ref>
"siblings" = (HT per CPU package) * (# of cores per CPU package)
"cpu cores" = (# of cores per CPU package)
CPU package는 물리적 CPU를 의미하며 여러 코어들을 가질 수 있다. 이것은 [[하이퍼스레딩]]과 다중 코어 사이에서 구별할 수 있게 해주는데 CPU 패키지에 대한 하이퍼스레드들의 수는 ''siblings / CPU cores''에 의해 계산될 수 있다. 만약 CPU 패키지 값들이 같다면, 하이퍼스레딩은 지원되지 않는다.<ref><{{cite class="citation web" contenteditable
|title="false">[http://web.archive.org/web/20120403230159/http://www.richweb.com/cpu_info "Understanding Linux /proc/cpuinfo"]. ''richweb.com''. </cite></ref>
|url=http://www.richweb.com/cpu_info
|archiveurl=http://web.archive.org/web/20120403230159/http://www.richweb.com/cpu_info
|accessdate=2015-04-21
|archivedate=2012-04-03
|website=richweb.com
}}</ref>
* /proc/crypto, 사용 가능한 암호화 모듈들에 대한 목록.
* /proc/devices, 장치 ID에 의해 정렬된 캐릭터와 블록 장치들 뿐만 아니라 /dev 이름에 대한 목록.
줄 72 ⟶ 86:
* [http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html Linux-Filesystem-Hierarchy] Linux Documentation Project
* [http://archive09.linux.com/feature/126718 Discover the possibilities of the /proc directory] by Federico Kereki
 
{{파일 시스템}}
{{운영 체제}}
 
[[분류:리눅스 커널의 인터페이스]]
[[분류:리눅스 커널 특징]]