The time difference will cause many problem while sharing data between linux and Windows servers. Actually, this issue occurs also among windows servers. To solve this issue, the Windows domain server will startup a time server. Every time the workstation starts up, it will sychronize its time with the server. Since the time server runs over the standard protocol NTP, the linux server can also syn...
by dpan817 - Windows系统 - 2003-07-25 17:48:29 阅读(1073) 回复(1)
linux和DOS的format命令区别[参考篇] DOS的format A: 实际上作了以下工作: (1)物理格式化磁盘; (2)建立 A:\ 这个目录 (=linux中的建立一个文件系统); (3)使这个磁盘能被使用者使用(=linux中的mount一个驱动器)。 这三步在 linux 中是分开的,在 linux中可以建立和使用MS-DOS格式的磁盘,还可用其它格式的(例如最常用的ext2),以下是做一张可用的磁盘方法: (1)先 su 为 root (2)格式...
计时器 睡眠函数 unsigned int sleep(unsigned int seconds); 例: #include XXXX int main() { time_t dt; time(&dt); printf("%s begin at:%s\n",__FILE__,ctime(&dt)); puts("sleep for 5 seconds...."); sleep(5); time(&dt); printf("%s end at:%s\n",__FILE__,ctime(&dt)); return 0; } 管道 创建管道 int pipe(int fd[2]); fd[0]用于读 fd[1]用于写 例: int z; int fd[2]; if((z==pipe(&fd[0])))==-1) { perror("pipe"); exi...
RT 安装FC6所示错误! 在执行boot.bat boot.bat内容是 loadlin vmlinuz initrd=initrd.img ramdisk_size=9216 那位知道怎样解决给小弟说说 ! 谢谢! 此问题已解决但是出现了新问题。先通过google找到答案试验一下! [ 本帖最后由 2300 于 2006-10-26 08:11 编辑 ]
在机器运行的时候,发现socket口上的time_wait状态有5千多个, 担心对系统的运行有影响. OS: Redhat linux ES3, core: linux system 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linu 请问哪位高手知道如何配置redhat es3的time_wait时间, linux kernel 2.2 是用如下命令,但在es3的/proc/sys/net/ipv4目录下没有看到相关的参数, /sbin/sysctl -w net.ipv4.vs.timeout_timewait=60 另外请问: 怎么配置...
linux系统网关报网卡transmit time out ,是用iptable来做的nat服务 dmesg后看到 divert: allocating divert_blk for eth0 eth0: VIA VT6102 Rhine-II at 0xb800, 00:50:ba:29:02:a7, IRQ 11. eth0: MII PHY found at address 8, status 0x7809 advertising 01e1 Link 000 PCI: Found IRQ 10 for device 02:0c.0 PCI: Sharing IRQ 10 with 02:05.0 divert: allocating divert_blk for eth1 eth1: VIA VT6102 Rhine-II at 0xb400, ...
这台机器是作的linux网关,使用iptable作net 用dmesg看到如下关于网络卡的信息 divert: allocating divert_blk for eth0 eth0: VIA VT6102 Rhine-II at 0xb800, 00:50:ba:29:02:a7, IRQ 11. eth0: MII PHY found at address 8, status 0x7809 advertising 01e1 Link 000 PCI: Found IRQ 10 for device 02:0c.0 PCI: Sharing IRQ 10 with 02:05.0 divert: allocating divert_blk for eth1 eth1: VIA VT6102 Rhine-II at 0xb400, 0...