Çólinux time ÃüÁîµÄʵÏÖ´úÂë
ÈçÌ⣬лл
LinuxÊÇ¿ªÔ´µÄ£¬ÄãËÑË÷LinuxÔ´³ÌÐòĿ¼¾Í¿ÉÒÔÕÒµ½shellÃüÁîtimeµÄʵÏÖ´úÂë¡£
kernel/time.c
ÄãµÄÍ·ÏñºÜ²»´íѽ
ʹÓú¯ÊýtimeΪ½ø³ÌÌṩµ±Ç°µÄʱ¼ä
#include<time.h>
time_t time(time_t *t);
ÀýÈ磺
time_t cur_time;/*´æ´¢µ±Ç°Ê±¼äµÄ±äÁ¿*/
cur_time=time(NULL);/*µÃµ½µ±Ç°Ê±¼ä*/
printf(cur_time);
http://www.pudn.com/downloads84/sourcecode/unix_linux/detail324456.html
pudnÖ±½Ó¾ÍÓеÄÏÂ
time²»½ö½öÊǼÆʱ£¬Ö÷ÒªÊÇÄÜ´òÓ¡³öÀ´Óû§/ϵͳʱ¼äÖ®ÀàµÄÐÅÏ¢¡£
man getrusage
IDÒ²±©Ç¿
Ïà¹ØÎÊ´ð£º
ÎÒµÄÒâ˼ÊÇ£º
ÔÚ²»¸ü¸ÄÔÀ´µÄÎļþ¼ÐËùÓÐÈË£¬ËùÓÐ×飬ÆäËûÈËȨÏÞµÄÇé¿öÏ£¬µ¥¶À¸øÎļþ¼ÐÊÚȨijÓû§
±ÈÈç/var/www Õâ¸öÎļþ¼Ð£¬ÔÀ´ÏµÍ³ÓÐĬÈϵÄÊôÖ÷ºÍÊô×飬ÎÒÏÖÔÚ²»ÏëÈ¥¸ÄËüÔÀ´µÄÉ趨£¬Ö»ÊÇÏë¸øËüÔö¼ ......
¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£&nbs ......
RT
javaµÄһЩ½çÃæÊÇ·½¿é¡£Ó¦¸ÃÊÇ×Ö·ûÎÊÌâ°É¡£
ÎÒÓõÄÊÇFedora11.ÇëÎÊÔõô½â¾ö°¡£¿
°££¬Ã»ÓÐÈ˻شðÎÒ
òËÆlinuxϵÄ×Ö·ûÊÇutf-8 ÊÇÓÃeclipseô£¿ ÊǵĻ°£¬°ÑËü¸Ä»Øgbk¾Í¿ÉÒÔÁË¡£
ϵͳÖÐÎÄ×ÖÌå°²×°ÁËÂð£¿
Ä ......
linux ÏÂC±à³Ì ¼¯³É¿ª·¢»·¾³ ÓÃʲô±È½ÏºÃ
ÎÒ³õ²½Ñ¡¶¨ codeblock
ºÇºÇ »¹ÓÐ ÔÚlinux дÁËÒ»¸ö´òÓ¡ÖÐÎĵĴúÂ룬¶ø½ñÌìÔÚwindows ϲ鿴ÄǸö´úÂë £¬ ÊÇÂÒÂë ¶øºóÏëµ½ÏÈÓà EditPlusÏȽøÐб༠Ȼºó¸´ÖÆ ......