Relax-and-Recover使用说明

Relax-and-Recover - Linux bare metal disaster recovery and system migration solution (cfr. mksysb, ignite)这是一个bmr(Bare metal recovery)工具,只针对linux,功能效果类似mksysb,ignite Getting Started This quick start guide will show you how to run Relax-and-Recover from the git checkout and create a bootable USB backup. Start by cloning the Relax-and-Recover sources from GitHub: [code language="plain"]git clone https://github.com/rear/rear.git[/code] Move into the rear/

Linux 工具介绍:pidstat

# Linux工具介绍: pidstat 相较于传统、老旧的top,ps命令,pidstat能解决那些问题? 查看指定进程的stats 查看指定进程的磁盘操作(读、写)stats 查看指定进程所有线程(threads)的stats 查看每一个活动进程的CPU stats报告 获取: 进程触发了多少次 Context Switches (cs) 获取: 指定进程的内存使用、page faults 确认指定进程有无内存泄露 由上可知,pidstat提供了很多新能力,象查看进程的IO读写、内存使用等等,在分析诊断问题的时候都是关键的判断因素。 安装  不是最基础的Unix工具集成员,需要单独安装,属于 sysstat 包 ~ yum install sysstat ~ 用法: 查看指定进程的I/O stats ~ # pidstat -d -p interval count ~ ~ # pidstat -d -p 6417 2 10 ~ 6417 是我系统中OpenShift的进程ID, 2表示间隔2秒,10 表示采样10次,下面的输出显示,虽然这个进程是我系统中最消耗CPU的,但是并没有什么I/O操作。 _ ccwr: canceled writes