extractvectors(1)

πŸ“¦
version 1.9.6 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– extractvectors(1) β€” bestie edition πŸ’–

General Commands Manual energy, but make it a group chat. This is extractvectors, the Vector Extraction Tool for OMNeT++ Vector Files, and she is lowkey iconic πŸ¦‹


✨ NAME ✨

extractvectors β€” Vector Extraction Tool for OMNeT++ Vector Files πŸŽ€


🌸 SYNOPSIS 🌸

extractvectors [Input File] [Output File] [Vector Name Prefix] [...]
               -quiet

πŸ’… DESCRIPTION πŸ’…

Okay so picture this: extractvectors is an extraction tool for vectors written by OMNeT++ into a data table. That's the whole gig, and she does it flawlessly ✨

And here's the part that's giving main character: ExtractVectors supports on-the-fly BZip2 decompression and compression. No cap. She'll unzip and rezip as she goes, no extra steps, no drama πŸ’–


🫢 ARGUMENTS 🫢

The following arguments may be provided, bestie β€” read them, love them, use them:

  • Input File β€” the name of the input vector file. That's where we're reading from, periodt.
  • Output File β€” the name of the output data table to be created. That's where the magic lands 🌈
  • Vector Name Prefix β€” name prefix of vectors to be extracted. And yes, multiple vector name prefixes may be specified β€” stack them, queen πŸ‘‘ If no name prefix is given, then all vectors will be extracted. Everything. The whole menu. We love a generous icon.
  • -quiet β€” do not print verbose status information. She'll just do the job silently, like a mysterious fairy 🧚 No commentary, just results.

πŸ”₯ EXAMPLE πŸ”₯

So consider an OMNeT++ vector file containing the vectors "Slow Start Threshold <assoc>:<path>" and "Congestion Window <assoc>:<path>", chilling with a lot of other vectors inside the BZip2-compressed vector file results.vec.bz2. ExtractVectors can be used to extract all vectors beginning with "Slow Start Threshold" or "Congestion Window" into a BZip2-compressed data table results.data.bz2 with the following command:

extractvectors results.vec.bz2 results.data.bz2 \
   "Slow Start Threshold" \
   "Congestion Window"

For each vector entry, an output line containing time (Time), event number (Event), object name (Object), vector name (Vector) and the vector value (Value) will be created. ✨

Example:

Time     Event               Object Vector
Value
0.003672   174 "net.client[0].sctp" "Slow Start Threshold 2:Total"
10000000
0.003672   174 "net.client[0].sctp" "Slow Start Threshold 2:Total"
10000000
0.003672   174 "net.client[0].sctp" "Congestion Window 2:Total"     4380
0.003672   174 "net.client[0].sctp" "Congestion Window 2:Total"     8760
0.003913   238 "net.server[0].sctp" "Slow Start Threshold 4:Total"
10000000
0.003913   238 "net.server[0].sctp" "Slow Start Threshold 4:Total"
10000000
0.003913   238 "net.server[0].sctp" "Congestion Window 4:Total"     3000
0.003913   238 "net.server[0].sctp" "Congestion Window 4:Total"     6000

Like… look at that output. She ate and left no crumbs πŸ’€πŸ“


πŸ’œ AUTHORS πŸ’œ


And that's the whole page, bestie! This little beauty is ExtractVectors, dated June 27, 2010 β€” old enough to have a driver's license but still serving immaculate vector-extraction vibes. Go extract something gorgeous πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from