2 releases
Uses new Rust 2024
| 0.1.1 | Mar 13, 2026 |
|---|---|
| 0.1.0 | Mar 13, 2026 |
#71 in Value formatting
13KB
301 lines
vtime - a verbose time command
I've never ever remembered what time's output meant. It is so terse that I just don't know what each of the numbers mean. So I made a human readable version.
Usage
vtime [flags] <command> [args...]
Example Output
❯ vtime -a sleep 1
Wall clock time ····· 1.008 s
User CPU time ······· 622 µs
System CPU time ····· 1.6 ms
CPU utilization ····· 0%
Voluntary ctx sw ···· 0
Involuntary ctx sw ·· 6
Max memory (RSS) ···· 1.2 MB
Page faults (major) · 1
Page faults (minor) · 214
Disk reads ·········· 0
Disk writes ········· 0
Flags
-a,--all: show all available details-c,--cpu: show CPU utilization and context switches-m,--memory: show memory usage and page faults-d,--disk: show disk I/O-h,--help: show usage
Features
- Zero dependencies
- Works on macOS and Linux
Install
cargo install vtime
Build
cargo build --release
The binary will be available at target/release/vtime.
License
MIT. See LICENSE.