Linux Crash Course - The ps Command

แชร์
ฝัง

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

  • @Heck-ed6sr
    @Heck-ed6sr 2 ปีที่แล้ว +6

    Hey Jay, noticed @7:31 you mentioned a capital S means the process is in uninterruptible sleep. Did you mean interruptible sleep instead? The man page tells me 'S' is for interruptible sleep and 'D' is for uninterruptible sleep.

  • @antoniorobles998
    @antoniorobles998 2 ปีที่แล้ว +10

    Hi! You are the only youtuber that have my likes even before watch the contents!. Many thanks for your videos. Keep on.

  • @derekgoodwine7509
    @derekgoodwine7509 2 ปีที่แล้ว +24

    I really wish you wrote a free PDF book with all this explanation for beginner to intermediate level. Believe me I read several books about Linux. Nothing gets even closer to your clarity, simplicity, and in-deep explanation you give to your subscribers. I am really loyal followers of you and I glad your channel crossed my Linux Journey a long time ago! Sir you are great!

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

      Do your very best to buy Jay's book - I did and it's fantastic 👌

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

      work for free?… Do you work for free?…

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

      @@SupraRyu your mom does

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

      @@SupraRyu sometimes

  • @MrEric377
    @MrEric377 2 ปีที่แล้ว +12

    Thank you so much for that. Now I have a better understanding of the ps command I never did before. One thing you left me wanting though was to sort by CPU and Mem so I looked it up.
    ps aux --sort pcpu
    or
    ps aux --sort pmem
    sort by percent CPU or sort by percent memory.
    Again thank you for making the linux experience more enjoyable.

  • @DL-xf3ur
    @DL-xf3ur 2 ปีที่แล้ว +1

    Thank you as always Jay! Just great.

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

    One of the first commands I learned are ps ax | grep *processname* and then I could tap kill -9 PID

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

      YOU BETTER AX DAT PID!

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

      unix essential #1 (also the regular way how to exit vi, at least until you decide to learn how to use vi)

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

    Awesome Jay, ps makes a prerequisite to top, I guess

  • @Raphael-ql9pf
    @Raphael-ql9pf ปีที่แล้ว

    What's the difference ps and ps fx? Processes Inside outside terminal

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

    Sorry to bother you, but I noticed that you changed the font size while you were using it. What is the command that you are using to do that? Thank you.

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

      you can change it in gnome-terminal settings or use Ctrl + Shift + =

  • @Heck-ed6sr
    @Heck-ed6sr 2 ปีที่แล้ว

    Can someone help to explain why I get the same result when running 'ps aux' and 'ps -aux'? Doesn't the options mean different things when written in Linux and BSD style?

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

    Hi Jay...I have one question from my side. When the tty shows as "?" ...what would that tell us. Is the process not running at that time?

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

    When I first saw ‘TTY’ in Linux, I thought it was short for TTYL ‘talk to you later ‘ 😂🤨

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

    I would have just mentioned stop on the outro just as a bonus

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

    Awesome tutorial, thanks

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

    I wish I could do this with my brain!?

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

    What do you you guys learn Linux for? Is there a point if your not a programmer or IT networking Tech

    • @lightbearer972
      @lightbearer972 2 ปีที่แล้ว +3

      @Darren Many Linux users prefer not being beholden to a big tech company like Microsoft or Apple, or enjoy the prospect of being able to have more control over the applications and OS they use and to have a say in how that software is developed. Open source is by its nature a necessarily more transparent and collaborative effort than proprietary offerings. If Apple, for example, changes MacOS in some way that renders a third-party app suddenly useless, the creator of that app not only has to deal with the decisions and alterations Apple made, but also probably had no warning those changes were coming, much less a say in the matter. By definition, such a thing couldn't and wouldn't happen in the open source world. And even if it did, users who didn't like the changes could modify the OS code to get rid of them. Linux allows users to have control over how they use their computers, in short, a phenomenon which many would say has steadily eroded away from more common platforms like Windows, and which arguably has never been a priority for Apple and its Macs. In fact, it's been well documented that Steve Jobs wanted Apple products to be as locked down and non-expandable as possible, and that Steve Wozniak, Jobs' former business partner, left the company in large part because he disagreed and wanted users to be able to tinker with their hardware.

    • @glyakk
      @glyakk 2 ปีที่แล้ว +3

      Some people just enjoy tinkering. Most people who buy a device will only use it as the manufacture intended, and there are others who want to take it apart or change things around and modify their device to their liking.

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

    does not give gpu usage, nor does system monitor, or top

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

      dont claim a system is turing complete it it lacks easy functionality

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

    ps -ef

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

    great job

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

    👋 hello

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

    TTY = Typewriter

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

    dude, are you a hacker?

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

    Why is BSD style still so popular?
    Because it saves you hitting one dash key?
    There are only few Unix commands where you can avoid the dash.
    E.g. tar, like in
    gzip -dc tarball.tgz | (cd /path/to/untar/target && tar xvf -)
    This used to be the way to untar to different directory on Unices before the advent of GNU tar with its -C option.
    Another dashless options command that comes to mind is the convert and copy command dd.
    Although I'm old enough to have known BSD style I never could get used to it and quickly adopted POSIX style with the single dashes and later on GNU style with the double dashes for long opts.