Which disks have reached quota?

Why ask this?

A storage administrator needs to know which disk has already reached its quota. These rows need attention even if usage has stopped growing.

Start with the sample data

Open source.csv. In the first row of source.csv, Disk = A, Usage = 10, Quota = 10, Daily growth = 0.

What to say

Show disks already at or above their storage quota, with zero days remaining.

Recorded with the Daniel synthetic voice.

Processing time

Recorded audio to table ready
3.05 s
Transcript to table ready
0.43 ms

One local replay from recorded audio through transcription and native table data preparation. Recording time and screen painting are excluded.

See the transcript in the composerRecorded transcript entered in the native composer

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 3 rows. These records are the inputs to the next step.

  2. Column Filter · Keep matching rows

    Choose Disk as the column and set Mode to keep. Enable regular expressions and enter \S as the pattern. Leave case-sensitive matching off. 3 rows continue to the next step.

  3. Column Filter · Keep matching rows

    Choose Usage as the column and set Mode to keep. Enable regular expressions and enter ^[0-9]+(\.[0-9]+)?$ as the pattern. Leave case-sensitive matching off. 3 rows continue to the next step.

  4. Column Filter · Keep matching rows

    Choose Quota as the column and set Mode to keep. Enable regular expressions and enter ^[0-9]+(\.[0-9]+)?$ as the pattern. Leave case-sensitive matching off. 3 rows continue to the next step.

  5. Math · Calculate Space left

    Apply [Quota] - ([Usage]) to each input row. Under Decimal places, choose Keep calculated precision so the next step receives the full calculated value. The first row yields 0.

  6. Measure Filter · Keep the requested rows

    The filter uses Space left <= 0 in keep mode. 2 rows remain including A.

  7. Math · Calculate Days remaining

    Apply 0 to each input row. Set Decimal places to 6 to round the result. The first row yields 0.

  8. Wild Headers · Keep only the columns you asked for

    Use keep mode with the regular expression ^(Disk|Days remaining)$. The output contains Disk, Days remaining. Turn on case-sensitive matching.

Native n0is canvas for Which disks have reached quota?

The result table

Workflow result in n0is
DiskDays remaining
A0
B0

How to use the result

For Disk A, the sample reports Days remaining of 0.

Synthetic test audio. Screenshots from the recorded workflow in n0is.