Demystifying the Top Command in Linux | Linux Crash Course Series

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Welcome to another episode of the "Linux Crash Course" series! In this installment, we delve into the top command in Linux. With hands-on examples, we'll demystify the top command, explaining its various options and parameters in a beginner-friendly manner. Learn how to monitor system resources, view running processes, and gain insights into system performance in real-time. By the end of this tutorial, you'll have a solid grasp of using the top command to optimize your Linux system. Subscribe now for more Linux Crash Course tutorials and empower yourself with Linux knowledge!
    Thanks to Akamai for sponsoring this episode!
    Check out their awesome cloud computing platform and set up your very own Linux server in the cloud with new account credit via the following URL:
    - learnlinux.link/akamai
    LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!
    🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT
    Commemorate the largest outage in history with the latest addition to the LLTV merch shop.
    Get yours here ➜ learnlinux.link/crash-shirt
    🎓 BRAND NEW UDEMY COURSES AVAILABLE!
    Check out my new courses on Udemy and learn something new!
    • Getting Started with Ansible ➜ learnlinux.link/ansible
    • LPI Linux Essentials Complete Workshop ➜ learnlinux.link/linux-essentials
    🐧 SUPPORT LINUX LEARNING!
    • Grab some Linux swag ➜ merch.learnlinux.tv
    • Become a Channel Member ➜ learnlinux.link/member
    • Become a Patron ➜ learnlinux.link/patron
    • 5% discount on LPI exam vouchers ➜ learnlinux.link/lpi-voucher
    • Check out my latest book ➜ ubuntuserverbook.com
    • Grab an awesome Pi-powered KVM ➜ learnlinux.link/tinypilot
    • Jay's Gear - Server, Computer and Video Production Stuff ➜ learnlinux.link/amazon
    Note: Royalties and/or commission is earned from each of the above links
    ⏰ TIME CODES
    00:00 - Intro
    00:54 - Set up your very own cloud Linux server with Akamai's Connected Cloud (Sponsor)
    02:13 - Basic usage of the top command
    03:14 - Understanding the various fields and statistics of the top command
    09:12 - What is a "Zombie" process in Linux?
    10:40 - Deciphering CPU usage within the top command
    15:14 - Understanding memory usage as shown within the top command
    16:25 - Viewing swap usage with the top command
    16:56 - Understanding the process table within the top command
    18:03 - Sorting the process table in top by CPU or Memory usage
    18:59 - Killing a process with the top command
    20:00 - Changing the update frequency of the top command
    20:49 - Within the top command, what should you focus on paying attention to?
    Full Courses from Learn Linux TV
    • Linux Crash Course series ➜ linux.video/cc
    • Learn how to exit use tmux ➜ linux.video/tmux
    • Learn how to use vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE Cluster Full Course ➜ linux.video/pve
    • Learn Ansible ➜ linux.video/ansible
    🌐 LEARN LINUX TV ON THE WEB
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    • Official Github Account ➜ github.com/LearnLinuxTV
    • Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
    • The Homelab Show Podcast ➜ thehomelab.show
    • Jay on Udemy ➜ www.udemy.com/user/jay-lacroix-3
    • Jay on Twitter ➜ x.com/JayTheLinuxGuy
    • Content Ethics ➜ www.learnlinux.tv/content-ethics
    • Request Assistance ➜ www.learnlinux.tv/request-ass...
    ⚠️ DISCLAIMER
    LearnLinuxTV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of the content and information that's being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.
    #CloudComputing #LinuxCommands #devopstraining
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @elielberra2867
    @elielberra2867 11 หลายเดือนก่อน

    Your Linux tutorials are amazing, super clear and useful! Thank you so much!

  • @12Q46HPRN
    @12Q46HPRN ปีที่แล้ว +1

    Great video, as always!
    Thank you for going into detail on the top command. While I've come to understand most of the data on the top screen, you helped explain more of the lesser-known (at least to me) sections of the screen.
    I also appreciate the top vs. htop statements at the end.
    Thank you, again.

  • @christianbmerges
    @christianbmerges 10 หลายเดือนก่อน +3

    Pressing 1 is also important to see how many cores are on wait.

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

    This was very helpful, thank you!

  • @mikes.9091
    @mikes.9091 4 หลายเดือนก่อน

    Thank you for this information - really appreciate the explanation. Picking up your book!

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

    well explained. thank you! more learning videos please!

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

    I liked how you worked the book in :)
    I learned a long time ago to write notes to my future self. Though I can't imagine how much work it would take to make them into a book that would help anyone else

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

    Great video, Thanks Jay!

  • @Alex-rh4yt
    @Alex-rh4yt ปีที่แล้ว

    Wow! That is soo interesting. Thank you!

  • @sussusamogus7831
    @sussusamogus7831 10 หลายเดือนก่อน

    great explanation jay

  • @liamray2010
    @liamray2010 2 หลายเดือนก่อน

    Thank you!

  • @ahmedghallab5342
    @ahmedghallab5342 3 หลายเดือนก่อน

    شكرا Thanks it was very helpful

  • @mason8714
    @mason8714 5 หลายเดือนก่อน

    great video as always - can i just ask as i may have missed it but what does the S stand ford in-between SHR & %CPU just checked my top and it all lists S apart from i think i say an I there aswell.

  • @spelz1751
    @spelz1751 9 หลายเดือนก่อน

    The matrix back drop is cool.

  • @mihai6564
    @mihai6564 10 หลายเดือนก่อน

    good video

  • @dubareddy383
    @dubareddy383 9 หลายเดือนก่อน

    I want to know, how to build custom ubuntu server image, so that I have some package installed and customization done. Like how we download ISO from Ubuntu. Thank you

  • @macsoyyo
    @macsoyyo 4 หลายเดือนก่อน

    You missed the S column 😢 nice video ! Good job

  • @princeardalan
    @princeardalan 6 หลายเดือนก่อน

    What is the unit for the memory numbers listed? Are they in Bytes? Mega Bytes?

  • @abkmf
    @abkmf 7 หลายเดือนก่อน

    4:47
    I have 3 users logged in, although:
    1) I'm the only one who owns and uses the laptop.
    2) I have one user on Linux.
    There's a reason. I signed in to tty1, tty2, and tty3. Should I sign in to tty5, then the number of users increases from 3 to...

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

    Also on macos. If u ever end up with the unenviable task of troubleshooting a MacBook ❤

  • @nickpark5050
    @nickpark5050 10 หลายเดือนก่อน

    avail is not related to virtual memory at all. It reflects the amount of available physical memory which equals to the sum of the amount of free memory which labelled as free + the amount of memory being used for cache and buffering which labelled as buff/cache.

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

    I used to use top, now htop... f10 to quit (years later, still haven't gotten used to that)

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

      you can quit with q from htop

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

      @@ttom3923 and oddly, I've never even considered it! thank you!

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

    I will mention that btop is the better graphical top if anyone wants something that looks good.

  • @thomasowusu-cl9wv
    @thomasowusu-cl9wv 6 หลายเดือนก่อน

    can you kill a zombie process

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

    Hola. Random rant; after my last update my MX Linux suddenly does not recognize the soundcard on my HP EliteBook 840 G7 Notebook PC, and the MX forums are crap, to say the least. Why did this happen? I'm not tech svy enough to mess with the terminal, kernel, cookbook, codes, whatever; I just want my laptop to have sound again. How does one fix this, or what can I read to help me (or the person I'm going to take my laptop to, our local HP HQ)?

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

    So... linode is gone

  • @marknakasone85
    @marknakasone85 7 หลายเดือนก่อน

    $htop | $nvtop | $iftop |$neofetch #can help in special cases.