PROCESSCSV.PY(1)

πŸ“¦
version 1.1.2 Β· 2 versions
, in centos-stream 10

🌸 NAME 🌸

processcsv.py - process virt-top CSV files. iconic little helper, fr fr. πŸ’–

okay so this is the PROCESSCSV.PY(1) manual page from the Virtualization Support section, bestie β€” no cap, we're about to make CSV post-processing make sense. πŸ’…

🌈 SUMMARY 🌈

the vibe is literally this two-step:

virt-top --csv data.csv
processcsv.py < data.csv

that's it. the way that this is just piped input? obsessed. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

lowkey first, the context: virt-top is a top(1)-like utility for showing stats of virtualized domains. it's giving "top but make it VMs." πŸ‘‘

processcsv.py is a simple Python script that post-processes the output of virt-top --csv. it is used like this:

virt-top --csv data.csv
processcsv.py < data.csv
heads up, bestie: that second command (processcsv.py < data.csv) will overwrite the following files in the current directory. not me warning you after the fact β€” check first, okay? 😭

the files it overwrites:

  • global.csv β€” this contains the global (host) statistics columns from the CSV file. host stats main character energy, honestly. πŸ’–
  • domainNN.csv (multiple files) β€” for each libvirt domain ID NN, a file is created containing the per-domain statistics from the CSV file. so yes, you get a whole little squad of per-domain files, slay. πŸŽ€

🫢 SEE ALSO 🫢

  • virt-top(1) β€” go read that one too, bestie. iykyk. 🌸

πŸ‘‘ AUTHORS πŸ‘‘

  • Richard W.M. Jones <rjones @ redhat . com> β€” the author, fr fr. πŸ’œ

legal moment, bestie β€” here's the exact copyright tea:

(C) Copyright 2007-2012 Red Hat Inc., Richard W.M. Jones
http://libvirt.org/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

made with πŸ’– from virt-top-1.1.2, dated 2025-10-09 β€” periodt, bestie. πŸ’…

πŸ“¦ where this page comes from