Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxϵÄ/etc/security/limits.confÎļþ

limits.conf Îļþʵ¼ÊÊÇ Linux PAM£¨²åÈëʽÈÏ֤ģ¿é£¬Pluggable Authentication Modules£©ÖÐ pam_limits.so µÄÅäÖÃÎļþ£¬¶øÇÒÖ»Õë¶ÔÓÚµ¥¸ö»á»°¡£
limits.confµÄ¸ñʽÈçÏ£º
username|@groupname type resource limit
username|@groupname£ºÉèÖÃÐèÒª±»ÏÞÖƵÄÓû§Ãû£¬×éÃûÇ°Ãæ¼Ó@ºÍÓû§ÃûÇø±ð¡£Ò²¿ÉÒÔÓÃͨÅä·û*À´×öËùÓÐÓû§µÄÏÞÖÆ¡£
type£ºÓÐ soft£¬hard ºÍ -£¬soft Ö¸µÄÊǵ±Ç°ÏµÍ³ÉúЧµÄÉèÖÃÖµ¡£hard ±íÃ÷ϵͳÖÐËùÄÜÉ趨µÄ×î´óÖµ¡£soft µÄÏÞÖƲ»ÄܱÈhar ÏÞÖƸߡ£Óà - ¾Í±íÃ÷ͬʱÉèÖÃÁË soft ºÍ hard µÄÖµ¡£
resource£º
core - ÏÞÖÆÄÚºËÎļþµÄ´óС
date - ×î´óÊý¾Ý´óС
fsize - ×î´óÎļþ´óС
memlock - ×î´óËø¶¨ÄÚ´æµØÖ·¿Õ¼ä
nofile - ´ò¿ªÎļþµÄ×î´óÊýÄ¿
rss - ×î´ó³Ö¾ÃÉèÖôóС
stack - ×î´óÕ»´óС
cpu - ÒÔ·ÖÖÓΪµ¥Î»µÄ×î¶à CPU ʱ¼ä
noproc - ½ø³ÌµÄ×î´óÊýÄ¿
as - µØÖ·¿Õ¼äÏÞÖÆ
maxlogins - ´ËÓû§ÔÊÐíµÇ¼µÄ×î´óÊýÄ¿
Ҫʹ limits.conf ÎļþÅäÖÃÉúЧ£¬±ØÐëҪȷ±£ pam_limits.so Îļþ±»¼ÓÈëµ½Æô¶¯ÎļþÖС£²é¿´ /etc/pam.d/login ÎļþÖÐÓУº
session required /lib/security/pam_limits.so


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

Linux·ÖÇøµÄUUID


LinuxϵͳµÄÿ¸ö·ÖÇøÔÚ±»´´½¨Ê±¶¼»áÉú³ÉÒ»¸öΨһʶ±ðµÄUUID£¬·½±ã¹ÜÀí¡£
»ñÈ¡·½·¨£º
1) # ll -l /dev/disk/by-uuid/
2) # blkid /dev/sda1
×¢£ºÐèÒªrootȨÏÞ
×¢£ºÊ¹ÓÃlibblkid.soºÍ/usr/include/blkid/blkid.h¿ÉÒÔʵÏÖ¸ÃÃüÁî¡£
3) # vol_id /dev/sda1
×¢£ºÄ³Ð©Linux°æ±¾²»Ö§³Ö
......

¡¶wc¡· linuxÃüÁîÎå·ÖÖÓϵÁÐ֮ʮÆß

ת×Ô£ºhttp://roclinux.cn/?p=1288#more-1288
½ñÌìµÄÄÚÈÝÊÇLinuxµÄwcÃüÁÕâ¸öÃû×ֺܺüǣ¬ÒòΪʲô£¬ÄãÒ²ÖªµÀ¡£
Õâ¸öÃüÁîµÄ¹¦ÄÜÒ²ºÜºÃ¼Ç£¬ÒòΪËü¹¦ÄܺÜÓÐÏÞ£º
wc -c filename£ºÏÔʾһ¸öÎļþµÄ×Ö½ÚÊý
wc -m filename£ºÏÔʾһ¸öÎļþµÄ×Ö·ûÊý
wc -l filename£ºÏÔʾһ¸öÎļþµÄÐÐÊý
wc -L filename£ºÏÔʾһ¸öÎļþÖеÄ×î³ ......

ÈçºÎжÔØlinuxϵÄhttpd

     µ±ÎÒÃÇÏëжÔØhttpd µÄʱºò£¬Ê¹ÓÃrpm -qa httpd µÄʱºò£¬ÎÒÃÇ·¢ÏÖÓкܶàµÄÒÀÀµ°ü¡£ÎÒÃÇÄÍÐĵÄÏëÒ»¸öÒ»¸öµÄжÔصÄʱºò£¨Ê¹ÓÃrpm -e httpd-*£©£¬»¹»á½øÈëËÀÑ­»·¡£
½â¾öµÄ°ì·¨ÊÇ£ºÊ¹Óà rpm -e httpd-* --nodeps˵Ã÷£º¡°*¡±ÊÇͨÅä·û¡£
 
°²×°CentOS5.3µÄʱºò»áĬÈÏ°²×°httpd·þÎñ¡£
Ê×ÏȲ鿴 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