// 清除thin pool
1.1 func (d *Driver) Cleanup() error {
// 停止thin pool
err := d.DeviceSet.Shutdown()
return err
}
// 当加载新镜像时,添加一个新thin device
// id为containerid或imageid
1.2 func (d *Driver) Create(i...
分类:
移动开发 时间:
2014-07-26 02:59:46
阅读次数:
302
接着上一篇网络编程Socket之TCP之close/shutdown详解...
分类:
其他好文 时间:
2014-07-23 13:11:26
阅读次数:
202
关机 (系统的关机、重启以及登出 )shutdown -h now 关闭系统(1)init 0 关闭系统(2)telinit 0 关闭系统(3)shutdown -h hours:minutes & 按预定时间关闭系统shutdown -c 取消按预定时间关闭系统shutdown -r now 重启...
分类:
系统相关 时间:
2014-07-23 12:30:06
阅读次数:
242
硬盘故障时无法时无法关机,内核直接重启如果硬盘可能会出现锁死或坏道的故障,会造成SHELL命令的失效,包括reboot,powoff, shutdown, 用正常的命令是没法完成重启的现象如下# rebootbash: /sbin/reboot: Input/output error# shurdo...
分类:
其他好文 时间:
2014-07-22 22:50:15
阅读次数:
210
C关闭socket有两种方法: 一、shutdown #include<sys/socket.h> int shutdown(int sockfd,int how); how的方式有三种分别是 SHUT_RD(0):关闭sockfd上的读功能,此选项将不允许sockfd进行读操作。 SHUT_W...
分类:
其他好文 时间:
2014-07-22 22:32:55
阅读次数:
198
OSGJ:Equinox for Eclipse(Luna)?命令 launch?- start the OSGi Framework shutdown?- shutdown the OSGi Framework close?- shutdown and exit exit?- exit immediately (System.exit) init?- uninstall...
分类:
其他好文 时间:
2014-07-22 08:10:36
阅读次数:
278
close:
当套接字的引用计数为0的时候才会引发TCP的四分组连接终止序列;
shutdown:
不用管套接字的引用计数就激发TCP的正常连接终止序列;
这里由一个SO_LINGER套接字选项
struct linger {
int l_onoff; /* 0 = off, nozero = on */
int l_linger; ...
分类:
其他好文 时间:
2014-07-20 22:24:53
阅读次数:
367
xampp启动时显示的错误为:9:52:41 [Apache] Attempting to start Apache app...9:52:41 [Apache] Status change detected: running9:52:42 [Apache]Status change detecte...
分类:
其他好文 时间:
2014-07-19 14:27:30
阅读次数:
143
今天调整了下sga的大小,结果重启数据库的时候报如下错误。
SQL>alter system set sga_max_size=1024M scope=spfile;
SQL> shutdown immediate
SQL> startup
ORA-00844: Parameter not taking MEMORY_TARGET into account
ORA-00851: SGA_...
分类:
数据库 时间:
2014-07-18 22:09:19
阅读次数:
247
[root@opennebula var]# virsh -c qemu:///system nodeinfoCPU model: x86_64CPU(s): 4CPU frequency: 2394 MHzCPU socket(s): ...
分类:
其他好文 时间:
2014-07-18 17:25:38
阅读次数:
268