Skip to content

Commit

Permalink
update readme and makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
silenceshell committed Sep 12, 2021
1 parent 0e20b76 commit 094fccd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
cmd/topic/topic
topic
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
GOOS=linux go build cmd/topic/topic.go

clean:
rm -f topic
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# topic

top in a container.
top in container.

Running the original `top` command in a container will not get information of the container, many metrics like uptime, users, tasks, cpu, memory, is about the host in fact. `topic`(top in container) will retrieve those metrics from container instead.

Attention: `topic` have not supported load average metrics.

0 comments on commit 094fccd

Please sign in to comment.