Browse Source

zombie cast

master
zeus 4 years ago
parent
commit
fe26e1bda3
  1. 213
      Linux-process-management/createzombie.cast
  2. 10
      Linux-process-management/index.js

213
Linux-process-management/createzombie.cast

@ -0,0 +1,213 @@
{"version": 2, "width": 203, "height": 49, "timestamp": 1614089524, "env": {"SHELL": "/bin/bash", "TERM": "xterm"}}
[0.043249, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[6.559051, "o", "v"]
[6.690378, "o", "i"]
[7.18108, "o", "m"]
[8.221878, "o", " "]
[10.017969, "o", "c"]
[10.286948, "o", "r"]
[10.448401, "o", "e"]
[10.696005, "o", "a"]
[10.977832, "o", "t"]
[11.23778, "o", "e"]
[12.554988, "o", "-"]
[13.374164, "o", "z"]
[13.575051, "o", "o"]
[13.8329, "o", "m"]
[15.647928, "o", "b"]
[16.719082, "o", "i"]
[16.909741, "o", "e"]
[17.523352, "o", "."]
[17.910863, "o", "c"]
[18.650684, "o", "\r\n"]
[18.699479, "o", "\u001b[?2004h\u001b[?1049h\u001b[22;0;0t\u001b[?1h\u001b=\u001b[?2004h"]
[18.700048, "o", "\u001b[1;49r\u001b[?12h\u001b[?12l\u001b[27m\u001b[23m\u001b[29m\u001b[m\u001b[H\u001b[2J\u001b[?25l\u001b[49;1H\"create-zombie.c\" [New File]"]
[18.704664, "o", "\u001b[2;1H▽\u001b[6n\u001b[2;1H \u001b[1;1H\u001b[>c\u001b]10;?\u0007\u001b]11;?\u0007"]
[18.705118, "o", "\u001b[2;1H\u001b[1m\u001b[34m~ \u001b[3;1H~ \u001b[4;1H~ \u001b[5;1H~ \u001b[6;1H~ "]
[18.705241, "o", " \u001b[7;1H~ \u001b[8;1H~ \u001b[9;1H~ \u001b[10;1H~ \u001b[11;1H~ "]
[18.705319, "o", " \u001b[12;1H~ \u001b[13;1H~ \u001b[14;1H~ \u001b[15;1H~ \u001b[16;1H~ "]
[18.705573, "o", " \u001b[17;1H~ \u001b[18;1H~ \u001b[19;1H~ \u001b[20;1H~ \u001b[21;1H~ "]
[18.705682, "o", " \u001b[22;1H~ \u001b[23;1H~ \u001b[24;1H~ \u001b[25;1H~ \u001b[26;1H~ "]
[18.70576, "o", " \u001b[27;1H~ \u001b[28;1H~ \u001b[29;1H~ \u001b[30;1H~ \u001b[31;1H~ "]
[18.705865, "o", " \u001b[32;1H~ \u001b[33;1H~ \u001b[34;1H~ \u001b[35;1H~ \u001b[36;1H~ "]
[18.705955, "o", " \u001b[37;1H~ \u001b[38;1H~ \u001b[39;1H~ \u001b[40;1H~ \u001b"]
[18.706037, "o", "[41;1H~ \u001b[42;1H~ \u001b[43;1H~ \u001b[44;1H~ \u001b[45;1H~ "]
[18.706104, "o", " \u001b[46;1H~ \u001b[47;1H~ \u001b[48;1H~ \u001b[m\u001b[49;186H0,0-1\u001b[9CAll\u001b[1;1H\u001b[?25h"]
[18.707775, "o", "\u001bP+q436f\u001b\\\u001bP+q6b75\u001b\\\u001bP+q6b64\u001b\\\u001bP+q6b72\u001b\\\u001bP+q6b6c\u001b\\\u001bP+q2332\u001b\\\u001bP+q2334\u001b\\\u001bP+q2569\u001b\\\u001bP+q2a37\u001b\\\u001bP+q6b31\u001b\\"]
[20.008014, "o", "\u001b[?25l\u001b[49;1H\u001b[1m-- INSERT --\u001b[m\u001b[49;13H\u001b[K\u001b[49;186H0,1\u001b[11CAll\u001b[1;1H\u001b[?25h"]
[21.170614, "o", "\u001b[?25l\u001b[35m#include \u001b[m\u001b[31m<stdio.h>\u001b[m\r\n\u001b[35m#include \u001b[m\u001b[31m<stdlib.h>\u001b[m\u001b[2;20H\u001b[K\u001b[3;1H\u001b[35m#include \u001b[m\u001b[31m<unistd.h>\u001b[m\u001b[3;20H\u001b[K\u001b[4;1H#inclu\u001b[4;7H\u001b[K\u001b[4;7H\u001b[?25h"]
[21.171773, "o", "\u001b[?25l\r\u001b[35m#include \u001b[m\u001b[31m<sys/types.h>\u001b[m\r\n\u001b[35m#include \u001b[m\u001b[31m<sys/wait.h>\u001b[m\u001b[5;22H\u001b[K\u001b[6;1H\u001b[K\u001b[7;1H\u001b[32mint\u001b[m main(\u001b[32mvoid\u001b[m)\u001b[7;15H\u001b[K\u001b[8;1H{\u001b[8;2H\u001b[K\u001b[9;1H pid_t p\u001b[9;12H\u001b[K\u001b[9;12H\u001b[?25h"]
[21.175482, "o", "\u001b[?25lid;\r\n \u001b[32mint\u001b[m status;\u001b[10;16H\u001b[K\u001b[11;1H\u001b[K\u001b[12;1H \u001b[33mif\u001b[m ((pid = fork()) < \u001b[31m0\u001b[m) {\u001b[12;30H\u001b[K\u001b[13;1H perror(\u001b[13;16H\u001b[K\u001b[13;16H\u001b[?25h"]
[21.176656, "o", "\u001b[?25l\u001b[31m\"\u001b[m\u001b[4m\u001b[31mfork\u001b[m\u001b[31m\"\u001b[m);\r\n exit(\u001b[31m1\u001b[m);\u001b[14;17H\u001b[K\u001b[15;1H }\u001b[15;6H\u001b[K\u001b[16;1H\u001b[K\u001b[17;1H \u001b[34m/* \u001b[m\u001b[4m\u001b[34mChild\u001b[m\u001b[34m */\u001b[m\u001b[17;16H\u001b[K\u001b[18;1H \u001b[33mif\u001b[m (pid == \u001b[31m0\u001b[m\u001b[18;17H\u001b[K\u001b[18;17H\u001b[?25h"]
[21.1777, "o", "\u001b[?25l)\r\n exit(\u001b[31m0\u001b[m);\u001b[19;17H\u001b[K\u001b[20;1H\u001b[K\u001b[21;1H \u001b[34m/* \u001b[m\u001b[4m\u001b[34mParent\u001b[m\u001b[21;14H\u001b[K\u001b[22;1H\u001b[34m * \u001b[m\u001b[4m\u001b[34mGives\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34myou\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mtime\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mto\u001b[m\u001b[34m observ\u001b[m\u001b[22;32H\u001b[K\u001b[22;32H\u001b[?25h"]
[21.178619, "o", "\u001b[?25l\b\b\b\b\b\b\u001b[4m\u001b[34mobserve\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mthe\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mzombie\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34musing\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mps\u001b[m\u001b[34m(1) ... */\u001b[m\r\n sleep(\u001b[31m100\u001b[m);\u001b[23;16H\u001b[K\u001b[24;1H\u001b[K\u001b[25;1H \u001b[34m/* ... \u001b[m\u001b[4m\u001b[34mand\u001b[m\u001b[34m \u001b[m\u001b[25;16H\u001b[K\u001b[25;16H\u001b[?25h"]
[21.180396, "o", "\u001b[?25l\u001b[4m\u001b[34mafter\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mthat\u001b[m\u001b[34m, \u001b[m\u001b[4m\u001b[34mparent\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mwait\u001b[m\u001b[34m(2)\u001b[m\u001b[4m\u001b[34ms\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mits\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mchild\u001b[m\u001b[34m'\u001b[m\u001b[4m\u001b[34ms\u001b[m\r\n\u001b[34m * \u001b[m\u001b[4m\u001b[34mexit\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mstatus\u001b[m\u001b[34m, \u001b[m\u001b[4m\u001b[34mand\u001b[m\u001b[34m \u001b[m\u001b[26;25H\u001b[K\u001b[26;25H\u001b[?25h"]
[21.181102, "o", "\u001b[?25l\u001b[4m\u001b[34mprints\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34ma\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mrelevant\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mmessage\u001b[m\u001b[34m. */\u001b[m\r\n pid = wait(&status);\u001b[27;25H\u001b[K\u001b[28;1H \u001b[33mif\u001b[m (\u001b[28;9H\u001b[K\u001b[28;9H\u001b[?25h"]
[21.182141, "o", "\u001b[?25lWIFEXITED(status))\r\n fprintf(\u001b[31mstderr\u001b[m, \u001b[31m\"\u001b[m\u001b[35m\\n\\t\u001b[m\u001b[31m[\u001b[m\u001b[35m%d\u001b[m\u001b[31m]\u001b[m\u001b[35m\\t\u001b[m\u001b[4m\u001b[31mProcess\u001b[m\u001b[31m %\u001b[m\u001b[29;45H\u001b[K\u001b[29;45H\u001b[?25h"]
[21.183585, "o", "\u001b[?25l\b\u001b[35m%d\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mexited\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mwith\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mstatus\u001b[m\u001b[31m \u001b[m\u001b[35m%d\u001b[m\u001b[31m.\u001b[m\u001b[35m\\n\u001b[m\u001b[31m\"\u001b[m,\r\n (\u001b[32mint\u001b[m) getpid(), pi\u001b[30;35H\u001b[K\u001b[30;35H\u001b[?25h"]
[21.184268, "o", "\u001b[?25ld, WEXITSTATUS(status));\u001b[31;1H\u001b[K\u001b[32;1H \u001b[33mreturn\u001b[m \u001b[31m0\u001b[m;\u001b[32;14H\u001b[K\u001b[33;1H}\u001b[33;2H\u001b[K\u001b[34;1H\u001b[K\u001b[49;186H34,1\u001b[34;1H\u001b[?25h"]
[22.774769, "o", "\u001b[?25l\u001b[8;1H\u001b[46m{\u001b[33;1H}\u001b[m\u001b[49;187H3\u001b[33;1H\u001b[?25h"]
[23.271286, "o", "\u001b[?25l\u001b[8;1H{\u001b[33;1H}\u001b[49;187H2\u001b[32;1H\u001b[?25h"]
[23.299761, "o", "\u001b[?25l\u001b[49;187H1\u001b[31;1H\u001b[?25h"]
[23.336851, "o", "\u001b[?25l\u001b[49;187H0\u001b[30;1H\u001b[?25h"]
[23.371344, "o", "\u001b[?25l\u001b[49;186H29\u001b[29;1H\u001b[?25h"]
[23.406988, "o", "\u001b[?25l\u001b[49;187H8\u001b[28;1H\u001b[?25h"]
[23.440576, "o", "\u001b[?25l\u001b[49;187H7\u001b[27;1H\u001b[?25h"]
[23.473722, "o", "\u001b[?25l\u001b[49;187H6\u001b[26;1H\u001b[?25h"]
[23.508834, "o", "\u001b[?25l\u001b[49;187H5\u001b[25;1H\u001b[?25h"]
[23.544459, "o", "\u001b[?25l\u001b[49;187H4\u001b[24;1H\u001b[?25h"]
[23.580383, "o", "\u001b[?25l\u001b[49;187H3\u001b[23;1H\u001b[?25h"]
[23.615012, "o", "\u001b[?25l\u001b[49;187H2\u001b[22;1H\u001b[?25h"]
[23.648652, "o", "\u001b[?25l\u001b[49;187H1\u001b[21;1H\u001b[?25h"]
[23.681797, "o", "\u001b[?25l\u001b[49;187H0\u001b[20;1H\u001b[?25h"]
[23.716048, "o", "\u001b[?25l\u001b[49;186H19\u001b[19;1H\u001b[?25h"]
[23.752015, "o", "\u001b[?25l\u001b[49;187H8\u001b[18;1H\u001b[?25h"]
[23.787638, "o", "\u001b[?25l\u001b[49;187H7\u001b[17;1H\u001b[?25h"]
[23.82286, "o", "\u001b[?25l\u001b[49;187H6\u001b[16;1H\u001b[?25h"]
[23.857136, "o", "\u001b[?25l\u001b[49;187H5\u001b[15;1H\u001b[?25h"]
[23.893753, "o", "\u001b[?25l\u001b[49;187H4\u001b[14;1H\u001b[?25h"]
[23.928765, "o", "\u001b[?25l\u001b[49;187H3\u001b[13;1H\u001b[?25h"]
[23.96196, "o", "\u001b[?25l\u001b[49;187H2\u001b[12;1H\u001b[?25h"]
[23.997341, "o", "\u001b[?25l\u001b[49;187H1\u001b[11;1H\u001b[?25h"]
[24.030887, "o", "\u001b[?25l\u001b[49;187H0\u001b[10;1H\u001b[?25h"]
[24.064298, "o", "\u001b[?25l\u001b[49;186H9,1 \u001b[9;1H\u001b[?25h"]
[24.1027, "o", "\u001b[?25l\u001b[8;1H\u001b[46m{\u001b[33;1H}\u001b[m\u001b[49;186H8\u001b[8;1H\u001b[?25h"]
[24.136135, "o", "\u001b[?25l{\u001b[33;1H}\u001b[49;186H7\u001b[7;1H\u001b[?25h"]
[24.163539, "o", "\u001b[?25l\u001b[49;186H6\u001b[6;1H\u001b[?25h"]
[24.203178, "o", "\u001b[?25l\u001b[49;186H5\u001b[5;1H\u001b[?25h"]
[24.236041, "o", "\u001b[?25l\u001b[49;186H4\u001b[4;1H\u001b[?25h"]
[24.269103, "o", "\u001b[?25l\u001b[49;186H3\u001b[3;1H\u001b[?25h"]
[24.302622, "o", "\u001b[?25l\u001b[49;186H2\u001b[2;1H\u001b[?25h"]
[24.335216, "o", "\u001b[?25l\u001b[49;186H1\u001b[1;1H\u001b[?25h"]
[24.37039, "o", "\u0007"]
[25.20821, "o", "\u001b[?25l\u001b[49;186H2\u001b[2;1H\u001b[?25h"]
[25.41028, "o", "\u001b[?25l\u001b[49;186H3\u001b[3;1H\u001b[?25h"]
[25.779001, "o", "\u001b[?25l\u001b[49;186H4\u001b[4;1H\u001b[?25h"]
[26.040703, "o", "\u001b[?25l\u001b[49;186H5\u001b[5;1H\u001b[?25h"]
[26.219077, "o", "\u001b[?25l\u001b[49;186H6\u001b[6;1H\u001b[?25h"]
[26.440503, "o", "\u001b[?25l\u001b[49;186H7\u001b[7;1H\u001b[?25h"]
[26.628734, "o", "\u001b[?25l\r\n\u001b[46m{\u001b[33;1H}\u001b[m\u001b[49;186H8\u001b[8;1H\u001b[?25h"]
[26.813223, "o", "\u001b[?25l{\u001b[33;1H}\u001b[49;186H9\u001b[9;1H\u001b[?25h"]
[27.000162, "o", "\u001b[?25l\u001b[49;186H10,1\u001b[10;1H\u001b[?25h"]
[27.181635, "o", "\u001b[?25l\u001b[49;187H1\u001b[11;1H\u001b[?25h"]
[27.370929, "o", "\u001b[?25l\u001b[49;187H2\u001b[12;1H\u001b[?25h"]
[27.512218, "o", "\u001b[?25l\u001b[49;187H3\u001b[13;1H\u001b[?25h"]
[29.897277, "o", "\u001b[?25l\u001b[49;189H2\u001b[13;2H\u001b[?25h"]
[30.148757, "o", "\u001b[?25l\u001b[49;189H3\u001b[13;3H\u001b[?25h"]
[30.336993, "o", "\u001b[?25l\u001b[49;189H4\u001b[13;4H\u001b[?25h"]
[30.528387, "o", "\u001b[?25l\u001b[49;189H5\u001b[13;5H\u001b[?25h"]
[30.735919, "o", "\u001b[?25l\u001b[49;189H6\u001b[13;6H\u001b[?25h"]
[30.927449, "o", "\u001b[?25l\u001b[49;189H7\u001b[13;7H\u001b[?25h"]
[31.078447, "o", "\u001b[?25l\u001b[49;189H8\u001b[13;8H\u001b[?25h"]
[31.639572, "o", "\u001b[?25l\u001b[49;189H9\u001b[13;9H\u001b[?25h"]
[32.099444, "o", "\u001b[?25l\u001b[49;187H4\u001b[14;9H\u001b[?25h"]
[32.460289, "o", "\u001b[?25l\u001b[12;29H\u001b[46m{\u001b[15;5H}\u001b[m\u001b[49;187H5,6\u001b[15;6H\u001b[?25h"]
[32.767508, "o", "\u001b[?25l\u001b[12;29H{\u001b[15;5H}\u001b[49;187H6,1\u001b[16;1H\u001b[?25h"]
[33.128818, "o", "\u001b[?25l\u001b[49;187H7,9\u001b[17;9H\u001b[?25h"]
[33.469965, "o", "\u001b[?25l\u001b[18;8H\u001b[46m(\u001b[8C)\u001b[m\u001b[49;187H8\u001b[18;9H\u001b[?25h"]
[33.857737, "o", "\u001b[?25l\b(\u001b[8C)\u001b[49;187H9\u001b[19;9H\u001b[?25h"]
[34.179284, "o", "\u001b[?25l\u001b[49;189H10\u001b[19;10H\u001b[?25h"]
[35.360671, "o", "\u001b[?25l*xit(\u001b[31m0\u001b[m);\u001b[49;190H1\u001b[19;11H\u001b[?25h"]
[36.567968, "o", "\u001b[?25l\bxit(\u001b[31m0\u001b[m);\u001b[19;17H\u001b[K\u001b[49;190H0\u001b[19;10H\u001b[?25h"]
[36.907635, "o", "\u001b[49;1H\u001b[K\u001b[19;9H"]
[37.908816, "o", "\u001b[?25l"]
[37.909419, "o", "\u001b[49;186H19,9\u001b[10CAll\u001b[19;9H\u001b[?25h"]
[38.023485, "o", "\u001b[?25l\u001b[49;1H/\\<exit\\>\u001b[49;186H\u001b[K\u001b[49;1H"]
[38.029284, "o", "\u001b[14;9H\u001b[30m\u001b[43mexit\u001b[19;9Hexit\u001b[m\u001b[26;8H\u001b[4m\u001b[30m\u001b[43mexit\u001b[m\u001b[49;186H26,8\u001b[10CAll\u001b[26;8H\u001b[?25h"]
[38.884826, "o", "\u001b[?25l\u001b[49;187H5\u001b[25;8H\u001b[?25h"]
[39.135989, "o", "\u001b[?25l\u001b[49;187H4,0-1\u001b[24;1H\u001b[?25h"]
[39.636685, "o", "\u001b[?25l\u001b[49;187H3,8 \u001b[23;8H\u001b[?25h"]
[39.671102, "o", "\u001b[?25l\u001b[49;187H2\u001b[22;8H\u001b[?25h"]
[39.704537, "o", "\u001b[?25l\u001b[49;187H1\u001b[21;8H\u001b[?25h"]
[40.009285, "o", "\u001b[?25l\u001b[49;187H0,0-1\u001b[20;1H\u001b[?25h"]
[40.287406, "o", "\u001b[?25l\u001b[49;186H19,8 \u001b[19;8H\u001b[?25h"]
[41.498934, "o", "\u001b[?25l\u001b[49;186H20,0-1\u001b[20;1H\u001b[?25h"]
[41.817666, "o", "\u001b[?25l\u001b[49;187H1,8 \u001b[21;8H\u001b[?25h"]
[42.160376, "o", "\u001b[?25l\u001b[49;187H2\u001b[22;8H\u001b[?25h"]
[47.221151, "o", "\u001b[?25l\u001b[49;187H3\u001b[23;8H\u001b[?25h"]
[47.571485, "o", "\u001b[?25l\u001b[49;187H4,0-1\u001b[24;1H\u001b[?25h"]
[47.89063, "o", "\u001b[?25l\u001b[49;187H5,8 \u001b[25;8H\u001b[?25h"]
[49.271963, "o", "\u001b[?25l\u001b[49;187H6\u001b[26;8H\u001b[?25h"]
[50.032951, "o", "\u001b[?25l\u001b[49;187H7\u001b[27;8H\u001b[?25h"]
[50.586439, "o", "\u001b[?25l\u001b[28;8H\u001b[46m(\u001b[17C)\u001b[m\u001b[49;187H8\u001b[28;8H\u001b[?25h"]
[51.911141, "o", "\u001b[?25l\u001b[49;1H\u001b[K\u001b[49;1H:\u001b[?2004h\u001b[?25h"]
[52.214804, "o", "w\u001b[?25l\u001b[?25h"]
[52.420887, "o", "q\u001b[?25l\u001b[?25h"]
[52.951112, "o", "\r\u001b[?25l\u001b[?2004l\"create-zombie.c\""]
[52.952954, "o", " [New] 34L, 689C written"]
[52.954854, "o", "\r\r\r\n\u001b[?2004l\u001b[?1l\u001b>\u001b[?25h\u001b[?1049l\u001b[23;0;0t"]
[52.957391, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[53.931884, "o", "g"]
[54.440917, "o", "c"]
[54.642512, "o", "c"]
[54.80321, "o", " "]
[55.912896, "o", "."]
[56.073612, "o", "/"]
[56.345455, "o", "c"]
[56.633413, "o", "r"]
[56.901399, "o", "e"]
[57.401458, "o", "ate-zombie.c "]
[58.254633, "o", "\r\n"]
[58.329722, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[60.446225, "o", "l"]
[60.567342, "o", "s"]
[60.677982, "o", " "]
[60.976456, "o", "-"]
[61.207849, "o", "a"]
[61.409551, "o", "l"]
[61.688864, "o", "\r\n"]
[61.691777, "o", "total 56\r\n"]
[61.692031, "o", "drwxr-xr-x 2 zeus zeus 4096 Φεβ 23 16:13 \u001b[0m\u001b[01;34m.\u001b[0m\r\ndrwxr-xr-x 4 zeus zeus 4096 Φεβ 22 15:40 \u001b[01;34m..\u001b[0m\r\n-rwxr-xr-x 1 zeus zeus 8664 Φεβ 23 16:13 \u001b[01;32ma.out\u001b[0m\r\n-rw-r--r-- 1 zeus zeus 689 Φεβ 23 16:12 create-zombie.c\r\n-rw-r--r-- 1 zeus zeus 689 Φεβ 23 15:45 make-zombie.c\r\n-rw-r--r-- 1 zeus zeus 23772 Φεβ 23 16:13 test.cast\r\n-rw-r--r-- 1 zeus zeus 365 Φεβ 20 20:56 testzombies.c\r\n"]
[61.693185, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[63.230138, "o", "."]
[63.391132, "o", "/"]
[63.871344, "o", "a"]
[64.230879, "o", "."]
[64.402546, "o", "out "]
[66.70744, "o", "&"]
[67.067912, "o", "\r\n[1] 6567\r\n"]
[67.068182, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[68.129587, "o", "\r\n"]
[68.130354, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[68.319777, "o", "\r\n"]
[68.321074, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[68.497009, "o", "\r\n"]
[68.498233, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[68.628085, "o", "\r\n"]
[68.62914, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[69.098392, "o", "p"]
[69.239247, "o", "s"]
[69.430558, "o", " "]
[69.571734, "o", "a"]
[69.833225, "o", "u"]
[70.123465, "o", "x"]
[70.344149, "o", " "]
[71.162771, "o", "|"]
[71.324095, "o", " "]
[71.754108, "o", "g"]
[71.925164, "o", "r"]
[72.143752, "o", "e"]
[72.355812, "o", "p"]
[72.633122, "o", " "]
[73.006268, "o", "a"]
[73.496449, "o", "."]
[73.85579, "o", "o"]
[74.094587, "o", "u"]
[74.296016, "o", "t"]
[75.044377, "o", "\r\n"]
[75.06401, "o", "zeus 6567 0.0 0.0 10704 944 pts/34 S 16:13 0:00 ./\u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K\r\nzeus 6568 0.0 0.0 0 0 pts/34 Z 16:13 0:00 [\u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K] <defunct>\r\nzeus 6570 0.0 0.0 16520 1104 pts/34 S+ 16:13 0:00 grep --color=auto \u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K\r\n"]
[75.067551, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[90.76144, "o", "ps aux | grep a.out"]
[91.500365, "o", " "]
[92.187943, "o", "|"]
[92.490363, "o", " "]
[93.217446, "o", "g"]
[93.358041, "o", "r"]
[93.549855, "o", "e"]
[94.197044, "o", "p"]
[94.348137, "o", " "]
[95.398402, "o", "Z"]
[95.697923, "o", "\r\n"]
[95.716162, "o", "zeus 6568 0.0 0.0 0 0 pts/34 \u001b[01;31m\u001b[KZ\u001b[m\u001b[K 16:13 0:00 [a.out] <defunct>\r\n"]
[95.716789, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies\u0007zeus@swarmlab:/data/appl/ok/Lab-hybrid-docs-from-internet/tmp/zombies$ "]
[100.715312, "o", "exit\r\n"]

10
Linux-process-management/index.js

@ -34,12 +34,12 @@
"file": "Life_cycle_of_a_process.adoc" "file": "Life_cycle_of_a_process.adoc"
}, },
{ {
"chapter": 3, "chapter": 4,
"title": "Linux file system layout", "title": "An Introduction to process management!",
"subtitle": "Absolute basics", "subtitle": "Life cycle of a process - zombie",
"type": "asciinema", "type": "asciinema",
"desc": "Subdirectories of the root directory", "desc": "Create a zombie process",
"file": "filesystem.cast" "file": "createzombie.cast"
} }
] ]

Loading…
Cancel
Save