github tobert/pcstat v0.0.1

latest release: v0.0.2
2 years ago

Changelog

280e87e 0 byte files should not be treated as errors
d2f4c6c Add JSON output support.
4858897 Add TIOCGWINSZ support.
1305ac4 Add a test TODO I thought of but don't have time to verify at the moment.
fc14299 Add a timestamp to terse & JSON output.
be7e6bc Add mtime to json & terse output.
4bcd8ea Adds plain an unicode formats
bb69409 Calculate cache percentage once for all outputs.
b77ca71 Check for empty file list, print usage.
8e712b7 Check in first pass.
4f5be8d Don't return os.FileInfo, only size & name
e6c5484 Finish implementing histograms.
f366a9d Fix github link
f2753cc Fix padding for long paths, add -bname, formatting
228770a Oops. Syntax error. Time to sleep.
b31d5b1 README!!!
2c284e9 Refactor to support multiple output formats.
9efe8a0 Switches from syscall to golang.org/x/sys/unix
d785155 Update 'go get' command to actually install the binary.
91a7346 Update README.md
5a4ce4f Update quickstart blurb.
35529b1 Use a proper Apache 2.0 license header.
77bf258 Use syscall.Syscall.
da613da Use x/sys/unix for syscall numbers
31e8b91 add an example of how I verify
e22fa27 add basic goreleaser config
3d04293 add flag "-sort"
61eb4f5 add minimal Dockerfile for releases
4b88573 add partial support for mount namespaces
55252e1 add support for -pid by reading /proc/$pid/maps
acaaabf add terse output & -nohdr flag to omit column headers
db32c39 binary moved back to /
a7e898e comments & refactoring thx to review by Jon Haddad
0dabe68 copy flag.Args() to a local variable
f5e0302 ensure "clearpps" is working as expected
77a3265 fix my email address
c3373eb fix stupid off-by-a-couple-orders-of-magnitude bug
70d445c fixups for first release
d6a7733 go fmt
58c26ca go fmt
adc0ca8 go get -u golang.org/x/sys
b51b5ed handle duplicate entries in /proc/$pid/maps
964a4b1 ignore dist dir created by goreleaser
46b4dc9 ignore new location for the pcstat binary
dc16720 more refactoring - same functionality
c0ae43c move code around, update to latest x/sys/unix
da65466 move command to its own directory
c8b3b94 move mmap/mincore code to its own func+file
d26875d remove -default from README.md since it doesn't exist
4faa798 remove txt from fence
acf8eef skip could not mmap error when file size is 0
afd0539 skip invalid/error cases instead of fataling.
9eb37d5 synopsise some more
af10859 update copyright year
03a06be update copyrights for year & email address
68915a8 update readme
3b5b3e8 update requirements
30d1e3f update the README.md
f5eaebd use a default max name length in formats
b8eeced use go modules
5e0361c use the newly extracted function in mincore.go

Docker images

  • docker pull ghcr.io/tobert/pcstat:v0.0.1

Don't miss a new pcstat release

NewReleases is sending notifications on new releases.