5 virt-similarity - Find clusters of similar/cloned virtual machines
9 virt-similarity disk1 disk2 [disk3 ...]
13 Virt-similarity is a tool for doing cluster analysis of groups of
14 virtual machines. It can automatically detect machines which have
15 been cloned from each other. It can produce a "cladogram" showing the
16 "family history" of each guest, or you can use it to create the most
17 efficient tree of backing files which will use the least disk space.
19 Basic usage is simply to run virt-similarity with a list of disk
20 images. It will read and analyze the disk images, then print a
21 cladogram showing how they are related:
23 $ virt-similarity winxp-copy.img winxp-copy2.img \
24 f19rawhidex32.img f19rawhidex64.img archlinux20121201x64.img \
25 winxp.img winxp-copy2b.img
27 ---+------+------+------+------+------ winxp-copy2.img
29 | | | | +------ winxp-copy2b.img
31 | | | +------+------ winxp.img
33 | | | +------ winxp-copy.img
35 | | +------ f19rawhidex64.img
37 | +------ f19rawhidex32.img
39 +------ archlinux20121201x64.img
41 The first time you run virt-similarity, it has to read the disk images
42 which takes some time. On subsequent runs, the information from each
43 disk image is cached in a special form in a hidden file in your home
44 directory called C<~/.similarity-cache.v1>. You can simply delete
45 this cache file at any time if you want, especially if you want to
46 force virt-similarity to re-read the disk images.
52 =item C<~/.similarity-cache.v1>
54 The cache file where virt-similarity saves information about each disk
55 image so that it doesn't have to re-read them each time it is run.
56 You can delete this file at any time.
60 =head1 ENVIRONMENT VARIABLES
62 Virt-similarity uses libguestfs, and is affected by various libguestfs
63 environment variables. See L<guestfs(3)/ENVIRONMENT VARIABLES>.
67 L<guestfs(3)>, L<http://virt-tools.org/>
71 Richard W.M. Jones L<http://people.redhat.com/~rjones/>
75 Copyright (C) 2013 Red Hat Inc.
77 This program is free software; you can redistribute it and/or modify
78 it under the terms of the GNU General Public License as published by
79 the Free Software Foundation; either version 2 of the License, or
80 (at your option) any later version.
82 This program is distributed in the hope that it will be useful,
83 but WITHOUT ANY WARRANTY; without even the implied warranty of
84 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85 GNU General Public License for more details.
87 You should have received a copy of the GNU General Public License
88 along with this program; if not, write to the Free Software
89 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.