virsh - Freyens
Home Informatique Projets CV WOT Mmm J'aime Coup de gueule Famille Web Radio Belge B&M Art-NFT

C'est une pub! Ce thême est basé sur w3 css.

Oui vous êtes capable de modifier ce thême

Cool? Oui, avec plein d'exemples faciles à comprendre et à modifier.

Aller sur W3.CSS Tutorial c'est en anglais mais google peux traduire les pages.

virsh

La curiosité n’est pas un vilain défaut mais une qualité fondamentale.

< ^ >

virsh --help
virsh [options]... []
virsh [options]...  [args...]

  options:
    -c | --connect=URI      hypervisor connection URI
    -d | --debug=NUM        debug level [0-4]
    -e | --escape     set escape sequence for console
    -h | --help             this help
    -k | --keepalive-interval=NUM
                            keepalive interval in seconds, 0 for disable
    -K | --keepalive-count=NUM
                            number of possible missed keepalive messages
    -l | --log=FILE         output logging to file
    -q | --quiet            quiet mode
    -r | --readonly         connect readonly
    -t | --timing           print timing information
    -v                      short version
    -V                      long version
         --version[=TYPE]   version, TYPE is short or long (default short)
  commands (non interactive mode):

 Domain Management (help keyword 'domain')
    attach-device                  attacher un périphérique depuis un fichier XML
    attach-disk                    attacher un périphérique disque
    attach-interface               attacher une interface réseau
    autostart                      démarrer automatiquement un domaine
    blkdeviotune                   Set or query a block device I/O tuning parameters.
    blkiotune                      Get or set blkio parameters
    blockcommit                    Start a block commit operation.
    blockcopy                      Start a block copy operation.
    blockjob                       Manage active block operations
    blockpull                      Populate a disk from its backing image.
    blockresize                    Modifie la taille d’un périphérique bloc de domaine.
    change-media                   Change media of CD or floppy drive
    console                        se connecter à la console invitée
    cpu-stats                      show domain cpu statistics
    create                         créer un domaine depuis un fichier XML
    define                         définir (mais ne pas démarrer) un domaine depuis un fichier XML
    desc                           show or set domain's description or title
    destroy                        destroy (stop) a domain
    detach-device                  détacher un périphérique depuis un fichier XML
    detach-device-alias            detach device from an alias
    detach-disk                    détacher un périphérique disque
    detach-interface               détacher une interface réseau
    domdisplay                     domain display connection URI
    domfsfreeze                    Freeze domain's mounted filesystems.
    domfsthaw                      Thaw domain's mounted filesystems.
    domfsinfo                      Get information of domain's mounted filesystems.
    domfstrim                      Invoke fstrim on domain's mounted filesystems.
    domhostname                    print the domain's hostname
    domid                          convertir un nom de domaine ou UUID en ID de domaine
    domif-setlink                  set link state of a virtual interface
    domiftune                      get/set parameters of a virtual interface
    domjobabort                    abort active domain job
    domjobinfo                     domain job information
    domname                        convertir l’ID ou l’UUID du domaine en nom de domaine
    domrename                      rename a domain
    dompmsuspend                   suspend a domain gracefully using power management functions
    dompmwakeup                    wakeup a domain from pmsuspended state
    domuuid                        convertir un ID ou un nom de domaine en UUID de domaine
    domxml-from-native             Convert native config to domain XML
    domxml-to-native               Convert domain XML to native config
    dump                           vider l’espace mémoire d’un domaine dans un fichier pour analyse
    dumpxml                        informations du domaine en XML
    edit                           edit XML configuration for a domain
    event                          Domain Events
    get-user-sshkeys               list authorized SSH keys for given user (via agent)
    inject-nmi                     Inject NMI to the guest
    iothreadinfo                   view domain IOThreads
    iothreadpin                    control domain IOThread affinity
    iothreadadd                    add an IOThread to the guest domain
    iothreadset                    modifies an existing IOThread of the guest domain
    iothreaddel                    delete an IOThread from the guest domain
    send-key                       Send keycodes to the guest
    send-process-signal            Send signals to processes
    lxc-enter-namespace            LXC Guest Enter Namespace
    managedsave                    managed save of a domain state
    managedsave-remove             Remove managed save of a domain
    managedsave-edit               edit XML for a domain's managed save state file
    managedsave-dumpxml            Domain information of managed save state file in XML
    managedsave-define             redefine the XML for a domain's managed save state file
    memtune                        Get or set memory parameters
    perf                           Get or set perf event
    metadata                       show or set domain's custom XML metadata
    migrate                        migrer un domaine vers un autre hôte
    migrate-setmaxdowntime         set maximum tolerable downtime
    migrate-getmaxdowntime         get maximum tolerable downtime
    migrate-compcache              get/set compression cache size
    migrate-setspeed               Set the maximum migration bandwidth
    migrate-getspeed               Get the maximum migration bandwidth
    migrate-postcopy               Switch running migration from pre-copy to post-copy
    numatune                       Get or set numa parameters
    qemu-attach                    QEMU Attach
    qemu-monitor-command           QEMU Monitor Command
    qemu-monitor-event             QEMU Monitor Events
    qemu-agent-command             QEMU Guest Agent Command
    guest-agent-timeout            Set the guest agent timeout
    reboot                         redémarrer un domaine
    reset                          reset a domain
    restore                        restaurer un domaine à partir d’un état sauvé dans un fichier
    resume                         réactiver un domaine
    save                           enregistrer l’état du domaine dans un fichier
    save-image-define              redefine the XML for a domain's saved state file
    save-image-dumpxml             saved state domain information in XML
    save-image-edit                edit XML for a domain's saved state file
    schedinfo                      montrer/définir les paramètres du planificateur
    screenshot                     take a screenshot of a current domain console and store it into a file
    set-lifecycle-action           change lifecycle actions
    set-user-sshkeys               manipulate authorized SSH keys file for given user (via agent)
    set-user-password              set the user password inside the domain
    setmaxmem                      changer la limite maximum de mémoire
    setmem                         changer la mémoire allouée
    setvcpus                       changer le nombre de processeurs virtuels
    shutdown                       arrêter un domaine proprement
    start                          démarrer un domaine (précédemment défini)
    suspend                        suspendre un domaine
    ttyconsole                     console TTY
    undefine                       undefine a domain
    update-device                  update device from an XML file
    vcpucount                      domain vcpu counts
    vcpuinfo                       detailed domain vcpu information
    vcpupin                        control or query domain vcpu affinity
    emulatorpin                    control or query domain emulator affinity
    vncdisplay                     affichage vnc
    guestvcpus                     query or modify state of vcpu in the guest (via agent)
    setvcpu                        attach/detach vcpu or groups of threads
    domblkthreshold                set the threshold for block-threshold event for a given block device or it's backing chain element
    guestinfo                      query information about the guest (via agent)

 Domain Monitoring (help keyword 'monitor')
    domblkerror                    Show errors on block devices
    domblkinfo                     domain block device size information
    domblklist                     list all domain blocks
    domblkstat                     retourner les statistiques d’un périphérique en mode bloc pour un domaine
    domcontrol                     domain control interface state
    domif-getlink                  get link state of a virtual interface
    domifaddr                      Get network interfaces' addresses for a running domain
    domiflist                      list all domain virtual interfaces
    domifstat                      obtenir les statistiques d’une interface réseau pour un domaine
    dominfo                        informations du domaine
    dommemstat                     get memory statistics for a domain
    domstate                       état du domaine
    domstats                       get statistics about one or multiple domains
    domtime                        domain time
    list                           lister les domaines

 Host and Hypervisor (help keyword 'host')
    allocpages                     Manipulate pages pool size
    capabilities                   capacités
    cpu-baseline                   compute baseline CPU
    cpu-compare                    compare host CPU with a CPU described by an XML file
    cpu-models                     modèles de CPU
    domcapabilities                domain capabilities
    freecell                       Mémoire NUMA disponible
    freepages                      NUMA free pages
    hostname                       afficher le nom d’hôte de l’hyperviseur
    hypervisor-cpu-baseline        compute baseline CPU usable by a specific hypervisor
    hypervisor-cpu-compare         compare a CPU with the CPU created by a hypervisor on the host
    maxvcpus                       connection vcpu maximum
    node-memory-tune               Get or set node memory parameters
    nodecpumap                     node cpu map
    nodecpustats                   Prints cpu stats of the node.
    nodeinfo                       informations du noeud
    nodememstats                   Prints memory stats of the node.
    nodesuspend                    suspend the host node for a given time duration
    sysinfo                        print the hypervisor sysinfo
    uri                            afficher l’URI canonique de l’hyperviseur
    version                        afficher la version

 Checkpoint (help keyword 'checkpoint')
    checkpoint-create              Créer un point de passage depuis le XML
    checkpoint-create-as           Create a checkpoint from a set of args
    checkpoint-delete              Delete a domain checkpoint
    checkpoint-dumpxml             Dump XML for a domain checkpoint
    checkpoint-edit                edit XML for a checkpoint
    checkpoint-info                checkpoint information
    checkpoint-list                List checkpoints for a domain
    checkpoint-parent              Get the name of the parent of a checkpoint

 Interface (help keyword 'interface')
    iface-begin                    create a snapshot of current interfaces settings, which can be later committed (iface-commit) or restored (iface-rollback)
    iface-bridge                   create a bridge device and attach an existing network device to it
    iface-commit                   commit changes made since iface-begin and free restore point
    iface-define                   define an inactive persistent physical host interface or modify an existing persistent one from an XML file
    iface-destroy                  destroy a physical host interface (disable it / "if-down")
    iface-dumpxml                  interface information in XML
    iface-edit                     edit XML configuration for a physical host interface
    iface-list                     list physical host interfaces
    iface-mac                      convert an interface name to interface MAC address
    iface-name                     convert an interface MAC address to interface name
    iface-rollback                 rollback to previous saved configuration created via iface-begin
    iface-start                    start a physical host interface (enable it / "if-up")
    iface-unbridge                 undefine a bridge device after detaching its device(s)
    iface-undefine                 undefine a physical host interface (remove it from configuration)

 Network Filter (help keyword 'filter')
    nwfilter-define                define or update a network filter from an XML file
    nwfilter-dumpxml               network filter information in XML
    nwfilter-edit                  edit XML configuration for a network filter
    nwfilter-list                  list network filters
    nwfilter-undefine              undefine a network filter
    nwfilter-binding-create        create a network filter binding from an XML file
    nwfilter-binding-delete        delete a network filter binding
    nwfilter-binding-dumpxml       network filter information in XML
    nwfilter-binding-list          list network filter bindings

 Networking (help keyword 'network')
    net-autostart                  démarrer automatiquement un réseau
    net-create                     créer un réseau depuis un fichier XML
    net-define                     define an inactive persistent virtual network or modify an existing persistent one from an XML file
    net-destroy                    destroy (stop) a network
    net-dhcp-leases                print lease info for a given network
    net-dumpxml                    informations du réseau en XML
    net-edit                       edit XML configuration for a network
    net-event                      Network Events
    net-info                       network information
    net-list                       lister les réseaux
    net-name                       convertir l’UUID d’un réseau en nom de réseau
    net-start                      démarrer un réseau inactif (précédemment défini)
    net-undefine                   undefine a persistent network
    net-update                     update parts of an existing network's configuration
    net-uuid                       convertir le nom d’un réseau en UUID de réseau
    net-port-list                  list network ports
    net-port-create                create a network port from an XML file
    net-port-dumpxml               network port information in XML
    net-port-delete                delete the specified network port

 Node Device (help keyword 'nodedev')
    nodedev-create                 create a device defined by an XML file on the node
    nodedev-destroy                destroy (stop) a device on the node
    nodedev-detach                 detach node device from its device driver
    nodedev-dumpxml                node device details in XML
    nodedev-list                   enumerate devices on this host
    nodedev-reattach               reattach node device to its device driver
    nodedev-reset                  reset node device
    nodedev-event                  Node Device Events

 Secret (help keyword 'secret')
    secret-define                  define or modify a secret from an XML file
    secret-dumpxml                 secret attributes in XML
    secret-event                   Secret Events
    secret-get-value               Output a secret value
    secret-list                    list secrets
    secret-set-value               set a secret value
    secret-undefine                undefine a secret

 Snapshot (help keyword 'snapshot')
    snapshot-create                Créer un instantané depuis le XML
    snapshot-create-as             Créer un instantané depuis un ensemble de drapeaux.
    snapshot-current               Get or set the current snapshot
    snapshot-delete                Delete a domain snapshot
    snapshot-dumpxml               Dump XML for a domain snapshot
    snapshot-edit                  edit XML for a snapshot
    snapshot-info                  snapshot information
    snapshot-list                  List snapshots for a domain
    snapshot-parent                Get the name of the parent of a snapshot
    snapshot-revert                Revert a domain to a snapshot

 Backup (help keyword 'backup')
    backup-begin                   Start a disk backup of a live domain
    backup-dumpxml                 Dump XML for an ongoing domain block backup job

 Storage Pool (help keyword 'pool')
    find-storage-pool-sources-as   find potential storage pool sources
    find-storage-pool-sources      discover potential storage pool sources
    pool-autostart                 démarrer automatiquement un pool
    pool-build                     construire un pool
    pool-create-as                 créer un pool depuis un ensemble d’arguments
    pool-create                    créer un pool depuis un fichier XML
    pool-define-as                 définir un pool à partir d’un ensemble d’argument
    pool-define                    define an inactive persistent storage pool or modify an existing persistent one from an XML file
    pool-delete                    effacer un pool
    pool-destroy                   destroy (stop) a pool
    pool-dumpxml                   informations du pool en XML
    pool-edit                      edit XML configuration for a storage pool
    pool-info                      informations du pool de stockage
    pool-list                      lister les pools
    pool-name                      convertir l’UUID d’un pool en nom de pool
    pool-refresh                   rafraichir un pool
    pool-start                     démarrer un pool inactif (précédemment défini)
    pool-undefine                  supprimer un pool inactif
    pool-uuid                      convertir le nom d’un pool en UUID de pool
    pool-event                     Storage Pool Events
    pool-capabilities              storage pool capabilities

 Storage Volume (help keyword 'volume')
    vol-clone                      cloner un volume.
    vol-create-as                  créer un volume depuis un ensemble d’arguments
    vol-create                     créer un volume depuis un fichier XML
    vol-create-from                create a vol, using another volume as input
    vol-delete                     supprimer un volume
    vol-download                   download volume contents to a file
    vol-dumpxml                    informations du volume en XML
    vol-info                       informations du volume de stockage
    vol-key                        renvoie la clé du volume pour un nom ou un chemin donné de volume
    vol-list                       lister les volumes
    vol-name                       returns the volume name for a given volume key or path
    vol-path                       renvoie le chemin vers le volume pour un nom ou une clé donnée de volume
    vol-pool                       renvoie le pool de stockage pour un nom ou un chemin donné de volume
    vol-resize                     modifier la taille d’un volume
    vol-upload                     upload file contents to a volume
    vol-wipe                       wipe a vol

 Virsh itself (help keyword 'virsh')
    cd                             change the current directory
    echo                           echo arguments
    exit                           quitter ce terminal interactif
    help                           imprimer l’aide
    pwd                            print the current directory
    quit                           quitter ce terminal interactif
    connect                        (re)connecter à l’hyperviseur


  (spécifiez help  pour plus de détails sur la commande)

< ^ >