linuxʵÑéÈý
ʵÑé3 LinuxµÄ½ø³Ì¿ØÖÆ
Ò».ʵÑéÄ¿µÄ
ͨ¹ýʵÑéÕÆÎÕLinuxÖнø³Ì¿ØÖƵĻù±¾ÃüÁî¡£
¶þ.ʵÑéÒªÇó
1.Á·Ï°Ê¹ÓÃwho, w, ps,pstree²ì¿´ÏµÍ³Óû§¼°½ø³ÌµÄÐÅÏ¢¡£
2.Á·Ï°Ê¹ÓÃkillÃüÁî³·Ïú½ø³Ì¡£
3.Á·Ï°½ø³ÌÇ°ºǫ́µÄÇл»¡£
Èý¡¢ ʵÑ鱨¸æÒªÇó
1£® ¼òҪ˵Ã÷ʵÑéµÄÄ¿µÄ¡¢ÈÎÎñÓëÉ豸
2£® д³ö¾ßÌåµÄʵÑé²½Ö輰ʵÑé½á¹û
3£® ×ܽáʵÑé¹ý³ÌÖÐÓöµ½µÄÎÊÌâ¼°½â¾ö·½·¨
4£® ʵÑéÌå»á
Èý.ʵÑé²½Öè
1. ÒÔ³¬¼¶Óû§rootµÇ¼ϵͳ£¬ÒÔ×Ô¼ºÃû×Öн¨Ò»¸öÓû§£¬²¢ÓøÃÓû§ÖØеǼϵͳ¡£
2. Á·Ï°Ê¹ÓÃsuÃüÁîÇл»µ½³¬¼¶Óû§£¬²¢ÓÃexitÃüÁîÍ˳ö³¬¼¶Óû§
3. ´ò¿ªÖն˴°¿Ú£¬Ê¹ÓÃwhoÃüÁî²é¿´µ±Ç°ÔÚÏßÓû§ÐÅÏ¢¡£
4. ´ò¿ªvi±à¼Æ÷£¬±£Áô¸ÃÖն˴°¿Ú£¨¼ÙÉèΪa´°¿Ú£©£¬ÁíÍâ´ò¿ªÒ»¸öÖն˴°¿Ú£¨¼ÙÉèΪb´°¿Ú£©£¬ÔÚb´°¿ÚÖÐʹÓÃwÃüÁî²é¿´Ä¿Ç°µÇ¼µÄÓû§¼°ÕýÔÚÖ´ÐеÄÃüÁî¡£
5. ÔÚb´°¿ÚÖÐʹÓÃpsÃüÁî²é¿´½ø³ÌÐÅÏ¢¡£²¢ÕÒ³övim½ø³ÌµÄ״̬¼°ËùµÈ´ýµÄÄں˽ø³Ì¡£ÕÒ³öÒ»¸ö¾ÍÐ÷״̬µÄ½ø³Ì£¬²¢²é¿´¸Ã½ø³ÌµÄÓÅÏȼ¶¡¢Óû§idµÈÐÅÏ¢¡£²é¿´psÃüÁîµÄ¸¸½ø³ÌºÅ£¬²¢ÕÒ³ö¸¸½ø³ÌÃû¡£
PsÃüÁîÓ÷¨£º
¸ñʽ£ºps Ñ¡Ïî
³£ÓÃÑ¡Ïî˵Ã÷£º
-e: ÏÔʾËùÓнø³Ì
-a£ºÏÔʾÖÕ¶ËÉÏËùÓнø³Ì£¬°üÀ¨Ç°Ò»»á»°ÖÐÔËÐеĺǫ́½ø³Ì
-l: ÒÔ³¤ÁбíµÄ·½Ê½Êä³ö£¬ÏÔʾÈçÏÂÄÚÈÝ£º
F£ºÓë½ø³ÌÏà¹ØµÄ±êÖ¾£¬Ö¸Ê¾½ø³ÌÊÇ·ñΪһ¸öÓû§½ø³Ì»òÄں˽ø³Ì¡£
S£º½ø³Ì״̬¡£R£¨¾ÍÐ÷̬£©£¬S£¨Ë¯Ãß״̬£©£¬D£¨²»¼ä¶Ï˯Ãß״̬£¬ÈçÖ´ÐÐI/Oʱ£©£¬T£¨ÖÕֹ״̬£©£¬Z£¨½©»¯½ø³Ì£©¡£
UID£ºÓû§ºÅ
PID£º½ø³ÌºÅ
PPID£º¸¸½ø³ÌºÅ
PRI£ºÓÅÏÈȨ
SZ£º´óС
TTY£ºÖնˣ¬¸Ã×Ö¶ÎÏÔʾ¸½¼Ó½ø³ÌµÄÖÕ¶ËÃû
TIME£º½ø³ÌÔËÐÐʱ¼ä
CMD£ºÃüÁîÃû
WCHAN£ºµÈ´ýͨµÀ£º¶ÔÓÚÕýÔÚÔËÐлò×¼±¸ÔËÐеĽø³Ì£¬ÖµÎª¿Õ£»¶ÔÓڵȴý½ø³Ì£¬¸Ã×Ö¶ÎÁгö½ø³ÌµÈ´ýµÄÄÚºËʼþÃû¡£
NI£º½ø³ÌµÄniceÖµ£¬¼ÆËã½ø³ÌÓÅÏȺŵIJÎÊý
6.ʹÓÃkillÃüÁîÖÕÖ¹¸Ã½ø³Ì¡£Ê¹ÓÃps²é¿´ÊÇ
Ïà¹ØÎĵµ£º
¼ÙÈçÉÏ´«´úÂëµ½SVNÉÏ£¬×î¼òµ¥µÄÒ»ÖÖ·½·¨¾ÍÊÇ£º½øÈë´úÂëĿ¼£¬È»ºó$svn import -m "New import" myqwcode http://192.168.0.222/svn/myqwcode¾Í¿ÉÒÔÁË£¬²»ÐèÒª½¨Á¢ÐÂĿ¼£¡
1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
  ......
