Skip to content

Commit

Permalink
Merge pull request google#882 from lborguetti/master
Browse files Browse the repository at this point in the history
Add flag -k to journalctl show only kernel messages
  • Loading branch information
vishh committed Sep 17, 2015
2 parents a059975 + e0c994c commit 9feca2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/oomparser/oomparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (self *OomParser) StreamOoms(outStream chan *OomInstance) {
}

func callJournalctl() (io.ReadCloser, error) {
cmd := exec.Command("journalctl", "-f")
cmd := exec.Command("journalctl", "-k", "-f")
readcloser, err := cmd.StdoutPipe()
if err != nil {
return nil, err
Expand Down

0 comments on commit 9feca2c

Please sign in to comment.