How to tail (follow) Linux Service Logs

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 21

  • @robd.2466
    @robd.2466 Před 3 lety +13

    Came for the tips, stayed for the smooth, easy listening

  • @buddhika71
    @buddhika71 Před 3 lety +1

    Music is so relaxing. Love the content. keep it up

  • @aturegano87
    @aturegano87 Před 3 lety +1

    I love this kind of knowledge pills taught with these examples

  • @GooogleGoglee
    @GooogleGoglee Před 3 lety +1

    Love these videos with nice easy soft and low volume background music

  • @santoshgujar5237
    @santoshgujar5237 Před rokem

    Thank you, Sir, 🙏🌺😇

  • @davocc2405
    @davocc2405 Před 3 lety

    I take these things a step further - I pipe the output through a filter and then push it to an MQTT queue so that it can be acted on if necessary. Lets you have responsive events based on things happening which can be handy.

  • @Core2lee91
    @Core2lee91 Před 3 lety +1

    Nice! I really should take the time to learn the Linux journal a little better. I was just running “watch -n1 systemctl status nginx” before, however this way is clearly how the cool kids do it 😎

    • @tutoriaLinux
      @tutoriaLinux  Před 3 lety

      Yeah, while I philosophically disagree with binary logs, journal logs are mostly easy to work with and the tools (journalctl and its many flags) are good enough for most use cases.

  • @9mjb
    @9mjb Před 3 lety

    journalctl -u nginx | less # maybe +F (command line or in less) so you can search and scrooll back or watch more output as it comes (as with -f)

  • @brettmiller7469
    @brettmiller7469 Před 3 lety

    This is great content. Thanks.

  • @TheGruselmops
    @TheGruselmops Před 3 lety

    Always learning something watching these :D

  • @uses0ap
    @uses0ap Před 3 lety +1

    I always called ctl "control"

    • @tutoriaLinux
      @tutoriaLinux  Před 3 lety +4

      You are almost certainly correct, and I do call it that most of the time, I just think it would be funny for all of us to pronounce it differently than the creators intended :-D

  • @karansuryadevra2012
    @karansuryadevra2012 Před 3 lety

    Journalctl almost always messes up my terminal when I'm not following the logs and just paging through. Do you have any additional tips that I could use Dave?
    Or is there a way where I could open the journal without the -f and then midway start following?
    Like in "less" where you can just say Shift+F (something I learnt from your older video) and automatically start following the logs?
    Also, keep up the wonderful style of your videos. Love the general music, vibe and subtle humour :)

  • @umen2424
    @umen2424 Před 3 lety

    Great channel! Q: what Linux do you use in your videos? minubuntu on oracle VM? where do you download minibuntu ?
    @tutorialLinux

  • @SomeGuyInSandy
    @SomeGuyInSandy Před 3 lety

    Thanks! I should use this more.

  • @nbensa
    @nbensa Před 3 lety

    Hi! This only replaces syslog/rsyslog, isn't it? I mean, the access.log files are cat'ed the old way?

  • @gaiusbaltar7122
    @gaiusbaltar7122 Před 3 lety

    Terminator is a great terminal (for me the best terminal) that you can split in multiples views. It would have been useful for this video to show the 2 views simultaneously.

  • @Chris-rm1pn
    @Chris-rm1pn Před 3 lety

    Me watching video while using sysklogd:
    Hmm... Interesting 🧐

  • @TheBuilder
    @TheBuilder Před 3 lety

    systemd will take over linux (and thats a good thing)