tailieunhanh - Essential System Administration, 3rd Edition phần 9

LPRng sử dụng ba tập tin cấu hình (được lưu trữ trong / etc): printcap, , và , giữ hàng đợi cấu hình, cấu hình spooler toàn cầu và các quy tắc truy cập máy in, tương ứng. Đầu tiên trong số này là một phiên bản sửa đổi của tập tin printcap tiêu chuẩn của LPD. Nó sử dụng một cú pháp thư giãn: tất cả các lĩnh vực sử dụng một | memory that they never actually use and they may run successfully if this setting is enabled. Changing parameter values is accomplished by modifying the values in these values. For example the following command changes the settings related to the buffer cache echo 5 33 80 proc sys vm buffermem Solaris On Solaris systems you can view the values of system parameters via the kstat example the following command displays system parameters related to paging behavior including their default values on a system with 1 GB of physical memory kstat -m unix -n system_pages grep free cachefree 1966 Units are pages lotsfree 1966 desfree 983 minfree 491 Figure 15-4 illustrates the meanings and interrelationships of these memory levels. Figure 15-4. Solaris paging and swapping memory ILevels . .----Mchefree---------------------- inert art fat ---------------------loti free---------------------- fữ Ịĩ ---------------------dubfiee------------------------ . . min-fiee . .--- As the figure indicates setting cachefree to a value greater than lotsfree provides a way of favoring processes memory over thebuffer cache by default no distinction is made between them because lotsfree is equal to cachefree . In order to do so you should decrease lotsfree to some point between its current level and desfree rather than increasing cachefree . Solaris 9 has changed its virtual memory manager and has eliminated the cachefree variable. Tru64 Tru64 memory management is controlled by parameters in thesysconfig vm subsystem. These are the most useful parameters vm_aggressive_swap Enable disable aggressive swapping out of idle processes 0 by default . Enabling this can provide some memory management improvements on heavily loaded systems but it is not a substitute for reducing excess consumption. There are several parameters that control the conditions under which the memory manager steals pages from active processes and or swaps out idle processes in an effort to .

TỪ KHÓA LIÊN QUAN