github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/pt.md (about)

     1  # `pt`
     2  
     3  > Pipe telemetry. Writes data-types and bytes written
     4  
     5  ## Description
     6  
     7  Pipe telemetry, `pt`, writes statistics about the pipeline. The telemetry is written
     8  directly to the OS's STDERR so to preserved the pipeline.
     9  
    10  ## Usage
    11  
    12  ```
    13  <stdin> -> pt -> <stdout>
    14  ```
    15  
    16  ## Examples
    17  
    18  ```
    19  curl -s https://example.com/bigfile.bin -> pt -> > bigfile.bin
    20  ```
    21  
    22  (though Murex does also have it's own HTTP clients, `get`, `post` and
    23  `getfile`)
    24  
    25  ## See Also
    26  
    27  * [`>>` Append File](../parser/greater-than-greater-than.md):
    28    Writes STDIN to disk - appending contents if file already exists
    29  * [`get`](../commands/get.md):
    30    Makes a standard HTTP request and returns the result as a JSON object
    31  * [`getfile`](../commands/getfile.md):
    32    Makes a standard HTTP request and return the contents as Murex-aware data type for passing along Murex pipelines.
    33  * [`post`](../commands/post.md):
    34    HTTP POST request with a JSON-parsable return
    35  * [`|>` Truncate File](../parser/greater-than.md):
    36    Writes STDIN to disk - overwriting contents if file already exists
    37  
    38  <hr/>
    39  
    40  This document was generated from [builtins/core/io/file_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/io/file_doc.yaml).