Skip to content

Commit 9987e01

Browse files
authored
Merge pull request #39 from tobert/fix-install
README and dependency updates
2 parents 22134e0 + a76acc2 commit 9987e01

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ and has some build problems.
1111
I wrote this is so that Apache Cassandra users can see if ssTables are being
1212
cached. If $GOPATH/bin is in your PATH, this will get it installed:
1313

14-
go get golang.org/x/sys/unix
15-
go get github.com/tobert/pcstat/pcstat
14+
go install github.com/tobert/pcstat@latest
1615
pcstat /var/lib/cassandra/data/*/*/*-Data.db
1716

1817
If you don't want to mess around with building the software, binaries are provided
@@ -170,7 +169,7 @@ atobey@brak ~/src/pcstat $ ./pcstat testfile
170169

171170
## Requirements
172171

173-
Go 1.4 or higher and golang.org/x/sys/unix.
172+
Go 1.17 or higher.
174173

175174
From the mincore(2) man page:
176175

@@ -180,7 +179,7 @@ From the mincore(2) man page:
180179

181180
## Author
182181

183-
A. Tobey <tobert@gmail.com> @MissAmyTobey
182+
A. Tobey <tobert@gmail.com> @renice@hachyderm.io
184183

185184
## License
186185

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/tobert/pcstat
22

3-
go 1.13
3+
go 1.17
44

5-
require golang.org/x/sys v0.0.0-20210917161153-d61c044b1678
5+
require golang.org/x/sys v0.10.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 h1:J27LZFQBFoihqXoegpscI10HpjZ7B5WQLLKL2FZXQKw=
2-
golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1+
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
2+
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)