{"id":21956349,"url":"https://github.com/chadmayfield/sysinfo","last_synced_at":"2025-10-14T14:09:55.930Z","repository":{"id":92277974,"uuid":"206667414","full_name":"chadmayfield/sysinfo","owner":"chadmayfield","description":"Quickly gather system information and print it in an easy to consume format","archived":false,"fork":false,"pushed_at":"2020-03-19T14:27:39.000Z","size":38,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T14:09:52.282Z","etag":null,"topics":["bash","linux","macos","shell","system-administration","system-identification","system-info"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chadmayfield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T22:27:26.000Z","updated_at":"2023-12-09T04:30:06.000Z","dependencies_parsed_at":"2023-06-08T06:15:14.616Z","dependency_job_id":null,"html_url":"https://github.com/chadmayfield/sysinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chadmayfield/sysinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fsysinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fsysinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fsysinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fsysinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chadmayfield","download_url":"https://codeload.github.com/chadmayfield/sysinfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fsysinfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019122,"owners_count":26086679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","linux","macos","shell","system-administration","system-identification","system-info"],"created_at":"2024-11-29T08:32:34.248Z","updated_at":"2025-10-14T14:09:55.885Z","avatar_url":"https://github.com/chadmayfield.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sysinfo\n\nQuickly gather system information and print it in an easy to consume format\n\n\n## Description\n\nShow system information for various OSes, including load, uptime, cpu information, docker version and running containers, and network information. When used with the `--connections` option it will show all established connections with domain if possible.\n\n(Works with: macOS, RHEL, CentOS, Ubuntu, Debian)\n\n\n## Sample Output\n\n### Linux\n\n##### Linux Mint 19.1 (as an unprivileged user)\n```\nchad@dev-vm:~$ sudo sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Tue Jul 30 22:00:54 MDT 2019\nHostname:            dev-vm\nOS:                  Linux Mint 19.1 Tessa\nKernel:              Linux 4.15.0-55-generic\nHW Version:          \u003e\u003e\u003eFOR THIS STAT, RUN AS ROOT\u003c\u003c\u003c\nHW Serial:           \u003e\u003e\u003eFOR THIS STAT, RUN AS ROOT\u003c\u003c\u003c\nHW UUID:             \u003e\u003e\u003eFOR THIS STAT, RUN AS ROOT\u003c\u003c\u003c\nUptime:              44 minutes\nLoad Average:        0.22, 0.35, 0.51\nProcessor:           Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz\nCore Count:          2\nVirtual Cores:       2\nTotal Memory:        1.95 gigabytes\nMemory Used:         494M used (of 1.9G), 1.1G unused.\nInternal IP:         192.168.7.240 (Tx/Rx: 1.2 MB/25.4 MB)\nExternal IP:         170.xx.x.xxx (170-xx-x-xxx.ut.internethost.net)\nDocker Version:      \u003e\u003e\u003eFOR THIS STAT, RUN AS ROOT\u003c\u003c\u003c\n------------------------------------------------------------------------\n```\n\n##### Linux Mint 19.1 (as root)\n```\nchad@dev-vm:~$ sudo sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Tue Jul 30 21:43:14 MDT 2019\nHostname:            dev-vm\nOS:                  Linux Mint 19.1 Tessa\nKernel:              Linux 4.15.0-55-generic\nHW Version:          innotek GmbH VirtualBox\nHW Serial:           0\nHW UUID:             C9061541-26F1-4D70-839E-76726F0B6CC6\nUptime:              26 minutes\nLoad Average:        0.14, 0.39, 0.54\nProcessor:           Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz\nCore Count:          2\nVirtual Cores:       2\nTotal Memory:        1.95 gigabytes\nMemory Used:         1.4G used (of 1.9G), 111M unused.\nInternal IP:         192.168.7.240 (Tx/Rx: 411.3 KB/10.5 MB)\nExternal IP:         170.xx.xx.xx (170-xx-xx-xx.ut.internethost.net)\nDocker Version:      18.09.7\n------------------------------------------------------------------------\n```\n##### CentOS 7.6\n\n```\nchad@nuc:~$ curl -sSL https://git.io/sysinfo.sh | sudo bash\n------------------------------------------------------------------------\nCurrent Date:        Sat Sep  7 11:54:21 MDT 2019\nHostname:            nuc.domain.com\nOS:                  CentOS Linux release 7.6.1810 (Core) \nKernel:              Linux 3.10.0-957.27.2.el7.x86_64\nHW Version:          Intel Corporation NUC7PJYH\nHW Serial:           G6JY89010919\nHW UUID:             9ddacb62-1191-177e-e916-94c6493f61eb\nUptime:              1 week, 1 hour, 59 minutes\nLoad Average:        4.92, 4.84, 4.85\nProcessor:           Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz\nCore Count:          4\nVirtual Cores:       4\nTotal Memory:        15.11 gigabytes\nMemory Used:         552M used (of 15G), 2.5G unused. \nInternal IP:         192.168.6.130 (Tx/Rx: 6.3 GiB/18.3 GiB)\nExternal IP:         170.xx.x.xxx (170-xx-x-xxx.ut.internethost.net)\nDocker Version:      19.03.1\n------------------------------------------------------------------------\n```\n\n##### CentOS 7.6\n```\n[chad@file ~]$ sudo ./sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Mon Jul 29 22:22:22 MDT 2019\nHostname:            file.domain.com\nOS:                  CentOS Linux release 7.6.1810 (Core)\nKernel:              Linux 3.10.0-957.1.3.el7.x86_64\nHW Version:          Dell Inc. PowerEdge T20\nHW Serial:           XXXXXXX\nHW UUID:             4c4c4555-014c-3810-8908-b5a04f35b931\nUptime:              25 weeks, 4 days, 1 hour, 49 minutes\nLoad Average:        1.19, 1.64, 1.64\nProcessor:           Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz\nCore Count:          4\nVirtual Cores:       8\nTotal Memory:        23.30 gigabytes\nMemory Used:         5.2G used (of 23G), 532M unused.\nInternal IP:         192.168.6.140 (Tx/Rx: 1.0 TiB/2.0 TiB)\nExternal IP:         170.xx.x.xxx (170-xx-x-xxx.ut.internethost.net)\nDocker Version:      18.09.1\n------------------------------------------------------------------------\n```\n\n##### Ubuntu 18.04\n```\nchad@domain:~$ sudo sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Thu Feb 14 10:18:41 MST 2019\nHostname:            domain\nOS:                  Ubuntu 18.04.2 LTS\nKernel:              Linux 4.15.0-45-generic\nHW Version:          HP EliteDesk 800 G1 SFF\nHW Serial:           2UA50608BT\nHW UUID:             509C1380-A315-22E4-A607-645106565972\nUptime:              3 days, 10 minutes\nLoad Average:        0.54, 0.50, 0.49\nProcessor:           Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz\nCore Count:          4\nVirtual Cores:       4\nTotal Memory:        15.57 gigabytes\nMemory Used:         3.1G used (of 15G), 8.1G unused.\nInternal IP:         172.24.76.133 (Tx/Rx: 19.6 GB/1.6 GB)\nExternal IP:         166.xx.xxx.xx (166-xx-xxx-xx.internethost.com)\nDocker Version:      18.09.0\n------------------------------------------------------------------------\n```\n\n##### RHEL 7.5 (running Kubernetes)\n```\n[root@domain ~]# ./sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Thu Feb 14 15:57:16 MST 2019\nHostname:            domain.local\nOS:                  Red Hat Enterprise Linux Server release 7.5 (Maipo)\nKernel:              Linux 3.10.0-862.el7.x86_64\nHW Version:          VMware Virtual Platform\nHW Serial:           VMware-42 29 a2 7e 1e 14 55 93-b5 b7 5a 73 e1 91 31 8c\nHW UUID:             4229A27E-1E14-5593-B5B7-5A73E191318C\nUptime:              1 hour, 34 minutes\nLoad Average:        1.30, 0.71, 0.66\nProcessor:           Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz\nCore Count:          1\nVirtual Cores:       2\nTotal Memory:        3.70 gigabytes\nMemory Used:         1.4G used (of 3.7G), 110M unused.\nInternal IP:         172.24.81.159 (Tx/Rx: 55.1 MiB/278.8 MiB)\nExternal IP:         166.xx.xxx.xx (166-xx-xxx-xx.internethost.com)\nDocker Version:      1.13.1\nContainers:          CONTAINER ID       NAME\n                     4ddcdcb1901d       k8s_nginx-ingress-ingress-controller_main-nginx-ingress-ingress-controller-6dddb4d4d7-wmjfr_ingress-nginx_3dcb6196-309f-11e9-b964-005056a91740_0\n                     000f43b13d9a       k8s_nginx-ingress-default-backend_main-nginx-ingress-default-backend-764f465755-5vgdh_ingress-nginx_3dcc80a0-309f-11e9-b964-005056a91740_0\n                     7eaa3e77b4ec       k8s_POD_main-nginx-ingress-ingress-controller-6dddb4d4d7-wmjfr_ingress-nginx_3dcb6196-309f-11e9-b964-005056a91740_0\n                     c1a8f72b8d41       k8s_POD_main-nginx-ingress-default-backend-764f465755-5vgdh_ingress-nginx_3dcc80a0-309f-11e9-b964-005056a91740_0\n                     d3969eddabf5       k8s_grafana_grafana-7f69f4ffd-97kq6_grafana_28fb9880-309f-11e9-b964-005056a91740_0\n                     4145a5a5ba1f       k8s_POD_grafana-7f69f4ffd-97kq6_grafana_28fb9880-309f-11e9-b964-005056a91740_0\n                     8a76098d74fa       k8s_prometheus-server_prometheus-server-77dd5bf6bb-7brn8_prometheus_105a1ed9-309f-11e9-b964-005056a91740_0\n                     b332bf7a2b0f       k8s_prometheus-server-configmap-reload_prometheus-server-77dd5bf6bb-7brn8_prometheus_105a1ed9-309f-11e9-b964-005056a91740_0\n                     32bc48b1c730       k8s_prometheus-alertmanager-configmap-reload_prometheus-alertmanager-7995bc8577-5vxcv_prometheus_104d8b29-309f-11e9-b964-005056a91740_0\n                     2c82f5ae0708       k8s_prometheus-pushgateway_prometheus-pushgateway-648d6c8b-w7mbl_prometheus_1054d94f-309f-11e9-b964-005056a91740_0\n                     9ed8a61d330d       k8s_prometheus-node-exporter_prometheus-node-exporter-8rl7s_prometheus_103d8b91-309f-11e9-b964-005056a91740_0\n                     cfbd8df0bd2d       k8s_prometheus-alertmanager_prometheus-alertmanager-7995bc8577-5vxcv_prometheus_104d8b29-309f-11e9-b964-005056a91740_0\n                     20be7f92f01e       k8s_prometheus-kube-state-metrics_prometheus-kube-state-metrics-64fd5b47fd-gczgx_prometheus_10580140-309f-11e9-b964-005056a91740_0\n                     83af71057fd5       k8s_POD_prometheus-alertmanager-7995bc8577-5vxcv_prometheus_104d8b29-309f-11e9-b964-005056a91740_0\n                     ee20fe12793e       k8s_POD_prometheus-server-77dd5bf6bb-7brn8_prometheus_105a1ed9-309f-11e9-b964-005056a91740_0\n                     c9da218603ea       k8s_POD_prometheus-kube-state-metrics-64fd5b47fd-gczgx_prometheus_10580140-309f-11e9-b964-005056a91740_0\n                     17e2e9c9d333       k8s_POD_prometheus-pushgateway-648d6c8b-w7mbl_prometheus_1054d94f-309f-11e9-b964-005056a91740_0\n                     8aa82d6755fa       k8s_POD_prometheus-node-exporter-8rl7s_prometheus_103d8b91-309f-11e9-b964-005056a91740_0\n                     ca77355305bd       k8s_coredns_coredns-86c58d9df4-bpkvp_kube-system_f6c29ae7-309e-11e9-b964-005056a91740_0\n                     ec215d05c52c       k8s_tiller_tiller-deploy-dbb85cb99-zzkn7_kube-system_fe3733e8-309e-11e9-b964-005056a91740_0\n                     e5506cee828b       k8s_coredns_coredns-86c58d9df4-477vf_kube-system_f6b8fc46-309e-11e9-b964-005056a91740_0\n                     bb670f0e2725       k8s_POD_tiller-deploy-dbb85cb99-zzkn7_kube-system_fe3733e8-309e-11e9-b964-005056a91740_0\n                     55777e8c46e4       k8s_POD_coredns-86c58d9df4-bpkvp_kube-system_f6c29ae7-309e-11e9-b964-005056a91740_0\n                     edd8aa848602       k8s_POD_coredns-86c58d9df4-477vf_kube-system_f6b8fc46-309e-11e9-b964-005056a91740_0\n                     b3e55601811b       k8s_weave-npc_weave-net-sk8w6_kube-system_f6b1d46d-309e-11e9-b964-005056a91740_0\n                     b9123cd86e56       k8s_weave_weave-net-sk8w6_kube-system_f6b1d46d-309e-11e9-b964-005056a91740_0\n                     3b47612a4ddf       k8s_kube-proxy_kube-proxy-r5v5c_kube-system_f6b250d2-309e-11e9-b964-005056a91740_0\n                     58a3105eb78f       k8s_POD_weave-net-sk8w6_kube-system_f6b1d46d-309e-11e9-b964-005056a91740_0\n                     bde13e5fd278       k8s_POD_kube-proxy-r5v5c_kube-system_f6b250d2-309e-11e9-b964-005056a91740_0\n                     bf1e33a600dd       k8s_etcd_etcd-domain.local_kube-system_aaf41a2de5f6054f98e8846e116191eb_0\n                     f9363fcc323e       k8s_kube-scheduler_kube-scheduler-domain.local_kube-system_b734fcc86501dde5579ce80285c0bf0c_0\n                     2ba66f42e449       k8s_kube-apiserver_kube-apiserver-domain.local_kube-system_31305a146d9b4c5aab0182840128a57d_0\n                     5fa996ec393a       k8s_kube-controller-manager_kube-controller-manager-domain.local_kube-system_43bf25263b7036f8626365f45552fdba_0\n                     bffa547d97cc       k8s_POD_etcd-domain.local_kube-system_aaf41a2de5f6054f98e8846e116191eb_0\n                     120d238c154c       k8s_POD_kube-scheduler-domain.local_kube-system_b734fcc86501dde5579ce80285c0bf0c_0\n                     ebf48857e4d1       k8s_POD_kube-apiserver-domain.local_kube-system_31305a146d9b4c5aab0182840128a57d_0\n                     0f1360227707       k8s_POD_kube-controller-manager-domain.local_kube-system_43bf25263b7036f8626365f45552fdba_0\n------------------------------------------------------------------------\n```\n\n### macOS\n\n##### Macbook Pro\n```\n(0) [chad@mbp:~] $ bash sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Wed Feb 13 20:24:18 MST 2019\nHostname:            mbp.wifi.domain.com\nOS:                  Mac OS X 10.14.2 (18C54)\nKernel:              Darwin 18.2.0\nHW Version:          MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)\nHW Serial:           XXXXXXXXXXXX\nHW UUID:             ABFA244E-13EF-113E-9710-5187A382D92A\nUptime:              2 days hours\nLoad Average:        1.89 1.93 1.82\nProcessor:           Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz\nCore Count:          2\nVirtual Cores:       4\nTotal Memory:        8.00 gigabytes\nMemory Used:         8153M used (1892M wired), 38M unused.\nInternal IP:         192.168.7.10 (Tx/Rx: 179 MB/2705 MB)\nDocker Version:      18.09.1\n------------------------------------------------------------------------\n```\n##### Macbook Air Retina\n```\nCM-Macbook-Air:~ $ ./sysinfo.sh\n------------------------------------------------------------------------\nCurrent Date:        Sun Aug 18 15:14:47 MDT 2019\nHostname:            CM-Macbook-Air.wifi.domain.com\nOS:                  Mac OS X 10.14.6 (18G87)\nKernel:              Darwin 18.7.0\nHW Version:          MacBook Air (Retina, 13-inch, 2019)\nHW Serial:           XXXXXXXXXXXX\nHW UUID:             44BA58F7-F498-874A-8EFB-CE2D79885C10\nUptime:              1 day hours\nLoad Average:        2.12 2.04 1.91\nProcessor:           Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz\nCore Count:          2\nVirtual Cores:       4\nTotal Memory:        8.00 gigabytes\nMemory Used:         8141M used (1739M wired), 50M unused.\nInternal IP:         192.168.7.11 (Tx/Rx: 354 MB/2717 MB)\n------------------------------------------------------------------------\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadmayfield%2Fsysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchadmayfield%2Fsysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadmayfield%2Fsysinfo/lists"}