共 29 篇文章 |
|
For Linux[root@Gman root]# date -d next-day +%Y%m%d20060328[root@Gman root]# date -d last-day +%Y%m%d20060326[root@Gman root]# date -d yesterday +%Y%m%d20060326[root@Gman root]# date -d tomorrow +%Y%m%d20060328[root@Gman root]# date -d last-month +%Y%m200602[root@Gman root]# date -d next-month +%Y%m200604[root@Gman ro... 阅13320 转24 评0 公众公开 08-03-05 09:57 |
Things We Can Disable The Key Buffer The Table Cache The Query Cache Max Connections.The key buffer is also known as the key cache.The Query CacheThe Query Cache is essentially a mapping of queries to results.query_cache_size - This is the total size of the query cache.If you have a 10 megabyte query cache, and a 1 me... 阅222 转0 评0 公众公开 07-12-10 14:57 |
[root@localhost ~]# tar zxvf sysstat-6.1.2.tar.gz[beinan@localhost ~]$ cd sysstat-6.1.2[beinan@localhost sysstat-6.1.2]#[beinan@localhost sysstat-6.1.2]# make config[beinan@localhost sysstat-6.1.2]# make[beinan@localhost sysstat-6.1.2]# make install.[root@localhost beinan]# /usr/lib/sa/sadc -[root@localhost beinan]# l... 阅393 转7 评0 公众公开 07-12-07 17:25 |
vim + ctags 用法(转)注意:运行vim的时候,必须在"tags"文件所在的目录下运行。否则,运行vim的时候还要用":set tags="命令设定"tags"文件的路径,这样vim才能找到"tags"文件。在函数中移动光标。Vim 的创造者是一名计算机程序员,因此这就不奇怪 Vim 中有许多帮助编写程序的功能:跳转到标识符被... 阅10748 转23 评0 公众公开 07-09-18 15:19 |
今天完整的利用了RRD来进行数据源采集、RRD数据库生成、RRD数据更新、RRD画图。大致的是 rrdtool create test.rrd --start=`date --date="1 day ago" +%s` DS:val1:GAUGE:600:U:U RRA:AVERAGE:0.5:1:6003、RRD数据库更新,这个也比较简单: rrdtool update test.rrd DS, 这里的数据源来自于第一步; 阅1316 转2 评0 公众公开 07-07-18 20:59 |
测试上传本机目录中的文件vsftpd.conf:引用 ftp> !lsaccount.db chroot_list k mytest userconf vsftpd.confftp> put vsftpd.conflocal: vsftpd.conf remote: vsftpd.conf227 Entering Passive Mode (127,0,0,1,117,203)150 Ok to send data.226 File receive OK.4229 bytes sent in 0.00195 secs (2.1e+03 Kbytes/sec) 可以看到,使用... 阅671 转10 评0 公众公开 07-06-17 15:41 |
The Lex &Yacc Page.in fact, every computer program that does input can be thought of as defining an ``input language‘‘ which it accepts. An input language may be as complex as a programming language, or as simple as a sequence of numbers. Unfortunately, usual input facilities are limited, difficult to use, and o... 阅1092 转2 评0 公众公开 07-06-13 17:49 |
1、rpm 没有反应rm -f /var/lib/rpm/__* ;fuser -k /var/lib/rpm/* 阅2150 转8 评0 公众公开 07-06-13 17:48 |
Linux下NFS网络文件系统设定及管理。既然要使用NFS的话,就得要安装NFS所需要的套件,下面让我们查询一下系统有无安装所需要的套件, NFS套件的架构以及如何设定 NFS主机。c. 实际挂载:# mount -t nfs 192.168.0.100:/tmp /home/zzz/tmp# mount -t nfs 192.168.0.100:/home/nfs /home/zzz/nfs# mount -t nfs 192.168.0.100:/home/up... 阅1531 转24 评0 公众公开 07-06-08 19:24 |