Article 5J4YM journalctl -U -n [-r] erratic behavior

journalctl -U -n [-r] erratic behavior

by
doru
from LinuxQuestions.org on (#5J4YM)
Code:$ journalctl -U yesterday -n100000 -r # shows ~100000 entries,
$ journalctl -U yesterday -n100000 # shows ~88000 entries,
$ journalctl -S yesterday # shows ~12000 entries.

$ echo $((11741+88343)) \~ 100082
100084 ~ 100082It appears that -n is applied before -U when -r is not used and after when -r is used.
Is this a perfect mess or what?latest?d=yIl2AUoC8zA latest?i=nKjBAYIYL-M:MvsGZPKOiq0:F7zBnMy latest?i=nKjBAYIYL-M:MvsGZPKOiq0:V_sGLiP latest?d=qj6IDK7rITs latest?i=nKjBAYIYL-M:MvsGZPKOiq0:gIN9vFwnKjBAYIYL-M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments