Linux Crash Course - The ps Command

preview_player
Показать описание
The ps command is useful for taking a look at the processes that are running on your Linux system. In this video, I'll show you the basics of the ps command, and some variations you can use to show the output in different ways.

*🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT*
Commemorate the largest outage in history with the latest addition to the LLTV merch shop.

*🎓 BRAND NEW UDEMY COURSES AVAILABLE!*
Check out my new courses on Udemy and learn something new!

*Support Linux Learning!*

_Note: Royalties and/or commission is earned from each of the above links_

*⏰ TIME CODES*
00:00 - Intro
00:45 - ps command (with no options)
03:57 - ps command argument types
06:16 - Viewing processes from all terminals
08:23 - Process relationship
11:40 - ps aux*🎓 FULL LINUX COURSES FROM LEARN LINUX TV*

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ DISCLAIMER*
Learn Linux TV provides 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). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#Linux #Tutorial #CLI
Рекомендации по теме
Комментарии
Автор

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!

derekgoodwine
Автор

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

antoniorobles
Автор

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.

MrEric
Автор

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

srsr
Автор

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.

Heck-edsr
Автор

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

bidzapfc
Автор

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?

Heck-edsr
Автор

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?

vamankumar
Автор

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

MrMackster
Автор

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

Raphael-qlpf
Автор

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

Mikesco
Автор

I wish I could do this with my brain!?

swinnburn
Автор

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

darren
Автор

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.

thomasblackwell
Автор

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

Jkauppa
Автор

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.

othernicksweretaken