LinuxÓ¦Ó÷¶Î§µÄÈÕÒæÀ©Õ¹£¬Ê¹µÃÆäʹÓÃÐÔÔ½À´Ô½Êܵ½¹Ø×¢¡£ÐÔÊÇÒ»¸ö¸´ÔӺ͹㷺µÄÎÊÌ⣬´Ë´¦ÎÒÃÇÖ÷Òª¹Ø×¢LinuxÓû§µÄÕË»§°²È«£¬ÌرðÊÇLinuxϵͳ¹ÜÀíÔ±ÈçºÎ±£ÕÏÓû§µÄ°²È«¡£
¡¡¡¡
¡¡¡¡
¡¡¡¡¿ÚÁȫ
¡¡¡¡
¡¡¡¡
¡¡¡¡LinuxϵͳÖеģ¯etc£¯passwdÎļþº¬ÓÐÈ«²¿ÏµÍ³ÐèÒªÖªµÀµÄÿ¸öÓû§µÄÐÅÏ¢(¼ÓÃÜ¿ÚÁîµÄÃÜÎÄÒ²¿ÉÄÜ´æÓÚ£¯etc£¯ ......
È«ÎÄÃèÊöÁË´Ówindowx xpϵͳÖУ¬Í¨¹ýÓ²ÅÌÖдæÔÚµÄubuntuµÄiso°²×°Îļþ£¬ Òýµ¼ÏµÍ³Íê³ÉLinuxµÄ°²×°¡£
ÔÀí£º ÉèÖÃϵͳµÄÆô¶¯·½Ê½£¬Í¨¹ýÐÞ¸Äboot.iniÎļþ£¬ÀûÓÃgrub for dos Òýµ¼ÏµÍ³´ÓisoÆô¶¯£¬´Ó¶ø˳ÀûÆô¶¯UbuntuµÄ°²×°¡£
(×¢Ò⣺Ubuntu isoÎļþ¿ÉÒÔ²»Óð²×°£¬Ö±½ÓʹÓá£Ï൱ÓÚLive CDÒ»Ñù£¬ Ö»ÊÇ´¦ÀíµÄ½á¹û² ......
inuxµÄchmodÃüÁîʹÓÃÏê½â
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æȡȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´® ......
¡¡ÔÚLinuxϵͳÖУ¬Èç¹ûҪʹÓÃÓ²ÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ»òMOÅ̵ȴ洢É豸£¬±ØÐëÏȽøÐйÒ×°£¨Mount£©¡£µ±´æ´¢É豸¹Ò×°Íê³ÉÖ®ºó£¬¾Í¿ÉÒÔ½«Æä×÷Ϊһ¸öĿ¼À´½øÐзÃÎÊÁË¡£¹Ò×°É豸ÐèҪʹÓÃmountÃüÁî¡£Ö´ÐÐÕâÒ»ÃüÁÖÁÉÙÒªÏÈÈ·¶¨ÏÂÁÐÈýÖÖÐÅÏ¢£º
¡¡¡¡1. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÎļþϵͳÀàÐÍ£»
¡¡¡¡2. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÉ豸à ......