He,YuanHui —— 业精于勤荒于嬉,行成于思毁于随


Add to Google
如果你喜欢一个事,又有这样的才干,那就把整个人都投入进去,就要象一把刀直扎下去直到刀柄一样,不要问为什么,也不要管会碰到什么。

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  239 随笔 :: 1 文章 :: 109 评论 :: 2 引用

Linux

posted @ 2011-05-16 09:47 He,YuanHui 阅读(1185) | 评论 (0) 编辑

posted @ 2011-02-21 00:45 He,YuanHui 阅读(352) | 评论 (0) 编辑

posted @ 2011-02-17 11:07 He,YuanHui 阅读(117) | 评论 (0) 编辑

posted @ 2011-02-17 09:47 He,YuanHui 阅读(108) | 评论 (2) 编辑

posted @ 2011-02-10 16:26 He,YuanHui 阅读(2055) | 评论 (0) 编辑

posted @ 2011-01-31 21:48 He,YuanHui 阅读(344) | 评论 (0) 编辑

posted @ 2011-01-30 17:31 He,YuanHui 阅读(239) | 评论 (0) 编辑

posted @ 2011-01-30 16:56 He,YuanHui 阅读(159) | 评论 (0) 编辑

posted @ 2011-01-30 14:18 He,YuanHui 阅读(52) | 评论 (0) 编辑

posted @ 2011-01-30 14:11 He,YuanHui 阅读(146) | 评论 (0) 编辑

posted @ 2011-01-30 13:49 He,YuanHui 阅读(364) | 评论 (0) 编辑

posted @ 2011-01-28 17:09 He,YuanHui 阅读(497) | 评论 (0) 编辑

posted @ 2011-01-28 17:06 He,YuanHui 阅读(136) | 评论 (0) 编辑

摘要: 如何保证服务一直运行?如何保证即使服务挂掉了也能自动重启?在写服务程序时经常会碰到这样的问题。在Linux系统中,强大的shell就可以很灵活的处理这样的事务。阅读全文
posted @ 2011-01-28 14:47 He,YuanHui 阅读(514) | 评论 (0) 编辑

posted @ 2011-01-21 09:47 He,YuanHui 阅读(36) | 评论 (0) 编辑

posted @ 2010-12-31 09:41 He,YuanHui 阅读(68) | 评论 (0) 编辑

posted @ 2010-12-30 12:57 He,YuanHui 阅读(19) | 评论 (0) 编辑

posted @ 2010-12-30 12:56 He,YuanHui 阅读(36) | 评论 (0) 编辑

posted @ 2010-12-30 12:49 He,YuanHui 阅读(67) | 评论 (0) 编辑

posted @ 2010-12-30 12:48 He,YuanHui 阅读(56) | 评论 (0) 编辑

posted @ 2010-12-30 12:47 He,YuanHui 阅读(45) | 评论 (0) 编辑

posted @ 2010-12-30 10:55 He,YuanHui 阅读(50) | 评论 (0) 编辑

posted @ 2010-12-20 18:10 He,YuanHui 阅读(80) | 评论 (0) 编辑

posted @ 2010-12-20 14:50 He,YuanHui 阅读(270) | 评论 (0) 编辑

posted @ 2010-12-02 12:40 He,YuanHui 阅读(115) | 评论 (0) 编辑

posted @ 2010-11-10 09:34 He,YuanHui 阅读(179) | 评论 (0) 编辑

posted @ 2010-10-28 15:32 He,YuanHui 阅读(46) | 评论 (0) 编辑

posted @ 2010-10-27 22:37 He,YuanHui 阅读(149) | 评论 (0) 编辑

posted @ 2010-09-27 10:51 He,YuanHui 阅读(302) | 评论 (0) 编辑

posted @ 2010-09-27 09:22 He,YuanHui 阅读(125) | 评论 (0) 编辑

posted @ 2010-09-26 15:02 He,YuanHui 阅读(191) | 评论 (0) 编辑

