linux fg bg ctrl + z jobs & µÈÃüÁî
fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾³£±»Óõ½
Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
²é¿´µ±Ç°ÓжàÉÙÔÚºǫ́ÔËÐеÄÃüÁî
ËÄ¡£fg
½«ºǫ́ÖеÄÃüÁîµ÷ÖÁǰ̨¼ÌÐøÔËÐÐ
Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓà fg
%jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid)
Îå¡£bg
½«Ò»¸öÔÚºǫ́ÔÝÍ£µÄÃüÁ±ä³É¼ÌÐøÖ´ÐÐ
Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓÃbg
%jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid)
LinuxÏÂʹÓÃShellÃüÁî¿ØÖÆÈÎÎñJobsÖ´ÐÐ
ÏÂÁÐÃüÁî¿ÉÒÔÓÃÀ´²Ù×ݽø³ÌÈÎÎñ£º
ps Áгöϵͳ
ÖÐÕýÔÚÔËÐеĽø³Ì£»
kill ·¢ËÍÐźŸøÒ»¸ö»ò¶à¸ö½ø³Ì£¨¾³£ÓÃÀ´É±ËÀÒ»¸ö½ø³Ì£©£»
jobs
Áгöµ±Ç°shell»·¾³ÖÐÒÑÆô¶¯µÄÈÎÎñ״̬£¬Èôδָ¶¨jobsid£¬ÔòÏÔʾËùÓлµÄÈÎÎñ״̬ÐÅÏ¢£»Èç¹û±¨¸æÁËÒ»¸öÈÎÎñµÄÖÕÖ¹(¼´ÈÎÎñµÄ״̬±»±ê¼ÇΪ
Terminated)£¬shell ´Óµ±Ç°µÄshell»·¾³
ÒÑÖªµÄÁбíÖÐɾ³ýÈÎÎñµÄ½ø³Ì±êʶ£»
bg ½«½ø³Ì°áµ½ºǫ́ÔËÐУ¨Background£©£»
fg ½«½ø³Ì°áµ½Ç°Ì¨ÔËÐУ¨Foreground£©£»
½«jobתÒƵ½ºǫ́ÔËÐÐ
Èç¹ûÄã¾³£ÔÚXͼÐÎϹ¤×÷£¬Äã¿ÉÄÜÓÐÕâÑùµÄ¾Àú£ºÍ¨¹ýÖÕ¶ËÃüÁîÔËÐÐÒ»¸öGUI³ÌÐò£¬GUI½çÃæ³öÀ´ÁË£¬µ«ÊÇÄãµÄÖն˻¹Í£ÁôÔÚԵأ¬Äã²»ÄÜÔÚshellÖмÌ
ÐøÖ´ÐÐÆäËûÃüÁîÁË£¬³ý·Ç½«GUI³ÌÐò
¹Øµô¡£
ΪÁËʹ³ÌÐòÖ´ÐкóÖն˻¹ÄܼÌÐø½ÓÊÜÃüÁÄã¿ÉÒÔ½«½ø³ÌÒƵ½ºǫ́ÔËÐУ¬Ê¹ÓÃÈçÏÂÃüÁîÔËÐгÌÐò£º #¼ÙÉèÒªÔËÐÐxmms
$xmms &
ÕâÑù´ò¿ªxmmsºó£¬Öն˵ÄÌáʾÓÖ»ØÀ´ÁË¡£ÏÖÔÚxmmsÔÚºǫ́ÔËÐÐ×ÅÄØ£»µ«ÍòÒ»ÄãÔËÐгÌÐòʱÍü¼ÇʹÓÓ&”ÁË£¬ÓÖ²»ÏëÖØÐÂÖ´ÐУ»Äã¿ÉÒÔÏÈʹÓÃ
ctrl+z¹ÒÆð³ÌÐò£¬È»ºóÇÃÈëbgÃüÁÕâÑù³ÌÐò¾ÍÔÚºǫ́¼ÌÐøÔËÐÐÁË¡£
¸ÅÄµ±Ç°ÈÎÎñ
Èç¹ûºǫ́µÄÈÎÎñºÅÓÐ2¸ö£¬[1],[2]£»Èç¹ûµ±µÚÒ»¸öºǫ́ÈÎÎñ˳ÀûÖ´ÐÐÍê±Ï£¬µÚ¶þ¸öºǫ́ÈÎÎñ»¹ÔÚÖ´ÐÐÖÐʱ£¬µ±Ç°ÈÎÎñ±ã»á×Ô¶¯±ä³Éºǫ́ÈÎÎñºÅÂë“[2]”
µÄºǫ́ÈÎÎñ¡£ËùÒÔ¿ÉÒԵóöÒ»µã£¬¼´µ±Ç°ÈÎÎñÊÇ»á±ä¶¯µÄ¡£µ±Óû§
ÊäÈë“fg”¡¢“bg”ºÍ“stop”µÈÃüÁîʱ£¬Èç¹û²»¼ÓÈκÎÒý
ºÅ£¬ÔòËù±ä¶¯µÄ¾ùÊǵ±Ç°ÈÎÎñ¡£
²ì¿´jobs
ʹÓÃjobs»òpsÃüÁî¿ÉÒԲ쿴ÕýÔÚÖ´ÐеÄjobs¡£
jobsÃüÁî
Ïà¹ØÎĵµ£º
·½·¨Ò»¡¢LR + SiteScope
·½·¨¶þ¡¢Ê¹ÓÃrstatd°ü
1¡¢ÏÂÔØrpc.rstatd-4.0.1.tar.gz
2¡¢½âѹËõ
tar -zxvf rpc.rstatd-4.0.1.tar.gz
3¡¢ÅäÖÃ
./configure
4¡¢±àÒë
make
5¡¢°²×°
make install
6¡¢Æô¶¯
rpc.rstatd
7¡¢ÔÚLoadRunnerÖÐÌí¼Ó¼ÆÊýÆ÷
average load :ÔÚ¹ýÈ¥µ ......
ÓÉÓÚҪʹÓõ½log4cppµÄ¿â£¬¶ølog4cµÄ×ÊÁÏÊǷdz£µÄÉÙ£¬Ò²ÀÁµÃÈ¥Ñо¿ËüµÄÓ÷¨£¬ÓÚÊǾ;ö¶¨ÊÔÊÔ»ìºÏ±à³ÌÕßÍæÒâ¡£
Ê×ÏÈÏÈÒýÓÃÏÂC++ËüµÄfather: StroustrupµÄһƪÎÄÕ¡¶C++ Style and Technique FAQ¡·£¨http://www2.research.att.com/~bs/bs_faq2.html£©ÀïµÄһС¸öÆ ......
1
"
2
" @(#) This is vimrc for vim/gvim.
3
" This vimrc file will automatically configure itself based on
4
" the system it runs on (Windows/Unix).
5
" This vimrc file has been tested on SPARC/Solaris, Intel/Linux
6
" ......
±¾ÎÄÁгöÁ˴󲿷ֳ£¼ûµÄLinuxϵͳµ÷Ó㬲¢¸½ÓмòÒªÖÐÎÄ˵Ã÷¡£
ÒÔÏÂÊÇLinuxϵͳµ÷ÓõÄÒ»¸öÁÐ±í£¬°üº¬Á˴󲿷ֳ£ÓÃϵͳµ÷ÓúÍÓÉϵͳµ÷ÓÃÅÉÉú³öµÄµÄº¯Êý¡£Õâ¿ÉÄÜÊÇÄãÔÚ»¥ÁªÍøÉÏËùÄÜ¿´µ½µÄΨһһƪÖÐÎÄ×¢Ê͵ÄLinuxϵͳµ÷ÓÃÁÐ±í£¬¼´Ê¹ÊǼòµ¥µÄ×ÖĸÐòÓ¢ÎÄÁÐ±í£¬ÄÜ×öµ½ÕâôÍêÈ«Ò²ÊǺܺ±¼ûµÄ¡£
°´ÕÕ¹ßÀý£¬Õâ¸öÁбíÒÔman
pagesµÚ2 ......