Chinaunix首页 | 论坛 | 博客
  • 博客访问: 537623
  • 博文数量: 375
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-20 10:21
文章分类

全部博文(375)

文章存档

2015年(1)

2014年(374)

发布时间:2014-08-18 14:00:54

最近老是倒霉, svn服务器坏了两次, 都是硬盘坏了, 数据全无. 在服务器上加两块硬盘, 每天定时数据同步一下. 系统盘换了块SCSI, 是/dev/sdb, 再加了块黑盘作为备份, 是/dev/sda0 17 * * * /bin/mount /dev/sda1 /backup;/bin/date "+\%Y-\%m-\%d \%H:\%M:\%S" > /backup/time;/usr/bin/rsync -azP --del /home /backup;/bin/umount /backup 每天5点定时挂载上备份硬盘, 然后写入备份时间, 再用rsync同步数据.......【阅读全文】

阅读(1018) | 评论(0) | 转发(0)

发布时间:2014-08-18 14:00:43

......【阅读全文】

阅读(868) | 评论(0) | 转发(0)

发布时间:2014-08-18 14:00:17

Linux提供了一套API来动态装载库。下面列出了这些API:- dlopen,打开一个库,并为使用该库做些准备。- dlsym,在打开的库中查找符号的值。- dlclose,关闭库。- dlerror,返回一个描述最后一次调用dlopen、dlsym,或dlclose的错误信息的字符串。C语言用户需要包含头文件dlfcn.h才能使用上述API。glibc还增加了两个P.........【阅读全文】

阅读(1061) | 评论(0) | 转发(0)

发布时间:2014-08-18 14:00:13

#include #include #include #define Q_LEN 6typedef struct Queue {    int *pBase;    int front;    int rear;.........【阅读全文】

阅读(889) | 评论(0) | 转发(0)

发布时间:2014-08-18 14:00:10

#include #include #include #define Q_LEN 6typedef struct Queue {    int *pBase;    int front;    int rear;.........【阅读全文】

阅读(837) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册