Linux 시스템에는 Whatis라는 File 기반의 Meta Data DB가 존재 한다.
Whatis DB를 통해서는 다음과 같은 검색작업이 가능하다.
1. Linux System Whatis DB에 완성 단어를 통해 관련 명령이나 유틸, 데몬등을 질의 검색 (완성단어 검색)
[root@s-node01 ~]# whatis whatis whatis (1) - search the whatis database for complete words [root@s-node01 ~]# [root@s-node01 ~]# whatis scsi scsi-target-utils (rpm) - The SCSI target daemon and utility programs [root@s-node01 ~]# |
2. Linux System 에 설치되어있는 명령이나 유틸 데몬들중 특정 단어가 포함된 조건을 모두 찾고 싶을때 (Like 검색)
[root@s-node01 ~]# [root@s-node01 ~]# whatis apropos apropos (1) - search the whatis database for strings [root@s-node01 ~]# [root@s-node01 ~]# apropos scsi fence_scsi (8) - I/O fencing agent for SCSI persistent reservations fence_scsi_test (8) - Test for SCSI persistent reservation fencing iscsi-iname (8) - iSCSI initiator name generation tool iscsi-initiator-utils (rpm) - iSCSI daemon and utility programs iscsiadm (8) - open-iscsi administration utility iscsid (8) - Open-iSCSI daemon iscsistart (8) - iSCSI boot tool iscsiuio (8) - iSCSI UserSpace I/O driver probe::scsi.iocompleted [probe::scsi] (3stap) - SCSI mid-layer running the completion processing for block device I/O requests probe::scsi.iodispatching [probe::scsi] (3stap) - SCSI mid-layer dispatched low-level SCSI command probe::scsi.iodone [probe::scsi] (3stap) - SCSI command completed by low level driver and enqueued into the done queue probe::scsi.ioentry [probe::scsi] (3stap) - Prepares a SCSI mid-layer request probe::scsi.ioexecute [probe::scsi] (3stap) - Create mid-layer SCSI request and wait for the result probe::scsi.set_state [probe::scsi] (3stap) - Order SCSI device state change scsi-target-utils (rpm) - The SCSI target daemon and utility programs scsi_id (8) - retrieve and generate a unique SCSI identifier sd (4) - Driver for SCSI Disk Drives st (4) - SCSI tape device tapset::scsi (3stap) - systemtap scsi probe points tgt-admin (8) - Linux SCSI Target Configuration Tool tgtadm (8) - Linux SCSI Target Administration Utility [root@s-node01 ~]# |