Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose.libre.sh
Commits
dd7006db
Commit
dd7006db
authored
8 years ago
by
JꙨdцӍoηҬ
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add libre stats
which show docker stats with name.
parent
212f1b90
No related branches found
No related tags found
1 merge request
!147
add libre stats
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/libre
+3
-0
3 additions, 0 deletions
utils/libre
with
3 additions
and
0 deletions
utils/libre
+
3
−
0
View file @
dd7006db
...
...
@@ -59,9 +59,12 @@ case "$1" in
fi
;;
provision
)
provision
${
@
:2
}
;;
stats
)
docker stats
$(
docker ps|grep
-v
"NAMES"
|awk
'{ print $NF }'
|tr
"
\n
"
" "
)
;;
*
)
echo
"Usage:"
echo
" - start|status|enable|disable|restart|stop: command sent to systemctl."
echo
" - ps|exec|logs: command sent to docker compose."
echo
" - update: to update the current folder."
echo
" - stats: show docker stats with names."
esac
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment