Chinaunix首页 | 论坛 | 博客
  • 博客访问: 518367
  • 博文数量: 102
  • 博客积分: 950
  • 博客等级: 准尉
  • 技术积分: 1094
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-28 16:07
文章分类

全部博文(102)

文章存档

2020年(2)

2016年(5)

2015年(15)

2014年(25)

2013年(18)

2012年(19)

2011年(18)

我的朋友

发布时间:2013-05-24 17:29:58

#### create myself pid filemy $pid = $$;my $myname=$0;print "myname: $myname\n";my $pidFile = "/export/web/tmp/handle_report.pid";#### check other myself,if exists then exit else write myself pid to pidfileif ( -s "$pidFile") {    open PIDF, $pidFile || die "Can't open fil.........【阅读全文】

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

发布时间:2013-05-22 16:36:10

大家都是使用的 localtime 来取得当地日期时间和日期。这个函数如果在标量环境时,会以字符串的形式来传回目前的时间和日期 。默认的 localtime 的函数是以 1970 到今天的秒来做整数计算的。默认这个程序会调用 time 的函数来给它提供一个值。使用方法:例如,print scalar (localtime)这个代码,它输出的结果将.........【阅读全文】

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

发布时间:2013-05-21 17:08:52

open (FH,">>$fpath") || die "Can't open file $fpath: $!\n";#### 选择默认文件句柄,刷新;select (FH);$|=1;#### 选择系统文件句柄,刷新;select(STDOUT);$|=1;......【阅读全文】

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

发布时间:2013-05-16 17:10:42

公司最近新买了四台计算用的服务器,每台服务器挂了2T*3的硬盘。为了计算方便,打算将它们设置成nfs,相互之间可以读写数据。 1、开启portmap和nfs服务     service portmap start     service nfs start 2、将要共享的目录写到exports文件中.........【阅读全文】

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

发布时间:2013-05-03 10:15:19

/etc/iptables.up.rulesiptables-restore < /etc/iptables.up.rulesapt-cache search aufsapt-get install aufs-tools nfs-commondpkg -i ds_0.1.all.debdpkg -l | grep libstdadduser --quiet --system --group --no-create-home --home /opt/ dsuserhtop......【阅读全文】

阅读(570) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

flb_20012010-09-25 07:52

回复  |  举报
留言热议
请登录后留言。

登录 注册