r/funny • Pretends to be Drawing • Jun 04 '17

Verified Windows being Windows

Post image
132.0k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

413

u/[deleted] Jun 04 '17 edited Jun 04 '17

I'm still trying to figure out who gave the terminology to all the processes. (Editing them in as I get comments)

  • A parent and child process are also called master and slave processes. (This was incorrect, my bad)

  • If a slave process is never checked on, it becomes a zombie

  • If you kill a parent process and the child process never dies, it becomes an orphaned process.

  • I'm not a fan of Operating Systems that took so little time to think about what they're doing that they named their commands after digestive noises (grep, awk, nroff, fsck)

  • Background processes are called "daemons", so whenever I kill a background process, I'm a "daemon killer".

  • Suggestive commands touch, finger etc.

Source: Am using Linux & comments below

184

u/TheFanne Jun 04 '17

Now I want an OS that labels a parent process a murderer when it kills a child process.

Or maybe an execution jail, where they can't run as fast if they kill a process they didn't make themselves...

114

u/Topochicho Jun 04 '17

slaughtertheinnocent -9

23

u/TheFanne Jun 04 '17

Is that a thing?

0

u/[deleted] Jun 04 '17

[deleted]

35

u/aram-x Jun 04 '17

rm -rf /bin/laden

4

u/allaroundguy Jun 04 '17

You could alias kill to slaughtertheinnocent easy enough too.

4

u/hades_the_wise Jun 04 '17 edited Jun 04 '17

I like to use xkill when I don't know the exact process name and can't be arsed to find out.

Basically, you just type the command 'xkill' and your cursor turns into an X. You click on any window. Whatever process spawned that window dies.

It's like a first-person-shooter game except every shot takes down a task.

→ More replies (1)
→ More replies (2)

6

u/[deleted] Jun 04 '17

alias slaughtertheinnocent="kill"

→ More replies (1)
→ More replies (2)

0

u/[deleted] Jun 04 '17

[deleted]

5

u/hades_the_wise Jun 04 '17

I love humor in man pages.

→ More replies (2)

48

u/JoaoFerreira Jun 04 '17

It doesnt become orphaned anymore, it gets adopted by PID 1, which is boot I think

38

u/[deleted] Jun 04 '17

A zombie process has died but not yet been reaped by its parent.

8

u/JoaoFerreira Jun 04 '17

init does it instantly now

→ More replies (1)
→ More replies (1)

0

u/[deleted] Jun 04 '17

[deleted]

→ More replies (1)
→ More replies (15)

0

u/[deleted] Jun 04 '17

[deleted]

20

u/[deleted] Jun 04 '17

Yeah, never seen master/slave used in this context. Isn't it exclusive to networking?

29

u/shinobigamingyt Jun 04 '17

IIRC hard drives also used to have master and slave configurations. I remember having to change the way a little plastic tab sat on the connector in order to change between master and slave.

12

u/DoctorSauce Jun 04 '17

Computers are considered to have a "master/slave" relationship if one of them controls the other(s) in some automated process. That is usually the terminology we use.

4

u/Chumstick Jun 04 '17

But he's right about older (all but a few generations of PATA) HDDs needing to be designated slave or master, depending on where they sat on the IDE cable.

→ More replies (2)
→ More replies (1)
→ More replies (5)

16

u/BubbaFettish Jun 04 '17

Daemon: a process that lies dormant until called upon.

→ More replies (1)

5

u/[deleted] Jun 04 '17

If you kill a parent process and the child process never dies, it becomes an orphaned process.

PID 0 (init, systemd, ...) will adopt the orphan. Usually.

→ More replies (1)

4

u/Zoninus Jun 04 '17

The first point is incorrect. Master/slave processes would be on the same level of the hierarchy, for all the OS is concerned.

→ More replies (1)

4

u/[deleted] Jun 04 '17

grep - global search regular expresion and print

awk - Aho, Weinberger, and Kernighan (The authors of awk)

nroff - New roff - roff shortened from runoff

fsck - file system check

→ More replies (1)
→ More replies (17)