Difference between revisions of "Gitlab-ctl status"
Jump to navigation
Jump to search
(26 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
run: postgresql: (pid 332) 496015s; run: log: (pid 324) 496015s | run: postgresql: (pid 332) 496015s; run: log: (pid 324) 496015s | ||
run: redis: (pid 336) 496015s; run: log: (pid 327) 496015s | run: redis: (pid 336) 496015s; run: log: (pid 327) 496015s | ||
− | run: sidekiq: (pid 331) 496015s; run: log: (pid 325) 496015s | + | run: [[sidekiq]]: (pid 331) 496015s; run: log: (pid 325) 496015s |
run: sshd: (pid 22) 496026s; run: log: (pid 21) 496026s | run: sshd: (pid 22) 496026s; run: log: (pid 21) 496026s | ||
run: unicorn: (pid 333) 496015s; run: log: (pid 326) 496015s | run: unicorn: (pid 333) 496015s; run: log: (pid 326) 496015s | ||
Line 20: | Line 20: | ||
run: gitlab-exporter: (pid 831) 2446s; run: log: (pid 830) 2446s | run: gitlab-exporter: (pid 831) 2446s; run: log: (pid 830) 2446s | ||
run: gitlab-workhorse: (pid 829) 2446s; run: log: (pid 828) 2446s | run: gitlab-workhorse: (pid 829) 2446s; run: log: (pid 828) 2446s | ||
− | run: grafana: (pid 833) 2446s; run: log: (pid 832) 2446s | + | run: [[grafana]]: (pid 833) 2446s; run: log: (pid 832) 2446s |
run: logrotate: (pid 849) 2446s; run: log: (pid 847) 2446s | run: logrotate: (pid 849) 2446s; run: log: (pid 847) 2446s | ||
run: nginx: (pid 837) 2446s; run: log: (pid 836) 2446s | run: nginx: (pid 837) 2446s; run: log: (pid 836) 2446s | ||
Line 53: | Line 53: | ||
== Related terms == | == Related terms == | ||
[[Health check]]s: https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html | [[Health check]]s: https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html | ||
− | * <code> | + | * <code>[[curl]] [[-w]] "\n" http://localhost/-/health </code> |
− | * <code> | + | * <code>curl -s http://localhost/-/readiness | [[jq]]</code> |
− | * <code> | + | * <code>curl -s http://localhost/-/liveness | [[jq]]</code> |
+ | * <code>curl -k https://localhost/-/metrics</code> | ||
* [[GitLab Log files]] | * [[GitLab Log files]] | ||
− | * <code>[[gitlab-ctl | + | * <code>[[gitlab-ctl service-list]]</code> |
* <code>[[gitlab-kas]]</code> | * <code>[[gitlab-kas]]</code> | ||
− | * <code>[[ | + | * <code>[[gitlab-rake gitlab:check]]</code> |
+ | * <code>[[check_gitlab_status.sh]]</code> | ||
+ | * <code>[[gitlab-ctl start]]</code> | ||
+ | * <code>[[gitlab-ctl restart]]</code> | ||
+ | * <code>https://localhost/admin/system_info</code> | ||
== See also == | == See also == | ||
+ | * {{gitlab-rake}} | ||
* {{gitlab-ctl}} | * {{gitlab-ctl}} | ||
* {{gitlab troubleshooting}} | * {{gitlab troubleshooting}} | ||
− | * {{ | + | * {{Upgrade GitLab}} |
− | |||
[[Category:GitLab]] | [[Category:GitLab]] |
Latest revision as of 23:35, 2 October 2022
gitlab-ctl status
gitlab-ctl status run: gitaly: (pid 366) 496015s; run: log: (pid 338) 496015s run: gitlab-workhorse: (pid 335) 496015s; run: log: (pid 329) 496015s run: logrotate: (pid 10864) 2764s; run: log: (pid 323) 496015s run: nginx: (pid 334) 496015s; run: log: (pid 328) 496015s run: postgresql: (pid 332) 496015s; run: log: (pid 324) 496015s run: redis: (pid 336) 496015s; run: log: (pid 327) 496015s run: sidekiq: (pid 331) 496015s; run: log: (pid 325) 496015s run: sshd: (pid 22) 496026s; run: log: (pid 21) 496026s run: unicorn: (pid 333) 496015s; run: log: (pid 326) 496015s
gitlab-ctl status (v 10.3) run: alertmanager: (pid 843) 2446s; run: log: (pid 842) 2446s run: gitaly: (pid 841) 2446s; run: log: (pid 840) 2446s run: gitlab-exporter: (pid 831) 2446s; run: log: (pid 830) 2446s run: gitlab-workhorse: (pid 829) 2446s; run: log: (pid 828) 2446s run: grafana: (pid 833) 2446s; run: log: (pid 832) 2446s run: logrotate: (pid 849) 2446s; run: log: (pid 847) 2446s run: nginx: (pid 837) 2446s; run: log: (pid 836) 2446s run: postgres-exporter: (pid 839) 2446s; run: log: (pid 838) 2446s run: postgresql: (pid 851) 2446s; run: log: (pid 850) 2446s run: prometheus: (pid 848) 2446s; run: log: (pid 846) 2446s run: redis: (pid 845) 2446s; run: log: (pid 844) 2446s run: redis-exporter: (pid 827) 2446s; run: log: (pid 826) 2446s run: sidekiq: (pid 853) 2446s; run: log: (pid 852) 2446s run: sshd: (pid 24) 2461s; run: log: (pid 23) 2461s run: unicorn: (pid 835) 2446s; run: log: (pid 834) 2446s
run: alertmanager: (pid 482) 330725s; run: log: (pid 481) 330725s run: crond: (pid 479) 330725s; run: log: (pid 634) 330724s run: gitaly: (pid 506) 330725s; run: log: (pid 505) 330725s run: gitlab-exporter: (pid 504) 330725s; run: log: (pid 502) 330725s run: gitlab-workhorse: (pid 474) 330725s; run: log: (pid 473) 330725s run: grafana: (pid 496) 330725s; run: log: (pid 493) 330725s run: logrotate: (pid 2786) 3097s; run: log: (pid 476) 330725s run: nginx: (pid 511) 330725s; run: log: (pid 510) 330725s run: postgres-exporter: (pid 484) 330725s; run: log: (pid 483) 330725s run: postgresql: (pid 488) 330725s; run: log: (pid 485) 330725s run: prometheus: (pid 489) 330725s; run: log: (pid 486) 330725s run: redis: (pid 492) 330725s; run: log: (pid 491) 330725s run: redis-exporter: (pid 480) 330726s; run: log: (pid 477) 330726s run: registry: (pid 499) 330726s; run: log: (pid 494) 330726s run: sidekiq: (pid 490) 330726s; run: log: (pid 487) 330726s run: sshd: (pid 25) 330736s; run: log: (pid 24) 330736s run: unicorn: (pid 501) 330726s; run: log: (pid 500) 330726s
Related terms[edit]
Health checks: https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
curl -w "\n" http://localhost/-/health
curl -s http://localhost/-/readiness | jq
curl -s http://localhost/-/liveness | jq
curl -k https://localhost/-/metrics
- GitLab Log files
gitlab-ctl service-list
gitlab-kas
gitlab-rake gitlab:check
check_gitlab_status.sh
gitlab-ctl start
gitlab-ctl restart
https://localhost/admin/system_info
See also[edit]
gitlab-rake [ gitlab:check | gitlab:env:info ]
gitlab-ctl [ status | tail | reconfigure | backup-etc | restart | start | stop | service-list | registry-garbage-collect | --help ]
- GitLab logs:
production.log
,application.log
,gitlab-ctl status
- Upgrade GitLab, GitLab Omnibus, GitLab logs,
check_gitlab_status.sh
,apt-cache madison gitlab-ee
, GitLab Changelog
Advertising: