https://github.com/rpeshkov/kpanic
Command-line for simplified MacOS kernel panic logs access
https://github.com/rpeshkov/kpanic
cli golang kernel-panic macos
Last synced: 3 months ago
JSON representation
Command-line for simplified MacOS kernel panic logs access
- Host: GitHub
- URL: https://github.com/rpeshkov/kpanic
- Owner: rpeshkov
- License: mit
- Created: 2018-02-15T00:14:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T01:19:40.000Z (almost 8 years ago)
- Last Synced: 2025-04-10T19:34:53.901Z (9 months ago)
- Topics: cli, golang, kernel-panic, macos
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kpanic
Command-line utility that simplifies viewing of MacOS kernel panics in your terminal window. Panics are taken from default location: /Library/Logs/DiagnosticReports/
## Installation
### Homebrew
```
brew tap rpeshkov/kpanic
brew install rpeshkov/kpanic/kpanic
```
### Manual
- Go to [releases](releases) page and download latest tar.gz archive.
- Unpack it
- Move binary to /usr/local/bin/kpanic
## Commands
`kpanic ls`
Display list of available kernel panics.
`kpanic show `
Display contents of panic file in your terminal window. Name parameters refers to the panic name you may obtain from `kpanic ls` command.
`kpanic last`
Display content of last occurred panic in your terminal window.
## Shell completion
You may find Bash and ZSH completion files in [shell](shell) folder.
## TODO
- [ ] atos integration
- [ ] otool integration
- [ ] configuration
## [License](LICENSE)
The MIT License (MIT)
Copyright (c) 2018 Roman Peshkov