一、htop 简介 This is htop, an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses. Comp ...
分类:
系统相关 时间:
2016-08-30 10:46:54
阅读次数:
304
在上传镜像或查看镜像的时候,报错: [root@linux-node1 ~]# glance image-list500 Internal Server Error: The server has either erred or is incapable of performing the requ ...
分类:
其他好文 时间:
2016-08-26 18:13:28
阅读次数:
1401
这里只关注Novavirt的spawn函数,glance、nova后端为cephnova/virt/libvirt/driver.py
defspawn(self,context,instance,p_w_picpath_meta,injected_files,
admin_password,network_info=None,block_device_info=None):
p_w_picpath_meta=objects.ImageMeta.from_dict(p_w_picpa..
分类:
其他好文 时间:
2016-08-15 22:42:17
阅读次数:
781
Linux进程管理之“四大名捕” Linux进程管理之“四大名捕” 一、四大名捕 四大名捕,最初出现于温瑞安创作的武侠小说,是朝廷中正义力量诸葛小花的四大徒弟,四人各怀绝技,分别是轻功暗器高手“无情”、内功卓越的高手“铁手”、腿功惊人的“追命”和剑法一流的“冷血”本文四大名捕由linux命令所出演 ...
分类:
系统相关 时间:
2016-08-09 07:05:02
阅读次数:
315
Linux进程查看及管理的工具:pstree,ps,pidof,pgrep,top,htop,glance,pmap,vmstat,dstat,kill,pkill,job,bg,fg,nohup1、pstree命令:pstree-displayatreeofprocesses[root@MyServer~]#pstreeinit─┬─agetty├─auditd───{auditd}├─crond├─dbus-daemon├─master─┬─..
分类:
系统相关 时间:
2016-08-09 00:37:39
阅读次数:
260
glance支持延迟删除镜像的功能,个人觉得挺实用的,特别是在误删除的情况下。从某种程度来说,也算是对数据一种另类保护吧。大致实现原理是:有个delayed_delete设置是否开启延迟删除的开关,如果为True的话,每次删除镜像的时候都会把镜像的状态置为pending_delete,记录此刻..
分类:
其他好文 时间:
2016-08-06 22:04:31
阅读次数:
611
首先启用 EPEL Repository: 启用 EPEL Repository 後, 可以用 yum 直接安裝 Htop: 安裝好 Htop 後, 啟動只需執行 “htop” 指令: 按F5显示树形结构,输入进程号22922回车,查找到目标进程,按大写的H键,隐藏线程,效果如下: 完。 ...
分类:
其他好文 时间:
2016-08-05 17:36:47
阅读次数:
129
1,如何解决CRITICALglance[-]AttributeError:‘NoneType‘objecthasnoattribute‘drivername‘今天在配置OpenStack的Glance时,前边进行的都很顺利,当作到这一步时sudoglance-managedb_sync时出现了如下错误根据错误提示,想到可能是配置问题,于是就查找了配置文档,发现需要在/..
分类:
其他好文 时间:
2016-08-02 22:35:39
阅读次数:
287
"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance. The simplest way to use this ...
分类:
编程语言 时间:
2016-08-02 11:39:40
阅读次数:
613
下载最新版的HTOPhttp://sourceforge.net/projects/htop/如:wgethttp://sourceforge.net/projects/htop/files/latest/downloadwgethttp://jaist.dl.sourceforge.net/project/htop/htop/1.0.2/htop-1.0.2.tar.gz解压下载文件并且安装如:yuminstall-ygcc,ncurses-develtar-zxfh..
分类:
系统相关 时间:
2016-08-01 23:20:29
阅读次数:
287