PowerShell/demos/json.ps1
joeyaiello 0c38f29d68 add comment-level demos
We've signed off on these demos conceptually.
The next step is for them to be implemented
and all blocking engineering work needs to be
enumerated and solved.
2016-07-12 16:01:40 -07:00

11 lines
507 B
PowerShell

# Get-Mongostat
# Get mongodb statistics with parsed JSON
# journalctl is a native tool to emit SystemD's journal, which includes diagnostic info pertaining to SystemD services
# Show-JournalCtl
# Given journalctl parameters, run journalctl with a -o json to emit JSON, e.g. journalctl $Parameters -o json --no-pager
# Return structured data from Journal
# Demo execution
# Show journatcl example
# Using Where & Sort, filter journal output to drill into a specific problem (e.g. service failed to start)