ÈçºÎÈýø³ÌÔÚLinuxºǫ́ÔËÐÐ
ÔÚLinuxÖУ¬Èç¹ûÒªÈýø³ÌÔÚºǫ́ÔËÐУ¬Ò»°ãÇé¿öÏ£¬ÎÒÃÇÔÚÃüÁîºóÃæ¼ÓÉÏ&¼´¿É£¬Êµ¼ÊÉÏ£¬ÕâÑùÊǽ«ÃüÁî·ÅÈëµ½Ò»¸ö×÷Òµ¶ÓÁÐÖÐÁË£º
[root@localhost /]# ./test.sh &
[1] 17208
È»ºóÎÒÃǾͿÉÒÔÓÃÒÔÏÂÃüÁî½øÐв鿴£º
[root@localhost /]# jobs -l
[1] 17208 Running ./test.sh &
¶ÔÓÚÒѾÔÚǰִ̨ÐеÄÃüÁҲ¿ÉÒÔÖØÐ·ŵ½ºǫִ́ÐÐÊ×ÏȰ´ctrl zÔÝÍ£ÒѾÔËÐеĽø³Ì£¬È»ºóʹÓÃbgÃüÁֹͣµÄ×÷Òµ·Åµ½ºǫ́ÔËÐУº
[root@localhost /]# bg %1
[1] ./test.sh &
[root@localhost /]# jobs -l
[1] 22794 Running ./test.sh &
µ«ÊÇÈçÉÏ·½µ½ºǫִ́ÐеĽø³Ì£¬Æä¸¸½ø³Ì»¹Êǵ±Ç°ÖÕ¶ËshellµÄ½ø³Ì£¬¶øÒ»µ©¸¸½ø³ÌÍ˳ö£¬Ôò»á·¢ËÍhangupÐźŸøËùÓÐ×Ó½ø³Ì£¬×Ó½ø³ÌÊÕµ½hangupÒÔºóÒ²»áÍ˳ö¡£Èç¹ûÎÒÃÇÒªÔÚÍ˳öshellµÄʱºò¼ÌÐøÔËÐнø³Ì£¬ÔòÐèҪʹÓÃnohupºöÂÔhangupÐźţ¬»òÕßsetsid½«½«¸¸½ø³ÌÉèΪinit½ø³Ì(½ø³ÌºÅΪ1)
[root@localhost /]# echo $$
21734
[root@localhost /]# nohup ./test.sh &<br />
[1] 29016
[root@localhost /]# ps -ef | grep test
515 29710 21734 0 11:47 pts/12 00:00:00 /bin/sh ./test.sh
515 29713 21734 0 11:47 pts/12 00:00:00 grep test
[root@localhost /]# setsid ./test.sh &
[1] 409
[root@localhost /]# ps -ef | grep test
515 410 1 0 11:49 ? 00:00:00 /bin/sh ./test.sh
515 413 21734 0 11:49 pts/12 00:00:00 grep test
ÉÏÃæµÄÊÔÑéÑÝʾÁËʹÓÃnohup/setsid¼ÓÉÏ&ʹ½ø³ÌÔÚºǫ́ÔËÐУ¬Í¬Ê±²»Êܵ±Ç°shellÍ˳öµÄÓ°Ïì¡£ÄÇô¶ÔÓÚÒѾÔÚºǫ́ÔËÐеĽø³Ì£¬¸ÃÔõô°ìÄØ£¿¿ÉÒÔʹÓÃdisownÃüÁ
[root@localhost /]# ./test.sh &
[1] 2539
[root@localhost /]# jobs -l
[1] 2539 Running ./test.sh &
[root@localhost /]# disown -h %1
[root@localhost /]# ps -ef | grep test
515 410 1 0 11:49 ? 00:00:00 /bin/sh ./test.sh
515 2542 21734 0 11:52 pts/12 00:00:00 grep test
ÁíÍ⻹ÓÐÒ»ÖÖ·½·¨£¬¼´Ê¹½«½ø³ÌÔÚÒ»¸ösubshellÖÐÖ´ÐУ¬ÆäʵÕâºÍsetsidÒìÇúͬ¹¤¡£·½·¨ºÜ¼òµ¥£¬½«ÃüÁîÓÃÀ¨ºÅ() À¨ÆðÀ´¼´¿É£º
[root@localhost /]# (./test.sh &)
[root@localhost /]# ps -ef | grep test
515 410 1 0 11:49 ? 00:00:00 /bin/sh ./test.sh
515 12483 21734 0 11:59 pts/12 00:00:00 grep test
×¢£º±¾ÎÄÊÔÑé»·¾³ÎªRed Hat Enterpr
Ïà¹ØÎĵµ£º
°üº¬3¸öÎļþ¼Ð£¬ºÍÒ»¸öÎļþMakefile
Ŀ¼×éÖ¯½á¹¹ÈçÏ£º
Makefile
inc/hello.h
main/main.c
src/hello.c
MakefileÎļþÔÚÍâÃæ£¬ÕâÑùÉú³ÉµÄ.oºÍ¿ÉÖ´ÐÐÎļþ¶¼ÔÚÍâÃæ£¬cleanÖ®ºó»áºÜ¸É¾»£¬½á¹¹ÇåÎú
ÎļþÄÚÈÝÈçÏ£º
Makefile(Ö®ËùÒÔÓôóд£¬ÒòΪmake¿ÉÒÔʶ±ðMakefileºÍmakefile£¬Óôóд¿ÉÒÔÏÊÃ÷һЩ)::
# String declar ......
Ò».²é¿´ËùÓÐÓ²Å̵Äuuid
ls -all /dev/disk/by-uuid
longseakerµÄʵÀý
lrwxrwxrwx 1 root root 10 2009-09-19 08:17 05434a61-8a78-4ee5- a5db-6a49079b9e3d -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-09-19 08:17 07D8-0104 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-09-19 08:17 18201249-998a-4bb1 ......
Ê×ÏÈ,·þÎñÆ÷GCCÒªÓÐ,²»È»Ê²Ã´¶¼²»ÄÜ×ö.Äܹ»ÓÃgcc -vÀ´²é¿´ÊÇ·ñ°²×°ÁËGCC,
#gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checki ......
Ò».ʲôÊÇNS 2
NS 2ÊÇÒ»ÖÖÕë¶ÔÍøÂç¼¼ÊõµÄÔ´´úÂ빫¿ªµÄ¡¢Ãâ·ÑµÄÈí¼þÄ£ÄâÆ½Ì¨£¬Ñо¿ÈËԱʹÓÃËü¿ÉÒÔºÜÈÝÒ׵ĽøÐÐÍøÂç¼¼ÊõµÄ¿ª·¢£¬¶øÇÒ·¢Õ¹µ½½ñÌ죬ËüËù°üº¬µÄÄ£¿é·Ç³£·á¸»£¬¼¸ºõÉæ¼°µ½ÁËÍøÂç¼¼ÊõµÄËùÓз½Ãæ¡£
NS 2£¨Network Simulator, version
2£©ÊÇÒ»ÖÖÃæ ......
±¾ÎĽ«Í¨¹ýÓÃÓÚÏò¶ÓÁз¢ËÍÏûÏ¢ºÍ´Ó¶ÓÁнÓÊÕÏûÏ¢µÄʾÀýÓ¦ÓóÌÐò˵Ã÷ÈçºÎÔÚ Linux ÉÏ×ÅÊÖ°²×°ºÍÅäÖà WebSphere MQ£¬ÒÔ¼°ÈçºÎΪ MQ »·¾³¿ª·¢ Java Ó¦ÓóÌÐò¡£
ÒýÑÔ
±¾ÎĵÄÄ¿±êÊÇÈÃÄúÇáËÉʵÏÖ Linux® É쵀 IBM® WebSphere® MQ ÈëÃÅ¡£ÓÉÓÚ´ó²¿·Ö Linux ·þÎñÆ÷²¢Ã»ÓÐͼÐÎÓû§½çÃæ£¬Òò´Ë±¾ÎĽ«ËµÃ÷ÈçºÎʹÓÃÃüÁîÐй¤¾ ......