12 2015 档案

摘要:转自http://zhidao.baidu.com/question/117267593.html%~dp0 “d”为Drive的缩写,即为驱动器,磁盘、“p”为Path缩写,即为路径,目录cd是转到这个目录,不过我觉得cd /d %~dp0 还好些选项语法: ~0 - 删除任何引号("),扩充 %... 阅读全文
posted @ 2015-12-27 18:33 princessd8251 阅读(139) 评论(0) 推荐(0) 编辑
摘要:DOS批处理中%cd%和%~dp0的区别在DOS的批处理中,有时候需要知道当前的路径。在DOS中,有两个环境变量可以跟当前路径有关,一个是%cd%, 一个是%~dp0。这两个变量的用法和代表的内容是不同的。1. %cd% 可以用在批处理文件中,也可以用在命令行中;展开后,是驱动器盘符:+当前目录,如... 阅读全文
posted @ 2015-12-27 18:31 princessd8251 阅读(86) 评论(0) 推荐(0) 编辑
摘要:fromhttp://northernmost.org/blog/find-out-what-is-using-your-swap/Have you ever logged in to a server, ranfree, seen that a bit of swap is used and wo... 阅读全文
posted @ 2015-12-25 12:33 princessd8251 阅读(157) 评论(0) 推荐(0) 编辑
摘要:Option #1:/proc/swapsfileType the following command to see total and used swap size:# cat /proc/swapsSample outputs:Filename Type Size Used Priori... 阅读全文
posted @ 2015-12-24 19:11 princessd8251 阅读(327) 评论(0) 推荐(0) 编辑
摘要:fromhttp://www.jothirams.com/linux-cached-memory/We were running aBMC firmware (If you don’t know already, find out what it is?)on top of our custom l... 阅读全文
posted @ 2015-12-24 18:31 princessd8251 阅读(528) 评论(0) 推荐(0) 编辑
摘要:from http://unix.stackexchange.com/questions/58553/how-to-clear-memory-cache-in-linuxDepending on what you want to do you can use 1,2 or 3fromhttps://... 阅读全文
posted @ 2015-12-24 18:29 princessd8251 阅读(130) 评论(0) 推荐(0) 编辑
摘要:FROMhttp://www.linuxatemyram.com/What's going on?Linux is borrowing unused memory for disk caching. This makes it looks like you are low on memory, bu... 阅读全文
posted @ 2015-12-24 17:38 princessd8251 阅读(221) 评论(0) 推荐(0) 编辑
摘要:fromhttp://www.techrepublic.com/blog/linux-and-open-source/how-to-compare-the-content-of-two-or-more-directories-automatically/Many of us end up, inev... 阅读全文
posted @ 2015-12-16 16:14 princessd8251 阅读(140) 评论(0) 推荐(0) 编辑
摘要:转自http://my.oschina.net/cloudcoder/blog/424418?p=1cgroup介绍cgroup是control group的简称,它为Linux内核提供了一种任务聚集和划分的机制,通过一组参数集合将一些任务组织成一个或多个子系统。 Cgroups是control ... 阅读全文
posted @ 2015-12-14 00:07 princessd8251 阅读(543) 评论(0) 推荐(0) 编辑
摘要:OpenStack和DockerOpenStack和Docker之间是很好的互补关系。Docker的出现能让IaaS层的资源使用得更加充分,因为Docker相对虚拟机来说更轻量,对资源的利用率会更加充分。如图1所示。图1 OpenStack和Docker的关系 从图1可以看出,Docker主要针对P... 阅读全文
posted @ 2015-12-02 18:31 princessd8251 阅读(290) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示