{"id":15007099,"url":"https://github.com/debek/osmon","last_synced_at":"2026-02-27T05:31:34.177Z","repository":{"id":213926612,"uuid":"735098055","full_name":"debek/osmon","owner":"debek","description":"CLI tool providing quick access to essential system information. Ideal for monitoring and debugging, it offers real-time data on host IP address, system load, memory usage, logged-in users, and more. Compatible with Linux and macOS systems.","archived":false,"fork":false,"pushed_at":"2024-10-15T11:04:26.000Z","size":2616,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T14:56:27.461Z","etag":null,"topics":["cpu","cpu-monitoring","debian","disk","disk-space","disk-usage","go","golang","linux","linux-app","load","macos","macos-app","monitoring-tool","motd","motd-message","motd-messages","ubuntu","uptime","uptime-monitor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/debek.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}},"created_at":"2023-12-23T16:51:26.000Z","updated_at":"2024-10-15T10:59:36.000Z","dependencies_parsed_at":"2023-12-24T11:25:52.707Z","dependency_job_id":"f664d5bd-d457-4cf1-b03c-4cfeea6b8a8b","html_url":"https://github.com/debek/osmon","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"caadf939211311cca6375b8d1fd7e05bea1a2b05"},"previous_names":["debek/osmon"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Fosmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Fosmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Fosmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Fosmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debek","download_url":"https://codeload.github.com/debek/osmon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230227055,"owners_count":18193243,"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","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":["cpu","cpu-monitoring","debian","disk","disk-space","disk-usage","go","golang","linux","linux-app","load","macos","macos-app","monitoring-tool","motd","motd-message","motd-messages","ubuntu","uptime","uptime-monitor"],"created_at":"2024-09-24T19:03:24.241Z","updated_at":"2026-02-27T05:31:29.159Z","avatar_url":"https://github.com/debek.png","language":"Go","readme":"[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fdebek%2Fosmon\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n# osmon                \n\n**osmon** is a command-line tool written in Go that provides quick access to basic system information. With **osmon**, you can easily access details such as your host's IP address, system load, memory usage, logged-in users, and much more.\n\n## Features\n\n- Displaying your host's name and IP address.\n- Showing the current system load averages.\n- Overview of memory usage statistics, including total memory, used memory, and available memory.\n- Listing logged-in users and their respective terminals.\n\n## Screenshots\n\n### osmon in Command Line\n![osmon Command Line](images/osmon-command.png)\n\n### osmon for Message of the Day (MOTD)\n![osmon MOTD](images/osmon-motd.png)\n\n[//]: # (## Demo Video)\n\n[//]: # ()\n[//]: # (Check out this demo of **osmon** in action:)\n\n[//]: # ()\n[//]: # ([![Demo Video]\u0026#40;http://img.youtube.com/vi/VIDEO_ID/0.jpg\u0026#41;]\u0026#40;http://www.youtube.com/watch?v=ID_VIDEO \"osmon Demo\"\u0026#41;)\n\n## Applications\n\n### Monitoring After SSH Login\n\n**osmon** is an ideal tool for a quick overview of a server's status upon SSH login. You can configure your shell to automatically run `osmon` every time you log in, providing an immediate snapshot of the server's status.\n\nExample:\n\n- Configure your `.bashrc` or `.zshrc` to run `osmon` upon every login, allowing you to immediately assess the state of the server.\n\n### Debugging\n\n**osmon** can be an invaluable tool for debugging performance issues. By running `osmon`, you can quickly identify if high system load is caused by memory, CPU, or network activity.\n\nExample:\n\n- If you notice that your application is running slower than usual, you can use `osmon` to check if the system is under heavy load.\n\n### Installation\n\nYou can install **osmon** using the Go tool:\n\n\n`go install github.com/debek/osmon@latest`\n\nAfter installation, add the Go binary path to your system's PATH to access the `osmon` command from anywhere:\n\n\n`export PATH=$PATH:~/go/bin`\n\n### Usage\n\n**osmon** offers various command-line options for tailored usage. Below are the available flags and their descriptions:\n\n- `-h`: Display help information. \\[...\\]\n- `-v`: Display the version of the application. \\[...\\]\n- `-i` or `--interval`: Set the interval for refreshing the display in seconds. \\[...\\]\n\n#### Basic Usage\n\nTo simply display the system information, run the `osmon` command without any flags:\n\n\n`osmon`\n\n#### Continuous Monitoring\n\nIf you want to continuously monitor your system's status with a specific refresh interval, use the `-i` flag with your desired interval in seconds:\n\n\n```bash\nosmon -i 5\n```\n\n### Binary Release Installation (Optional)\n\nIf you release a binary version of **osmon**, users can follow these steps:\n\n1.  Download the binary from the \"Releases\" section of your GitHub repository.\n\n2.  Move the binary to a directory in your PATH, for example, `/usr/local/bin`:\n\n\n1.  `mv osmon /usr/local/bin/osmon chmod +x /usr/local/bin/osmon`\n\n\n## Compatibility\n\n- **osmon** is compatible with Linux and macOS systems.\n\n## Contributing\n\nIf you're interested in contributing to the osmon project, please check our [contribution guidelines](https://github.com/debek/osmon/blob/main/CONTRIBUTE.md). All contributions, from bug reporting to new feature suggestions, are highly appreciated.\n\n## License\n\nThis project is available under the [MIT License](https://github.com/debek/osmon/blob/main/LICENSE).\n\n## Acknowledgments\n\nSpecial thanks to the Go community for creating excellent libraries like `github.com/shirou/gopsutil`, which make it easier to gather system information.\n\n## TO DO\n\n- **osmon --version -\u003e OSInfo version development - fix this problem\n- ** Add help if you would give unexpected argument\n- **Information about IOBS and IOPS**: Include details about read and write operations, and possibly any limits.\n- **Outgoing and Incoming Connections**: Display connections in kilobits or megabits.\n- **Number of Connections**: Show the count of incoming and outgoing connections.\n- **Kernel Version**: Add information about the kernel version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebek%2Fosmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebek%2Fosmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebek%2Fosmon/lists"}