首页
学习
活动
专区
工具
TVP
发布

敏而好学

专栏作者
85
文章
170535
阅读量
17
订阅数
给进程设置实时优先级
实时进程和分时进程的调度算法不同,分别在rt.c和fair.c中实现。实时进程的优先级总是高于普通进程。
党志强
2020-02-11
3.8K0
Easy Basic HTTP authentication with Tornado
I recently got a chance to play around with Tornado, which is pretty neat (although that certainly isn’t news). One thing that I tried to do pretty quickly and had a hard time with was Basic authentication (you know, the little “so-and-so requires a username and password” pop-up). Paulo Suzart posted a working example over on gist, but it was a bit light on context, and Dhanan Jaynene’s request interceptors are a bit overkill for this purpose (although very useful for more complex behavior!). Let’s start with the “hello world” example from theTornado site, and I’ll show you what I’ve cooked up. I’m only an hour or two into exploring Tornado, like I hinted at above, so if you see any room for improvement, I’d love to hear from you. (I’ve made all the code I’ve written very verbose in the hopes that’ll help people understand and customize it without much trial-and-error. Feel free to tighten things up.)
党志强
2020-02-11
9350
gluster添加节点失败报错:No route to host
[2015-08-25 02:47:06.818281] I [glusterd-handler.c:1031:__glusterd_handle_cli_probe] 0-glusterd: Received CLI probe req node61 24007 [2015-08-25 02:47:06.818633] I [glusterd-handler.c:3198:glusterd_probe_begin] 0-glusterd: Unable to find peerinfo for host: node61 (24007) [2015-08-25 02:47:06.831101] I [rpc-clnt.c:969:rpc_clnt_connection_init] 0-management: setting frame-timeout to 600 [2015-08-25 02:47:06.834441] I [glusterd-handler.c:3131:glusterd_friend_add] 0-management: connect returned 0 [2015-08-25 02:47:06.834631] E [socket.c:2276:socket_connect_finish] 0-management: connection to 192.168.111.81:24007 failed (No route to host) [2015-08-25 02:47:06.834823] I [mem-pool.c:545:mem_pool_destroy] 0-management: size=588 max=0 total=0 [2015-08-25 02:47:06.834836] I [mem-pool.c:545:mem_pool_destroy] 0-management: size=124 max=0 total=0
党志强
2020-02-11
9380
推荐一款基于web的Unix系统管理工具webmin
    webmin不仅提供了基于web的系统管理方式,同时它还支持多机集群系统管理配置。
党志强
2020-02-11
8290
Python模块的交叉引用(导入循环)问题分析
    首先交叉引用或是相互引用,实际上就是导入循环,关于导入循环的详细说明,可见我摘自《python核心编程》第二版的摘抄:Python导入循环方法。
党志强
2020-02-11
4.7K0
OpenIndiana 151a8 发行注记
   oi_151a_prestable8也叫oi_151a8,该版本修复了一些bug,添加了一些安全补丁,并且第一次重新编译了JDS。该版本以ISO的形式发布。
党志强
2020-02-11
3850
OpenIndiana 151a9 发行注记
   OpenIndiana 151a9版本是正式版,发布日期为2014年1月14日。
党志强
2020-02-11
4040
常识说明--HTTPS真的很慢吗?NO!
当客户端通过https访问时,服务器就把该证书(只有公钥)发给客户端,客户在自己已安装的CA中判断该证书是否可信。如果不可信,会有警告提示,当然你也可以忽略该提示继续访问。
党志强
2020-02-02
1.5K0
xfs文件系统修复方法
首先尝试mount和umount文件系统,以便重放日志,修复文件系统,如果不行,再进行如下操作。
党志强
2020-02-02
8.4K0
Linux Test Project 测试套件说明
Linux Test Project 是由SGI、OSDL和Bull开发和维护的一个项目,由IBM、思科、富士通、SUSE、Red Hat、Oracle和其他公司共同开发和维护。该项目的目标是向开源社区提供测试用例,以验证Linux的可靠性、健壮性和稳定性。
党志强
2020-01-30
3.4K0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档