mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Introduce the -p/--partition-filter option to display only partitions whose names contain a specified substring. The filter performs case-insensitive matching and applies consistently across all output formats (table, tree, and reverse tree views). Example: $ zmemtopo -p "part74" LPAR/LEVEL SIZE PARTITION74 12G └LEVEL4_1 12G ├LEVEL3_0 3G ├LEVEL3_1 3G ├LEVEL3_2 3G └LEVEL3_3 3G Suggested-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>