I have an XML output file from the
lstopo command and I wanted to build a PNG file for it. Can I do this using the command line? Something like:
lstopo -i out.xml -o abc.png
Is something like this possible?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You should be able to build a PNG file
(containing a graphic rendering of your topology)
from your XML file (which was created by
lstopo) with the command
lstopo --input out.xml --output-format png abc.png
In fact, it may be good enough to say
lstopo -i out.xml abc.png
lstopo should assume that the output format is PNG
if the output filename has a
.png extension (a.k.a. suffix),
--input can be abbreviated to
XML support must have been compiled into
--input option to be usable.
See the lstopo man page (and, if necessary, the pages it links to)
for more information.