posted @ 2010-09-26 09:04 He,YuanHui 阅读(132) | 评论 (2) 编辑

posted @ 2010-09-23 19:09 He,YuanHui 阅读(315) | 评论 (0) 编辑

posted @ 2010-09-19 16:31 He,YuanHui 阅读(90) | 评论 (0) 编辑

posted @ 2010-09-19 14:17 He,YuanHui 阅读(193) | 评论 (0) 编辑

posted @ 2010-09-19 14:06 He,YuanHui 阅读(116) | 评论 (0) 编辑

posted @ 2010-09-19 14:03 He,YuanHui 阅读(112) | 评论 (0) 编辑

摘要: 一般当一个进程终止后都会发送SIGCHLD信号给它的父进程,并由此变为僵死进程直到父进程接收了其状态报告其资源才会被系统释放; 处理方法有3种: 1. 当子进程终止时父进程接收SIGCHLD信号并调用waitpid()函数接收其状态报告,最好用sigaction(),signal()不可靠; 2. 通过函数sigaction指明标志SA_NOCLDWAIT来指定信号SIGCHLD的动作,这使得内核在调用者的子进程终止时不创建僵死进程。 3. 二次fork调用; 阅读全文
posted @ 2010-09-19 14:00 He,YuanHui 阅读(52) | 评论 (0) 编辑

posted @ 2010-09-16 19:25 He,YuanHui 阅读(191) | 评论 (0) 编辑

posted @ 2010-09-16 19:00 He,YuanHui 阅读(137) | 评论 (0) 编辑

posted @ 2010-09-15 14:08 He,YuanHui 阅读(688) | 评论 (0) 编辑

posted @ 2010-09-13 09:14 He,YuanHui 阅读(457) | 评论 (0) 编辑

posted @ 2010-09-03 10:03 He,YuanHui 阅读(145) | 评论 (1) 编辑

posted @ 2010-08-27 19:35 He,YuanHui 阅读(585) | 评论 (0) 编辑

posted @ 2010-08-25 12:13 He,YuanHui 阅读(331) | 评论 (0) 编辑

posted @ 2010-08-24 16:04 He,YuanHui 阅读(361) | 评论 (0) 编辑

posted @ 2010-08-22 15:47 He,YuanHui 阅读(206) | 评论 (0) 编辑

posted @ 2010-08-22 15:31 He,YuanHui 阅读(138) | 评论 (0) 编辑

posted @ 2010-08-20 17:33 He,YuanHui 阅读(973) | 评论 (0) 编辑

posted @ 2010-08-20 16:27 He,YuanHui 阅读(152) | 评论 (0) 编辑

posted @ 2010-08-18 12:33 He,YuanHui 阅读(91) | 评论 (0) 编辑

posted @ 2010-08-18 12:28 He,YuanHui 阅读(32) | 评论 (0) 编辑

posted @ 2010-08-18 12:27 He,YuanHui 阅读(899) | 评论 (0) 编辑

posted @ 2010-08-18 12:11 He,YuanHui 阅读(102) | 评论 (0) 编辑

posted @ 2010-08-18 12:07 He,YuanHui 阅读(130) | 评论 (0) 编辑

posted @ 2010-08-17 16:14 He,YuanHui 阅读(278) | 评论 (0) 编辑

posted @ 2010-06-03 10:49 He,YuanHui 阅读(793) | 评论 (0) 编辑

摘要: Ubuntu 下的编程知识阅读全文
posted @ 2009-09-25 15:12 He,YuanHui 阅读(176) | 评论 (0) 编辑

摘要: 让 Ubuntu sudo不输入密码阅读全文
posted @ 2009-05-02 01:57 He,YuanHui 阅读(556) | 评论 (0) 编辑

摘要: 在Ubuntu上安装git阅读全文
posted @ 2009-04-23 14:28 He,YuanHui 阅读(2127) | 评论 (0) 编辑


Add to Google