Linux Tools: Monitoring & Troubleshooting Basics with Glances

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ก.ค. 2024
  • A beginner's guide to my favorite linux system monitoring/troubleshooting tool: Glances. By the end of this video you'll know the basics, and be able to quickly identify CPU, Memory, Disk/IO, and other issues on a machine.
    If you still need to learn the basics of Linux before diving into monitoring, I've created a free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
    Step-by-step project-based Linux course for beginners: www.udemy.com/course/hands-on...
    Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
    DigitalOcean referral link: m.do.co/c/0380a1db56a6
    Patreon: / tutorialinux
    Official Site & e-mail list: tutorialinux.com/
    Twitter: / tutorialinux
    Facebook: / tutorialinux
    Podcast: kernelpanicpodcast.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 65

  • @StefanoPapaleo-TS
    @StefanoPapaleo-TS 6 ปีที่แล้ว +2

    Nice! Having the I/O and network info on top of the usual htop stuff makes it worth it. Thank you.

  • @TheJDieJ
    @TheJDieJ 6 ปีที่แล้ว +6

    Thank you so much. Our old good Linux master is back

  • @Gosu9765
    @Gosu9765 6 ปีที่แล้ว +25

    This is really awesome tool - thanks for sharing.

  • @daviddupoise6443
    @daviddupoise6443 6 ปีที่แล้ว +1

    Brilliant, beautiful, and so cleverly named

  • @porlando12
    @porlando12 5 ปีที่แล้ว +5

    Really nice video Dave! When I first started using glances I switched back to htop because I didn’t know how to monitor each CPU thread individually. It turns out adding the -1 flag to glances provides CPU utilization at the thread level! I though it would be worth mentioning here in case there are any other potential converts who need this feature.

  • @emekaaugustine9362
    @emekaaugustine9362 6 ปีที่แล้ว +2

    Thanks so much our great mentor of Linux. So much respect always sir..

  • @tobortine
    @tobortine 6 ปีที่แล้ว +8

    Thank you so much. I've just installed it on my webserver and immediately found a run away process chewing up CPU, it's amazing and so easy to use.

  • @gregf9160
    @gregf9160 6 ปีที่แล้ว

    Wow, thanks. Glances is super. I've been a big fan of htop for years but this is very, very nice!

  • @ritual301
    @ritual301 6 ปีที่แล้ว

    Wow, this is pretty nifty. I can see this coming in handy, for sure. Thank you!

  • @ovalwingnut
    @ovalwingnut 6 ปีที่แล้ว +1

    *Very* InTeReStiNg. This _application_ is worth more than a glance :) It's existence was news to me (no surprise). I paused the vid and installed it on a headless Pi3. I was daZzled. On a 27" screen I felt like I was in -NASA- SpaceX's control room. Thank you for your efforts. Cheers!

  • @williamevans6830
    @williamevans6830 6 ปีที่แล้ว +1

    This channel is a well of fabulous information. Great tutorial.

  • @nixcutus
    @nixcutus 6 ปีที่แล้ว

    This is a great video and helps with my troubleshooting.

  • @loc4725
    @loc4725 6 ปีที่แล้ว

    That's really good. Thanks!

  • @jezzamobile
    @jezzamobile ปีที่แล้ว

    Great steer!
    Thankyou 👍

  • @azizzainul
    @azizzainul 5 ปีที่แล้ว

    Awesome, thanks for sharing

  • @peterm.eggers520
    @peterm.eggers520 8 หลายเดือนก่อน

    Interesting! HP's obsoleted business system, HP3000, had a system monitoring utility called Glance or GlanceXL. It had a great initial dashboard screen with many drilldown options on users and processes.

  • @ecapanema
    @ecapanema 6 ปีที่แล้ว

    really cool, used to use htop too, moving to glances

  • @c_kubiakigomes
    @c_kubiakigomes 4 ปีที่แล้ว

    Nice content. Thanks for sharing.

  • @user-pk9nb8ut8m
    @user-pk9nb8ut8m 6 ปีที่แล้ว

    thank you man that was big

  • @khalilbrsc
    @khalilbrsc 6 ปีที่แล้ว +1

    I've very recently installed Netdata on my RPi3, it isn't really a troubleshooting tool but it does wonders if you have multiple PCs to manage.
    It can list eveything from IO per disk, CPU Time per user, interrupts, R/T per network interface, packets per second (in general, or udp and tcp), dropped packets, etc.
    It also features a 'alarm' system, so you will be notified when, for example, your disk has an ETA of 48h before becoming full, or when fail2ban (if installed!) detects too many attempts. Netdata doesn't need a server to collect data from netdata installs, each install is it's own server (avoids bottlenecks network-wise).

  • @TheRDB46
    @TheRDB46 6 ปีที่แล้ว

    Thanks, alot Dave, appreciate these videos enhancing my QOL, would love to hear from Jeff and yourself about other programs you think are useful for smaller networking and pc management also larger programs out there that maybe someone would buy personally but in a corporation would be a good option ((podcast ideas)) Thanks for the podcast too (saved my sanity)

  • @ThangDuongBaopage
    @ThangDuongBaopage 6 ปีที่แล้ว

    Interesting, will try this app

  • @TesserId
    @TesserId 3 ปีที่แล้ว +1

    Installed after watching just 24 seconds of the video. Yeah, I can get along with top alone and only bother to install htop when I can remember to do so. But, monitoring tools are just so cool.

  • @mistie710
    @mistie710 6 ปีที่แล้ว

    Looks good. Took a bit to install on my openSUSE 42.3 install but having installed the missing curses packages sorted that out. As for tools, the thing I've used would be Nagios Core which is good for monitoring systems around a network. Besides that and webmin which is more of a configuration tool, I can't really suggest much more.

  • @thetdg
    @thetdg 4 ปีที่แล้ว

    Wow!!! Wish I had known this earlier.

  • @prashantmishra5691
    @prashantmishra5691 6 ปีที่แล้ว

    you are awesome :)

  • @wafutet
    @wafutet 5 ปีที่แล้ว

    Nice one, hoping the developer of glances will include the temperature monitoring as well =)

  • @NueveCatorce
    @NueveCatorce 6 ปีที่แล้ว

    Nice.

  • @Flankymanga
    @Flankymanga 6 ปีที่แล้ว

    I will install it on my virtual to have some fun with it.

  • @duke0200
    @duke0200 6 ปีที่แล้ว +3

    When you got to interrupts I kinda realized that maybe I should take my Linux skill down from intermediate to beginner on my resume lol

  • @arcooke
    @arcooke 6 ปีที่แล้ว

    Insta-download, thanks for the tip!

  • @abinayaperumal2571
    @abinayaperumal2571 5 ปีที่แล้ว

    Thanks for this video.
    Please explain Linux booting with image file.

  • @luhomo
    @luhomo 5 ปีที่แล้ว +2

    👍 Glance vs atop, which are the best? Honestly ive used atop and with log output you can discover historical problems, so don't forget it might useful also for security forensics... Imagine sending output to ELK and analize patterns of processes? It has a lot of possibilities with imagination

  • @fuleo
    @fuleo 6 ปีที่แล้ว

    Cool. Is there a glances for multiple server ?

  • @danisimamovic8259
    @danisimamovic8259 4 ปีที่แล้ว

    Is there a way that I could simply install Glances on my local machine and use it to troubleshoot VMs in the cloud?? Rather than installing Glances on an EC2 which i'm trying to administer, could I leverage this tool while it's only installed locally?

  • @hasifkhan8197
    @hasifkhan8197 5 ปีที่แล้ว

    Can you make video What & How to solve the I/O wait problems.

  • @FinderX
    @FinderX 6 ปีที่แล้ว

    NICE.
    I installed and work perfectly. But my distro only install Glances 2.3 with PSutil 3.4.2, will be nice if you tell how you install the last version.

  • @latlov
    @latlov 6 ปีที่แล้ว

    With this tool can I ever find out why wp-admin.php (Wordpress login) is taking too long to load? I mean, the TTFB takes 1 or 2 minutes. I haven't been able to find out why neither in forums nor in Inspect Element tools. Server is Apache.

  • @TesserId
    @TesserId 3 ปีที่แล้ว +1

    Had to lookup the regex compatibility. It appears to be PCRE compatible (not documented, but no surprise, since it's Python based). Like other PCRE compatible tools I've encountered, the anchors for start and end of line are implied (^ and $), so you need the .*firefox.* syntax to get all firefox processes. To check for PCRE compatibility, I found that .*(?:pulseaudio|firefox).* works (which is neither ERE or BRE).

  • @planktonfun1
    @planktonfun1 6 ปีที่แล้ว

    you're running glances with htop, why though? the warning in the bottom is cool though

  • @zend112
    @zend112 6 ปีที่แล้ว

    Hi,
    Just wanted to ask what software you use to record the tutorials/demos?
    Other than that, nice tutorials, really appreciate them. Keep up the good work!

    • @tutoriaLinux
      @tutoriaLinux  6 ปีที่แล้ว

      Final Cut Pro X. It's a great tool; unfortunately it's mac only. A constantly growing list of stuff I use: tutorialinux.com/linux-everyday-carry-distro-editor-software-hardware-tools-use/

  • @TesserId
    @TesserId 3 ปีที่แล้ว +1

    I assume you aliased grep to include -i by default (9:33).

  • @reform1517
    @reform1517 6 ปีที่แล้ว

    FYI Glances hails back from the old Unix days. This isn't a new tool, but damn is it still great

    • @monday6740
      @monday6740 5 ปีที่แล้ว

      Like HP's glance ?

  • @jknock148
    @jknock148 6 ปีที่แล้ว +1

    NIFTY!

  • @ovalwingnut
    @ovalwingnut 3 ปีที่แล้ว

    I approved of this video

  • @averagejeffs
    @averagejeffs 6 ปีที่แล้ว

    Where can I find more information about your podcast?

    • @tutoriaLinux
      @tutoriaLinux  6 ปีที่แล้ว

      www.kernelpanicpodcast.com/episodes and www.reddit.com/r/KernelPanicPodcast/

  • @isseikun7124
    @isseikun7124 ปีที่แล้ว

    Attention please!!!
    Recently
    I have a problem that I #can’tBOOT after installing Zorin os and I made mistake that I installed as a single boot.And Linux os is different that I’ve }#expected. * It behaves differently than I think.
    Everything went wrong ……
    Please help me……..
    #Error can’t boot
    #instruction to reinstall
    #Single boot

  • @X.MillennialResponder.X
    @X.MillennialResponder.X 6 ปีที่แล้ว

    Nice tool but does it pull up strace or nest by child process ?

    • @tutoriaLinux
      @tutoriaLinux  6 ปีที่แล้ว

      Not sure if you can show child processes in a nested way. Try the docs and let us know here! Not sure what you mean about strace, you definitely don't wan't to automatically strace a process (it can slow down execution by like 100x). Probably misunderstanding you, though.

  • @bolducfrancis
    @bolducfrancis 6 ปีที่แล้ว

    Your "desktop environment" looks good. What is it?

    • @tutoriaLinux
      @tutoriaLinux  6 ปีที่แล้ว

      lightdm and i3 -- can't live without it. tutorialinux.com/linux-everyday-carry-distro-editor-software-hardware-tools-use/

  • @lego4virgo
    @lego4virgo 6 ปีที่แล้ว

    Does this run on CentOS?

    • @arcooke
      @arcooke 6 ปีที่แล้ว

      devops.profitbricks.com/tutorials/how-to-install-glances-system-monitoring-software-on-centos-7/

    • @lego4virgo
      @lego4virgo 6 ปีที่แล้ว

      Thanks!

  • @maxpolaris99
    @maxpolaris99 6 ปีที่แล้ว

    Hitting Enter does nothing on LinuxMint 17.3 64bit with Linux 3.19.0-32-generic

  • @edwardmacnab354
    @edwardmacnab354 2 ปีที่แล้ว

    huh ?