摘要: 4.1、变量定义 POSTSCRIPT 变量 变量的定义是将比那两名和值用def进行关联类似 POSTSCRIPT 程序块 4.2、使用程序和变量 方块 阅读全文
posted @ 2017-08-28 14:46 Ansing 阅读(1243) 评论(0) 推荐(0) 编辑
摘要: 3.1、画线 线 我们首先调用newpath,初始化当画笔状态。 x y moveto,将画笔的移动到x,y的位置 x y lineto,以x,y为终点进行画线 stroke将构建的路径绘制到当前页面 showpage打印当前页 交叉线 x y rlineto:将画笔位以x,y进行位移 正方形 se 阅读全文
posted @ 2017-08-07 15:52 Ansing 阅读(1698) 评论(0) 推荐(1) 编辑
摘要: 二、堆栈和运算 POSTSCRIPT 编程语言和其他编程语言一样,适用于各种各样的数据,例如数字,数组,字符串,以及字符。这种处理数据的方法被称为POSTSCRIPT对象。 操作数据的方法有多种多样,例如:将数据放入变量名,通过变量名称进行处理。POSTSCRRIPT语言拥有变量,但也可以通过堆栈直 阅读全文
posted @ 2017-08-07 15:10 Ansing 阅读(1442) 评论(0) 推荐(1) 编辑
摘要: 语言 阅读全文
posted @ 2017-08-07 11:37 Ansing 阅读(2677) 评论(0) 推荐(0) 编辑
摘要: 功能描述: 获取或者设置与某个套接字关联的选 项。选项可能存在于多层协议中,它们总会出现在最上面的套接字层。当操作套接字选项时,选项位 于的层和选项的名称必须给出。为了操作套接字层的选项,应该 将层的值指定为SOL_SOCKET。为了操作其它层的选项,控制选项的合适协议号必须 给出。例如,为了表示一 阅读全文
posted @ 2016-09-28 10:57 Ansing 阅读(2994) 评论(0) 推荐(0) 编辑
摘要: When managing a VM Guest on the VM Host Server itself, it is possible to access the complete file system of the VM Host Server in order to attach or c 阅读全文
posted @ 2016-09-06 09:22 Ansing 阅读(900) 评论(0) 推荐(0) 编辑
摘要: libvirt is a library that provides a common API for managing popular virtualization solutions, among them KVM and Xen. 使用virt-install创建image qemu-img 阅读全文
posted @ 2016-09-06 09:21 Ansing 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 虚拟网卡由-net nic定义 # qemu-system-x86_64 -enable-kvm -name ubuntutest -m 2048 -hda ubuntutest.img -vnc :19 -net nic 如果我们在monitor中查看info network 可以看到下面的 有时 阅读全文
posted @ 2016-09-06 09:19 Ansing 阅读(910) 评论(0) 推荐(0) 编辑
摘要: KVM本身并不提供半虚拟化功能,是通过virtio来实现的 The benefits of virtio drivers are of lower overhead and higher performance. Memory Ballooning (virtio_balloon) memory b 阅读全文
posted @ 2016-09-06 09:17 Ansing 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 前面讲了QEMU的qcow2格式的internal snapshot和external snapshot,这都是虚拟机文件格式的功能。 这是文件级别的。 还可以是文件系统级别的,比如很多文件系统支持snapshot,如OCFS2 还可以是block级别的,比如LVM支持snapshot 我们这节来分 阅读全文
posted @ 2016-09-06 09:15 Ansing 阅读(1011) 评论(0) 推荐(0) 编辑