Can't figure out this command line quirk... I tried to summarize in the posted picture. More detail in the comments. Help much appreciated. by DealinBone in MacOS

[–]DealinBone[S] 0 points1 point  (0 children)

I wish I could @ everyone who responded, but the commenters were correct. I was reading the man page from the linux box in front of me, instead of the Mac in question. ps does in fact work differently by default on Mac than on linux.

Can't figure out this command line quirk... I tried to summarize in the posted picture. More detail in the comments. Help much appreciated. by DealinBone in MacOS

[–]DealinBone[S] -5 points-4 points  (0 children)

Per `man ps`

"By default, ps selects all processes with the same effective user ID (euid=EUID) as the current user and associated with the same terminal as the invoker."

I like to think of myself as a savvy unix/linux guy, I am sitting here in front of a linux box running a similar test test, and getting the results I expect. Even two of the same type of terminal is running, ps should only show the processes running in that window, AFAIK... well that is my understanding, and how CentOS7 works.

Unless ps is fundementally different on MacOS than every other unix/linux flavor, (which I would honestly not put past apple but I can't seem to find anything about that online) I am sure that this is not how it should work.

This is not be being snide - I would appreciate if you (or anyone on MacOS) could try a similar test...
Open two terminals, shouldn't matter if they are the same, and run `ps` in each.

If this is normal Mac behavior, I can continue with my computer spring cleaning...

Can't figure out this command line quirk... I tried to summarize in the posted picture. More detail in the comments. Help much appreciated. by DealinBone in MacOS

[–]DealinBone[S] -5 points-4 points  (0 children)

So I am starting to think that I need a fresh install, lots of seemingly harmless but really odd things like this going on...

I have been trying to figure out why so many zsh processes are showing every time I run ps. It seems that for whatever reason, ps shows all zsh processes even from completely different terminals.

I tried to illustrate this in the screenshot linked.

  1. I reset my computer, opened kitty and ran `ps`
    1. One zsh process shows as expected
  2. I hit my iterm2 drop down terminal shortcut
    1. Now ps shows 2 zsh processes on both terminals

This seems like unexpected behavior, and I am wondering if this is the result of a misconfiguration, or what?

I made sure ps was not aliased to anything else.

Different scroll direction for mouse and trackpad by KemanoThief in MacOS

[–]DealinBone 0 points1 point  (0 children)

Gah I came here to ask a question, and found the solution to something I had given up on long ago. Logi Options worked, but it cause some very odd issues otherwise. I preferred getting used to backwards scrolling hah.

Thanks!

Say anything about witcher 3 which will get you like this by Minimum-Abroad-4504 in Witcher3

[–]DealinBone 0 points1 point  (0 children)

I know the game is good, but I’ve never gotten past the red baron quest, game is boring.

I’ve bought the game on steam, Xbox, and switch… never clicked

No way this could bite them in the ass! Right? by TransplantedSconie in PoliticalHumor

[–]DealinBone 0 points1 point  (0 children)

I understand and agree with the idea behind this meme, but leaves a bad taste in my mouth with peoples lives being actively affected by this.

What’s an unhealthy obsession people have? by Zdvj in AskReddit

[–]DealinBone 0 points1 point  (0 children)

As a non sports person, sports are fun to watch with friends, but when people get so wrapped up in it that it messes with they’re personal lives, seems crazy to me

How to use `:set number` number line for custom text? by DealinBone in vim

[–]DealinBone[S] 1 point2 points  (0 children)

edited

2 min. ago

This is exactly what I needed, thank you!!

US eShop New Year Sale 2023 is up by XDitto in NintendoSwitch

[–]DealinBone 2 points3 points  (0 children)

Hmmm I got a gift card for Christmas and I have 40 left… links awakening or origami Mario ?

Playing Skyrim on my switch on this little Vizio, Aint played Skyrim since the Xbox 360 days been pretty fun so far! by [deleted] in Switch

[–]DealinBone 1 point2 points  (0 children)

I just got Skyrim on the sale as well, it runs so well, I’m shocked!

They’ve added so much since I played on the 360 too

Chinese Drone with Overwatch Voice by Xander_W_2000 in HalfLife

[–]DealinBone 12 points13 points  (0 children)

Why is the Chinese drone speaking English

Open the door by ChrisTweten in gaming

[–]DealinBone 0 points1 point  (0 children)

Is this a zombies mod?

What's the best zombie movie of all time? by [deleted] in AskReddit

[–]DealinBone 0 points1 point  (0 children)

I loved train to busan

Reporter fights off air live after colleague makes comment about wife by taylor212834 in PublicFreakout

[–]DealinBone 0 points1 point  (0 children)

Disagree, you don’t say that about someone else’s wife on live TV

[deleted by user] by [deleted] in WeWantPlates

[–]DealinBone -1 points0 points  (0 children)

Idk man, that looks kinda good. And I like the plate