- 博客(8)
- 收藏
- 关注
转载 linux精讲|综合监控工具-top
top命令是一个非常优秀的交互式性能监控工具,可以在一个统一的界面中按照用户指定的时间间隔刷新显示包括内存、CPU、进程、用户数据、运行时间等的性能信息。其命令格式如下: top -hv | -bcHisS -d delay -n iterations -p pid [, pid ...
2015-01-04 09:52:00
128
转载 redis专题精讲|redis的部署和使用
Redis是一种高级key-value数据库,互联网领域的地位很牛掰。它跟memcached类似,不过数据可以持久化,而且支持的数据类型很丰富。有字符串,链表,集 合和有序集合。支持在服务器端计算集合的并,交和补集(difference)等,还支持多种排序功能。所以Redis也可以被看成是一个...
2015-01-04 09:24:00
94
转载 pusher-0.1
pusher服务端,push 客户端 pusher.c 文件 [root@centos6 pusher-0.1]# cat pusher.c /* * pusher for file push * by xk * 2012-10-30 */ #include&...
2013-06-18 09:31:00
88
转载 c 迷宫程序
#include <stdio.h> struct node{ int x; int y; }; struct stack{ struct node arr[100]; int top; int base; }; int pop( struct sta...
2013-06-17 10:48:00
112
转载 警告:隐式声明与内建函数 ‘exit’ 不兼容
错误提示: [root@centos64 xuekun]# gcc -o gethost gethost.c gethost.c: In function ‘main’: gethost.c:14: 警告:隐式声明与内建函数 ‘exit’ 不兼容 gethost.c:16: 警告:隐式声明...
2013-06-17 10:46:00
239
转载 python 连接数据库
#!/usr/bin/python import MySQLdb try: conn=MySQLdb.connect(host='localhost',user='root',passwd='cdyanfa',port=3306) cur=conn.cursor()...
2013-06-17 10:43:00
74
转载 C 链表学习
一个小小的链表demo,有助于初学者学习使用。 [root@centos6 list]# ll total 20 -rw-r--r-- 1 xuekun 500 12 Apr 22 05:44 f1.txt -rw-r--r-- 1 xuekun 500 2970 A...
2013-06-17 10:37:00
115
转载 SSH登录慢的问题
你可以用 -v 选项确认你的情况. 例如, 下面是 ssh 的详细登陆过程: [root@xuekun ~]# ssh -v xuekun@192.168.15.120 ... ... debug1: SSH2_MSG_SERVICE_REQUEST sent de...
2013-06-13 23:30:00
70
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人