EnglishFrenchSpanish

OnWorks favicon

hwloc-patch - Online in the Cloud

Run hwloc-patch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hwloc-patch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hwloc-patch - Apply a topology difference to an existing XML topology

SYNOPSIS


hwloc-patch [options] [<topology.xml> | refname] [<diff.xml> | -] <output.xml>

hwloc-patch [options] [<topology.xml> | refname] [<diff.xml> | -]

OPTIONS


-R --reverse
Reverse the sense the difference file.

--version Report version and exit.

DESCRIPTION


hwloc-patch loads the difference between two topologies from a XML file (or from the
standard input) and applies it to an existing topology, generating a new, modified one.

The XML difference may have been computed earlier with hwloc-diff or hwloc-compress-dir.

If <output.xml> is given, the new, modified topology is stored in that new file.
Otherwise, <topology.xml> is modified in place.

If refname is given instead of <topology.xml>, the input topology filename is
automatically guessed by reading the refname field of the XML diff file. By default
hwloc-diff generates XML diffs with the right reference topology filename (without any
path prefix).

If - is given instead of <diff.xml>, the topology difference is read from the standard
input.

NOTE: It is highly recommended that you read the hwloc(7) overview page before reading
this man page. Most of the concepts described in hwloc(7) directly apply to the hwloc-
patch utility.

EXAMPLES


hwloc-patch's operation is best described through several examples.

Apply a XML topology difference file to an existing topology:

$ hwloc-patch fourmi023.xml diff.xml fourmi023-new.xml

Apply a XML topology difference file whole refname field contains the right input
topology:

$ hwloc-patch refname diff.xml fourmi023-new.xml

Apply a XML topology from the standard intput:

$ cat diff.xml | hwloc-patch fourmi023.xml - fourmi023-new.xml

Directly compute the difference between two topologies and apply it to another one, in
place:

$ hwloc-diff fourmi023.xml fourmi024.xml | hwloc-patch fourmi025.xml -

RETURN VALUE


Upon successful execution, hwloc-patch outputs the modified topology. The return value is
0.

hwloc-patch also returns nonzero if any kind of error occurs, such as (but not limited to)
failure to parse the command line.

Use hwloc-patch online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad