Linux Crash Course - The ps Command

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 36

  • @derekgoodwine7509
    @derekgoodwine7509 3 года назад +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 3 года назад +2

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

    • @SupraRyu
      @SupraRyu 3 года назад +5

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

    • @w0nnafight
      @w0nnafight Год назад

      @@SupraRyu your mom does

    • @shallex5744
      @shallex5744 7 месяцев назад

      @@SupraRyu sometimes

  • @antoniorobles998
    @antoniorobles998 3 года назад +10

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

  • @MrEric377
    @MrEric377 3 года назад +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.

  • @Heck-ed6sr
    @Heck-ed6sr 2 года назад +7

    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.

  • @srsr6099
    @srsr6099 3 года назад +1

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

  • @DL-xf3ur
    @DL-xf3ur 2 года назад +1

    Thank you as always Jay! Just great.

  • @bidzapfc
    @bidzapfc 3 года назад +5

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

    • @BDBD16
      @BDBD16 3 года назад

      YOU BETTER AX DAT PID!

    • @ped7g
      @ped7g 3 года назад +1

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

  • @mihai6564
    @mihai6564 Месяц назад

    thank you for the video

  • @Raphael-ql9pf
    @Raphael-ql9pf 2 года назад

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

  • @thomasblackwell9507
    @thomasblackwell9507 10 месяцев назад

    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.

  • @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?

  • @gracienlebel4824
    @gracienlebel4824 Год назад

    Awesome tutorial, thanks

  • @vamankumar8557
    @vamankumar8557 3 года назад

    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 3 года назад

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

  • @Mikesco3
    @Mikesco3 3 года назад

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

  • @darren537
    @darren537 3 года назад

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

    • @lightbearer972
      @lightbearer972 3 года назад +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 3 года назад +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 3 года назад

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

    • @Jkauppa
      @Jkauppa 3 года назад

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

  • @Ranblv
    @Ranblv 3 года назад

    great job

  • @hestiahelios7431
    @hestiahelios7431 3 года назад

    TTY = Typewriter

  • @swinnburn
    @swinnburn 3 года назад

    I wish I could do this with my brain!?

  • @pilotashish
    @pilotashish 3 года назад

    👋 hello

  • @darthnihiluz5305
    @darthnihiluz5305 3 года назад

    ps -ef

  • @rohitrajkumar2706
    @rohitrajkumar2706 Год назад

    dude, are you a hacker?

  • @othernicksweretaken
    @othernicksweretaken 3 года назад

    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.