Linux¹Ø»úÃüÁî
1 shutdown:
[NAME
] shutdown - bring the system down
SYNOPSIS
/sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]
DESCRIPTION
shutdown brings the system down in a secure way. All logged-in users are notified that the system is going down, and login(1) is blocked. It is possible to shut the system down immediately or after a specified delay. All processes are first notified that the system is going down by the signal SIGTERM. This gives programs like vi(1) the time to save the file being edited, mail and news processing programs a chance to exit cleanly, etc. shutdown does its job by signalling the init process, asking it to change the runlevel. Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system, and runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is the
default if neither the -h or -r flag is given to shutdown. To see which actions are taken on halt or reboot see the
appropriate entries for these runlevels in the file /etc/inittab.
OPTIONS
-a Use /etc/shutdown.allow.
-t sec Tell init(8) to wait sec seconds between sending processes the warning and the kill signal, before changing to
another runlevel.
-k Do not really shutdown; only send the warning messages to everybody.
-r Reboot after shutdown.
&n
Ïà¹ØÎĵµ£º
The Intelligent Input/Output (I2O) architecture allows hardware drivers to be split into two parts: an operating system specific module called the OSM and an hardware specific module called the HDM. The OSM can talk to a whole range of HDM's, and ideally the HDM's are not OS dependent. This allows f ......
ÖÜĩȥÁËÉϺ£ÊÀ²©»á£¬¼ûʶµ½ÁË£¬Ê²Ã´½Ð×öÈ˺££¬Öйú¾ÍÊÇÈ˶ࡣ¿´ÁË7¡¢8¸ö¹Ý£¬Í¦²»´íµÄ£¬¾ÍÊÇÄǸöÀÛ°¡£¬ÀÏÆÅ¶¼Çë¼ÙÔÚ¼ÒÐÝÏ¢ÁËÒ»Ìì¡£
This is chinese people‘s big party£¡ ¹þ¹þ ¸öÈËÈÏΪ¡£
»Ø¹éÕýÌ⣬Õ⼸ÌìÔÚÒÆÖ²windowsϵĴúÂ룬·¢ÏÖ½«windowsϵÄÎļþÖ±½ÓÍϵ½linuxÏÂÏÔʾ»á³öÏÖÂÒÂë¡£ÉÏÍø²éÁËÀϰëÌ죬Ҳ³¢ÊÔÁËÒ ......
ÎÄÕ³ö´¦£ºhttp://doc.linuxpk.com/52964.html
ʹÓÿØÖÆÌ¨µÇ¼ºó£¬ÔÚshellÌáʾ·ûÏÂÃæ²Ù×÷ʱ»áÓõ½´óÁ¿µÄTabÀ´×Ô¶¯²¹È«£¬Õâ¸öʱºò»úÆ÷µÄ·äÃùÆ÷¾Í»áà½à½ßÁßÁ²»Í££¬Õâ¸öà½à½ßÁßÁµÄÉùÒô¿ÉÒÔʹÓÃsettermÃüÁîÀ´ÉèÖÃËüµÄ³¤¶Ì¡£
setterm -blength 0
  ......
http://blog.oasisfeng.com/2006/09/15/embedded-linux-cutdown/
ǰ¶Îʱ¼äÒòΪǶÈëʽӦÓÿª·¢µÄÐèÒª£¬¶ÔLinux½øÐÐÁËÒ»´Î´ó·ù¶ÈµÄ²Ã¼õ¡£ÓÉÓÚÊdzõ´Î½Ó´¥LinuxÆô¶¯µÄºËÐIJ¿·Ö£¬ËùÒÔ»ù±¾ÉÏ»¹ÊǶÔÍøÉϸ÷Öֲüõ
·½°¸µÄÆ´´ÕºÍÕûÀí£¬°üº¬×Ô¼ºÀí½âµÄ²¿·ÖʵÔÚºÜÉÙ¡£×ܵÄÀ´ËµÐ§¹û²»ËãÀíÏ룬ºóÃæ»¹Óкܳ¤µÄ·Ҫ×ß¡£
ÕâÀï¾Í´óÖÂ˵˵Ŀ ......
ĬÈÏÇé¿öÏ£¬crontabÖÐÖ´ÐеÄÈÕ־дÔÚ/var/logÏ£¬È磺
¡¡¡¡#ls /var/log/cron*
¡¡¡¡/var/log/cron /var/log/cron.1 /var/log/cron.2 /var/log/cron.3 /var/log/cron.4
¡¡¡¡crontabµÄÈÕÖ¾£¬µ±crondÖ´ÐÐÈÎÎñʧ°Üʱ»á¸øÓû§·¢Ò»·âÓʼþ¡£Èç¹ûÔÚ·þÎñÆ÷ÉÏ·¢ÏÖÒ»¸öÈÎÎñûÓÐÕý³£Ö´ÐУ¬¶øcrond·¢ÓʼþҲʧ°Ü¡£Í¨¹ý¿´mailµÄÈÕÖ¾£¬¿ ......