From f154f83294489b7bf6b99c68799e89a5a4ff9bc3 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 9 Feb 2021 21:53:21 +0200 Subject: [PATCH] linux --- hybrid-linux/filesystem.adoc | 3 - hybrid-linux/find_and_grep.adoc | 2 - hybrid-linux/proc.adoc | 4 - hybrid-linux/proc.cast | 190 ++++++++++++++++++++++++++++++++ 4 files changed, 190 insertions(+), 9 deletions(-) create mode 100644 hybrid-linux/proc.cast diff --git a/hybrid-linux/filesystem.adoc b/hybrid-linux/filesystem.adoc index ba0e3be..c299436 100644 --- a/hybrid-linux/filesystem.adoc +++ b/hybrid-linux/filesystem.adoc @@ -15,9 +15,6 @@ Apostolos rootApostolos@swarmlab.io :sectnums: - -{empty} + - == Linux file system layout .Subdirectories of the root directory diff --git a/hybrid-linux/find_and_grep.adoc b/hybrid-linux/find_and_grep.adoc index b510aef..3dd4fd2 100644 --- a/hybrid-linux/find_and_grep.adoc +++ b/hybrid-linux/find_and_grep.adoc @@ -16,8 +16,6 @@ Apostolos rootApostolos@swarmlab.io -{empty} + - == Find and grep === find diff --git a/hybrid-linux/proc.adoc b/hybrid-linux/proc.adoc index 97006fb..3c08b33 100644 --- a/hybrid-linux/proc.adoc +++ b/hybrid-linux/proc.adoc @@ -15,10 +15,6 @@ Apostolos rootApostolos@swarmlab.io :sectnums: -{empty} + - - - .procfs **** The proc filesystem (*procfs*) is a special filesystem in Unix-like operating systems that presents information about processes and other system information in a hierarchical file-like structure, diff --git a/hybrid-linux/proc.cast b/hybrid-linux/proc.cast new file mode 100644 index 0000000..6862b32 --- /dev/null +++ b/hybrid-linux/proc.cast @@ -0,0 +1,190 @@ +{"version": 2, "width": 87, "height": 33, "timestamp": 1612900210, "env": {"SHELL": "/bin/bash", "TERM": "xterm"}} +[0.035831, "o", "\u001b]0;zeus@swarmlab: ~\u0007zeus@swarmlab:~$ "] +[2.836362, "o", "p"] +[2.956245, "o", "s"] +[3.228238, "o", " "] +[3.402403, "o", "a"] +[3.643923, "o", "u"] +[3.908956, "o", "x"] +[4.425545, "o", " "] +[4.727691, "o", "|"] +[4.881817, "o", " "] +[5.398783, "o", "g"] +[5.53959, "o", "r"] +[5.740621, "o", "e"] +[6.096317, "o", "p"] +[6.247416, "o", " "] +[7.441012, "o", "z"] +[7.772111, "o", "e"] +[8.120595, "o", "u"] +[8.231335, "o", "s"] +[8.607385, "o", "\r\n"] +[8.619406, "o", "\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 1177 0.2 0.6 426560 42488 tty2 Sl+ 18:12 0:38 /usr/lib/firefox/firefox -contentproc -parentBuildID 20210118153634 -prefsLen 12135 -prefMapSize 237293 -appdir /usr/lib/firefox/browser 7398 true rdd\r\n"] +[8.621994, "o", "\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6726 0.0 0.0 77244 5060 ? Ss 11:09 0:00 /lib/systemd/systemd --user\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6727 0.0 0.0 260156 336 ? S 11:09 0:00 (sd-pam)\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6740 0.0 0.1 1968860 6344 ? Sl 11:09 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6744 0.0 0.0 205040 3880 tty2 Ssl+ 11:09 0:00 /usr/lib/gdm3/gdm-x-session --run-script mate-session\r\n"] +[8.623564, "o", "\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6758 0.0 0.2 60128 12816 ? Ss 11:09 0:07 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6764 0.0 0.1 1242724 11104 tty2 Sl+ 11:09 0:01 mate-session\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6853 0.0 0.0 15560 40 ? Ss 11:09 0:00 /usr/bin/ssh-agent /usr/bin/im-launch env LD_PRELOAD=libgtk3-nocsd.so.0 mate-session\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6865 0.0 0.0 360828 4420 ? Ssl 11:09 0:00 /usr/lib/gvfs/gvfsd\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6870 0.0 0.0 418204 3252 ? Sl 11:09 0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6880 0.0 0.0 351680 3536 ? Ssl 11:09 0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6885 0.0 0.0 52136 2748 ? S 11:09 0:01 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3\r\n"] +[8.623704, "o", "\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6887 0.0 0.0 223128 3996 ? Sl 11:09 0:04 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6889 0.0 0.0 190588 4248 ? Sl 11:09 0:00 /usr/lib/dconf/dconf-service\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6897 0.0 0.2 1595204 17456 tty2 Sl+ 11:09 0:12 /usr/bin/mate-settings-daemon\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6902 0.2 0.8 611788 51872 tty2 Sl+ 11:09 1:46 marco\r\n\u001b[01;31m\u001b[Kzeus\u001b[m\u001b[K 6910 1.2 0.2 1861060 14184 ? S