VM-DUMP-METRICS(1)

πŸ“¦
version 1.2 Β· 2 versions
, in opensuse-leap 16.0

πŸ’… vm-dump-metrics(1) β€” the VM metrics dumper

okay so first things first, bestie: this is a General Commands Manual page, and the command is literally called vm-dump-metrics. yes it does exactly what it says on the tin and no we are not overthinking it 🫢


✨ NAME ✨

vm-dump-metrics β€” dump VM metrics. that's it, that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

vm-dump-metrics [ OPTION ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” vm-dump-metrics reads the metrics description that the virtualization host provides, and then dumps the output. host hands over the description, this little icon does the dumping. no cap, that's literally the whole description section, she's short and she knows it πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -v, --verbose β€” verbose output. she talks more. that's the option. πŸ’¬
  • -d, --dest β€” destination file for metrics. if you don't give her one, the default is stdout. (so yes, by default she's just yelling metrics into your terminal, which is lowkey iconic ngl ✨)

🌈 XML Format of Content 🌈

the content is an XML document containing what the host provides 🧚 the format is genuinely quite simple, and here's the illustration of it:

<metrics>
  <metric type='real64' context='host'>
    <name>TotalCPUTime</name>
    <value>846.600000</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>PageInRate</name>
    <value>0.000000</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>PageFaultRate</name>
    <value>0.000000</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>PagedOutMemory</name>
    <value>6885044</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>PagedInMemory</name>
    <value>2367980</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>FreeMem</name>
    <value>829</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>UsedMem</name>
    <value>1369088</value>
  </metric>
  <metric type='uint64' context='host'>
    <name>TotalPhyMem</name>
    <value>1919</value>
  </metric>
  <metric type='uint32' context='host'>
    <name>NumCPUs</name>
    <value>2</value>
  </metric>
  <metric type='uint32' context='host'>
    <name>TotalPhyCPUs</name>
    <value>2</value>
  </metric>
  <metric type='string' context='host'>
    <name>VirtualizationVendor</name>
    <value>SUSE LINUX Products GmbH</value>
  </metric>
  <metric type='string' context='host'>
    <name>HostName</name>
    <value>laptop</value>
  </metric>
  <metric type='real64' context='vm' id='0'
uuid='00000000-0000-0000-0000-000000000000'>
    <name>TotalCPUTime</name>
    <value>847.700000</value>
  </metric>
  <metric type='real64' context='vm' id='2'
uuid='6be3fdb8-bef5-6fec-b1b7-e61bbceab708'>
    <name>TotalCPUTime</name>
    <value>69.400000</value>
  </metric>
</metrics>

like, look at her. type, context, and the vm ones even get id and uuid β€” main character energy for real πŸ‘‘


⭐ FILES ⭐

  • /usr/sbin/vm-dump-metrics

that's where she lives. go say hi 🏠


πŸ”₯ SEE ALSO πŸ”₯

this section is empty in the original, bestie 😭 nothing to link, nothing to cross-reference. she simply had no recommendations that day. respect.

πŸ‘‘ AUTHORS πŸ‘‘

  • Pat Campbell <plc@novell.com>. πŸ’œ
  • Jim Fehlig <jfehlig@novell.com>. πŸ’œ

and that's the whole page, fr fr πŸ’– tiny little manpage from the General Commands Manual, footer just repeats VM-DUMP-METRICS(1) β€” no extra date stamp, no extra version string, absolute minimalism slay πŸŽ€βœ¨