You are not logged in.

#1 2015-10-16 17:51:27

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

pstree, psmem && screenfetch in one thread

Let show once more our bloat "pstree",  ps_mem the python script and screenfetch or env-info in one thread.

┌ pstree
└─ >pstree

systemd─┬─dbus-daemon
        ├─login───startx───xinit─┬─Xorg
        │                        └─spectrwm───rxvt───bash───pstree
        ├─systemd-journal
        ├─systemd-logind
        └─systemd-udevd

┌ psmem
└─ >sudo python psmem

 Private  +   Shared  =  RAM used	Program

184.0 KiB + 108.5 KiB = 292.5 KiB	startx
172.0 KiB + 265.5 KiB = 437.5 KiB	xinit
704.0 KiB + 200.5 KiB = 904.5 KiB	systemd-logind
772.0 KiB + 198.5 KiB = 970.5 KiB	systemd-udevd
756.0 KiB + 314.0 KiB =   1.0 MiB	dbus-daemon
708.0 KiB + 374.5 KiB =   1.1 MiB	login
848.0 KiB + 422.5 KiB =   1.2 MiB	sudo
872.0 KiB + 776.5 KiB =   1.6 MiB	spectrwm
  1.8 MiB + 178.0 KiB =   2.0 MiB	systemd
  1.7 MiB + 516.5 KiB =   2.2 MiB	bash
  2.6 MiB + 193.0 KiB =   2.8 MiB	systemd-journald
  7.1 MiB + 935.5 KiB =   8.0 MiB	rxvt
 11.4 MiB + 514.5 KiB =  11.9 MiB	Xorg
---------------------------------
                         34.3 MiB
=================================

┌ envinfo
└─ >env-info

OS: Debian GNU/Linux 8 (jessie)
Uptime: 2d 10h 56m
Shell: /bin/bash
WM: spectrwm
Term: rxvt-unicode
Packages: 540
Resolution: 1280x1024
Disk: 103G / 143G
Mem: 36M / 2012M
Kernel: Linux 3.16.0-4-686-pae i686
CPU: Intel Pentium Dual  CPU  E2180  @ 2.00GHz
Analyze: Startup finished in 2.821s (kernel) + 6.602s (userspace) = 9.424s

Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#2 2015-10-17 10:52:40

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: pstree, psmem && screenfetch in one thread

These are must have.

Offline

#3 2015-10-17 11:36:39

nore
>2⁹
From: squirrels' nest
Registered: 2015-09-29
Posts: 537

Re: pstree, psmem && screenfetch in one thread

Nili wrote:

404?

Offline

#4 2015-10-17 12:11:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: pstree, psmem && screenfetch in one thread

I was going to post this from XFCE but pstree(1) showed some irritating things being run in the background so back to dwm for me...

pstree:
systemd─┬─dbus-daemon
        ├─haveged
        ├─login───startx───xinit─┬─Xorg─┬─xf86-video-intel
        │                        │      └─{Xorg}
        │                        └─dwm─┬─compton
        │                              └─sh─┬─conky
        │                                   └─sh
        ├─ntpd───{ntpd}
        ├─paxd
        ├─systemd─┬─(sd-pam)
        │         └─dbus-daemon
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-network
        ├─systemd-resolve
        ├─systemd-udevd
        ├─tmux───zsh───pstree
        ├─urxvtd───zsh───tmux
        └─wpa_supplicant
ps_mem:
 Private  +   Shared  =  RAM used       Program

 68.0 KiB + 660.0 KiB = 728.0 KiB       xf86-video-intel-backlight-helper
252.0 KiB + 872.0 KiB =   1.1 MiB       sh (2)
100.0 KiB +   1.4 MiB =   1.5 MiB       startx
  1.5 MiB +  12.0 KiB =   1.5 MiB       (sd-pam)
156.0 KiB +   1.7 MiB =   1.9 MiB       xinit
240.0 KiB +   1.9 MiB =   2.1 MiB       paxd
280.0 KiB +   2.2 MiB =   2.4 MiB       systemd-journald
308.0 KiB +   2.3 MiB =   2.6 MiB       systemd-logind
216.0 KiB +   2.5 MiB =   2.7 MiB       systemd-resolved
324.0 KiB +   2.5 MiB =   2.8 MiB       systemd-networkd
712.0 KiB +   2.7 MiB =   3.4 MiB       tmux (2)
792.0 KiB +   3.3 MiB =   4.1 MiB       dbus-daemon (2)
708.0 KiB +   3.6 MiB =   4.2 MiB       login
  1.9 MiB +   2.7 MiB =   4.6 MiB       systemd-udevd
924.0 KiB +   4.2 MiB =   5.1 MiB       sudo
  1.8 MiB +   3.7 MiB =   5.5 MiB       systemd (2)
  4.3 MiB +   1.5 MiB =   5.8 MiB       haveged
680.0 KiB +   5.8 MiB =   6.5 MiB       wpa_supplicant
  3.9 MiB +   3.8 MiB =   7.6 MiB       zsh (2)
  1.6 MiB +   6.2 MiB =   7.8 MiB       dwm
  1.5 MiB +  10.0 MiB =  11.5 MiB       conky
  5.6 MiB +   8.4 MiB =  14.0 MiB       urxvtd
  9.2 MiB +   6.0 MiB =  15.2 MiB       ntpd
  8.4 MiB +  10.7 MiB =  19.0 MiB       compton
  7.3 MiB +  16.3 MiB =  23.5 MiB       Xorg
Warning: Shared memory is slightly over-estimated by this system
for each program, so totals are not reported.
empty@ThinkPad ~ % free -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G         95M        3.4G         32M        184M        3.5G
Swap:            0B          0B          0B
empty@ThinkPad ~ % archey3

               +                OS: Arch Linux x86_64
               #                Hostname: ThinkPad
              ###               Kernel Release: 4.2.3.201510130858-1-grsec
             #####              Uptime: 0:02
             ######             WM: DWM
            ; #####;            DE: None
           +##.#####            Packages: 695
          +##########           RAM: 119 MB / 3751 MB
         #############;         Processor Type: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
        ###############+        $EDITOR: /usr/bin/vim
       #######   #######        Root: 43G / 150G (28%) (btrfs)
     .######;     ;###;`".      
    .#######;     ;#####.       
    #########.   .########`     
   ######'           '######    
  ;####                 ####;   
  ##'                     '##   
 #'                         `#

Offline

#5 2015-10-17 14:33:25

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

nore wrote:

404?

seems pidsley's github is down? idk why, let see machinebacon env-info version that looks more or less the same.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#6 2015-10-17 19:32:23

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

Head_on_a_Stick wrote:

I was going to post this from XFCE but pstree(1) showed some irritating things being run in the background so back to dwm for me...

XFCE is good but dwm it is superb, nothing fancy can beat simplicity smile


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#7 2015-10-17 19:40:12

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

nothing fancy can beat simplicity

Riding a bicycle beats walking, driving a car in the rain beats riding a bike in the rain.

IN. YOUR. FACE!

tongue

Possibly the first time ever I've heard Xfce called "fancy".


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#8 2015-10-17 20:14:01

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

hhh wrote:

Riding a bicycle beats walking, driving a car in the rain beats riding a bike in the rain.

IN. YOUR. FACE!

tongue

Possibly the first time ever I've heard Xfce called "fancy".

I'm a bicycle fan, i ride bicycle every day when i go to my office, but one day two week ago got hit by a girl that open the car door near me (perhaps my fault, because i was riding near her car), so i have gone down with some several serious fractures.

Most of time since the incident i writte with one hand only sad I have stoped riding bike temporarily until i become a better.
I love bicycle, i ride mostly  for a lot of thing.

It is true running car in the rain is better more safer than riding bike, but...

Again walking or running are safer than anything else, In this case, simplicity wins again, IMO smile


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#9 2015-10-17 20:24:55

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

We'll call walking vs biking a draw (safety vs speed). I'm not going to give running any credit. Sorry for your injury (yes, stay out of the line of opening car doors!)


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#10 2015-10-17 20:36:27

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

hhh wrote:

We'll call walking vs biking a draw (safety vs speed). I'm not going to give running any credit. Sorry for your injury (yes, stay out of the line of opening car doors!)

Depends on the distance and time factor what to use. Usually my daily routines i have close to my home.

So rarely i use the car except the long way. I'm a walker mostly and a biker anyway. Thanks smile Very valuable advice, I knew and not kept, It was so good to took a lesson.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#11 2015-10-17 21:06:26

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

Lol, I doubt it. I recently took a bad fall and almost dislocated my shoulder. Even without breakage, the recovery (over 3 weeks now) has been excruciating. Do not injure your shoulder and expect a good night's sleep.

On Topic, pstree gets obscenely long if you use lightdm. Meh. I'll post after booting into my fresh-ish BL partition.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#12 2015-10-17 21:18:46

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

RC1 32 bit, not quite OOTB...

hhh@rc1:~$ pstree
systemd─┬─NetworkManager─┬─dhclient
        │                ├─{NetworkManager}
        │                ├─{gdbus}
        │                └─{gmain}
        ├─agetty
        ├─2*[at-spi-bus-laun─┬─dbus-daemon]
        │                    ├─{dconf worker}]
        │                    ├─{gdbus}]
        │                    └─{gmain}]
        ├─2*[at-spi2-registr───{gdbus}]
        ├─compton
        ├─conky───4*[{conky}]
        ├─cron
        ├─3*[dbus-daemon]
        ├─2*[dbus-launch]
        ├─dconf-service─┬─{gdbus}
        │               └─{gmain}
        ├─gconfd-2
        ├─gnome-keyring-d─┬─{dconf worker}
        │                 ├─{gdbus}
        │                 ├─{gmain}
        │                 └─{timer}
        ├─gvfsd───{gdbus}
        ├─gvfsd-fuse─┬─{gdbus}
        │            ├─{gvfs-fuse-sub}
        │            └─2*[{gvfsd-fuse}]
        ├─light-locker─┬─{dconf worker}
        │              └─{gdbus}
        ├─lightdm─┬─Xorg
        │         ├─lightdm─┬─openbox─┬─unclutter
        │         │         │         └─x-terminal-emul─┬─bash───pstree
        │         │         │                           ├─gnome-pty-helpe
        │         │         │                           ├─{gdbus}
        │         │         │                           └─{gmain}
        │         │         ├─{gdbus}
        │         │         └─{gmain}
        │         ├─{gdbus}
        │         └─{gmain}
        ├─nm-applet─┬─{dconf worker}
        │           └─{gdbus}
        ├─ntpd
        ├─pk-update-icon───{gdbus}
        ├─pnmixer─┬─{gdbus}
        │         └─{threaded-ml}
        ├─polkit-gnome-au───{gdbus}
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─pulseaudio─┬─{alsa-sink-CX205}
        │            └─{alsa-source-CX2}
        ├─rsyslogd─┬─{in:imklog}
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}
        ├─smartd
        ├─2*[systemd───(sd-pam)]
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        ├─thunar
        ├─tint2
        ├─upowerd─┬─{gdbus}
        │         └─{gmain}
        ├─wpa_supplicant
        ├─xfce4-notifyd
        ├─xfce4-power-man───{gdbus}
        ├─xfce4-volumed───{gdbus}
        └─xfconfd

So, I can switch ceni for nm-applet, but I'll still have a Network Manager process branch but then I can lose gnome-keyring, I can remove at-spi2-core (accessibility deamon) since I have no disabilities but the RAM difference is minimal, I can lose lightdm and I can switch back to initd. I've asked a related question in another thread, which is "So what?"


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#13 2015-10-17 22:19:19

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

Same install using sysvinit...

$ pstree
init─┬─NetworkManager─┬─dhclient
     │                ├─{NetworkManager}
     │                ├─{gdbus}
     │                └─{gmain}
     ├─2*[at-spi-bus-laun─┬─dbus-daemon]
     │                    ├─{dconf worker}]
     │                    ├─{gdbus}]
     │                    └─{gmain}]
     ├─2*[at-spi2-registr───{gdbus}]
     ├─cgmanager
     ├─compton
     ├─conky───4*[{conky}]
     ├─cron
     ├─3*[dbus-daemon]
     ├─2*[dbus-launch]
     ├─dconf-service─┬─{gdbus}
     │               └─{gmain}
     ├─gconfd-2
     ├─6*[getty]
     ├─gnome-keyring-d─┬─{dconf worker}
     │                 ├─{gdbus}
     │                 ├─{gmain}
     │                 └─{timer}
     ├─gvfsd───{gdbus}
     ├─gvfsd-fuse─┬─{gdbus}
     │            ├─{gvfs-fuse-sub}
     │            └─2*[{gvfsd-fuse}]
     ├─light-locker─┬─{dconf worker}
     │              └─{gdbus}
     ├─lightdm─┬─Xorg
     │         ├─lightdm─┬─openbox─┬─unclutter
     │         │         │         └─x-terminal-emul─┬─bash───pstree
     │         │         │                           ├─gnome-pty-helpe
     │         │         │                           ├─{gdbus}
     │         │         │                           └─{gmain}
     │         │         ├─{gdbus}
     │         │         └─{gmain}
     │         ├─{gdbus}
     │         └─{gmain}
     ├─nm-applet─┬─{dconf worker}
     │           └─{gdbus}
     ├─ntpd
     ├─pk-update-icon───{gdbus}
     ├─pnmixer─┬─{gdbus}
     │         └─{threaded-ml}
     ├─polkit-gnome-au───{gdbus}
     ├─polkitd─┬─{gdbus}
     │         └─{gmain}
     ├─pulseaudio─┬─{alsa-sink-CX205}
     │            └─{alsa-source-CX2}
     ├─rsyslogd─┬─{in:imklog}
     │          ├─{in:imuxsock}
     │          └─{rs:main Q:Reg}
     ├─systemd-logind
     ├─thunar
     ├─tint2
     ├─udevd
     ├─upowerd─┬─{gdbus}
     │         └─{gmain}
     ├─uuidd
     ├─wpa_supplicant
     ├─xfce4-notifyd
     ├─xfce4-power-man───{gdbus}
     ├─xfce4-volumed───{gdbus}
     └─xfconfd

To be clear, I don't think these outputs show much of anything.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#14 2015-10-18 16:50:54

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

hhh wrote:

To be clear, I don't think these outputs show much of anything.

True, with growing of Linux everyday also nowdays computers these outputs aren't much concerns anymore but for older computers, i mean those from 2007, 2009 you know they've a direct impact on the quality of speed.

Some prefer to disable or tweak, I not install at all what i don't need smile


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#15 2015-10-18 18:46:16

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: pstree, psmem && screenfetch in one thread

Lol, my box is a Thinkpad T500 (refurbished) which came out around 2008. Intel Core Duo, 2G RAM, 80 G hard drive, not exactly modern. smile I would consider opting for something lighter than, say, BunsenLabs if I was running less than 1G RAM, otherwise I highly doubt you'd noticed any real performance difference between BunsenLabs and jessie stripped of services like lightdm and gvfs (I haven't on boxes with only 1G RAM).

Here's pstree on my main partition (jessie/lightdm/xfwce4 without xfdesktop4/ceni)...

$ pstree
systemd─┬─acpid
        ├─agetty
        ├─compton
        ├─console-kit-dae─┬─62*[{console-kit-dae}]
        │                 ├─{gdbus}
        │                 └─{gmain}
        ├─cron
        ├─3*[dbus-daemon]
        ├─2*[dbus-launch]
        ├─dconf-service─┬─{gdbus}
        │               └─{gmain}
        ├─dhclient
        ├─gnome-terminal-─┬─bash───pstree
        │                 ├─gnome-pty-helpe
        │                 ├─{dconf worker}
        │                 ├─{gdbus}
        │                 └─{gmain}
        ├─gvfsd─┬─{gdbus}
        │       └─{pool}
        ├─light-locker─┬─{dconf worker}
        │              └─{gdbus}
        ├─lightdm─┬─Xorg
        │         ├─lightdm─┬─sh─┬─unclutter
        │         │         │    └─xfce4-session─┬─xfce4-panel─┬─panel-2-systray
        │         │         │                    │             └─{gmain}
        │         │         │                    ├─xfwm4
        │         │         │                    ├─{gdbus}
        │         │         │                    └─{gmain}
        │         │         ├─{gdbus}
        │         │         └─{gmain}
        │         ├─{gdbus}
        │         └─{gmain}
        ├─minissdpd
        ├─packagekitd─┬─{gdbus}
        │             └─{gmain}
        ├─pk-update-icon─┬─{gdbus}
        │                └─{pool}
        ├─polkit-gnome-au───{gdbus}
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─rsyslogd─┬─{in:imklog}
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}
        ├─syndaemon
        ├─2*[systemd───(sd-pam)]
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        ├─udisksd─┬─{cleanup}
        │         ├─{gdbus}
        │         ├─{gmain}
        │         └─{probing-thread}
        ├─upowerd─┬─{gdbus}
        │         └─{gmain}
        ├─wpa_supplicant
        ├─xfce4-notifyd
        ├─xfce4-power-man───{gdbus}
        ├─xfce4-volumed─┬─{gdbus}
        │               └─{task0}
        ├─xfconfd
        └─xfsettingsd─┬─{gdbus}
                      └─{gmain}

No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#16 2015-10-18 18:59:41

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

Difference It is too small to be noticed, yes this is for sure, anyone feels the lighter who tries BunsenLabs.

XFCE apps on the other hand provide convenience. Ideal adaptation to the masses.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#17 2015-10-18 22:38:19

gako
Member
Registered: 2015-10-02
Posts: 241

Re: pstree, psmem && screenfetch in one thread

Debian Jessie with systemd - busy and running a backup

 Private  +   Shared  =  RAM used       Program

116.0 KiB +  51.0 KiB = 167.0 KiB       sleep
188.0 KiB +  33.0 KiB = 221.0 KiB       acpid
224.0 KiB +  31.0 KiB = 255.0 KiB       startx
244.0 KiB +  33.0 KiB = 277.0 KiB       lpd
212.0 KiB +  81.5 KiB = 293.5 KiB       xinit
228.0 KiB + 119.0 KiB = 347.0 KiB       bkp2home
240.0 KiB + 124.0 KiB = 364.0 KiB       termopen
304.0 KiB +  60.5 KiB = 364.5 KiB       less
224.0 KiB + 151.5 KiB = 375.5 KiB       rdnssd (2)
320.0 KiB +  95.0 KiB = 415.0 KiB       dbus-launch
316.0 KiB + 106.0 KiB = 422.0 KiB       cron
332.0 KiB + 172.5 KiB = 504.5 KiB       herbstclient
484.0 KiB +  24.5 KiB = 508.5 KiB       gzip
600.0 KiB +  90.0 KiB = 690.0 KiB       tar
804.0 KiB +  86.0 KiB = 890.0 KiB       systemd-logind
832.0 KiB + 209.5 KiB =   1.0 MiB       login
804.0 KiB + 245.0 KiB =   1.0 MiB       herbstluftwm
880.0 KiB + 221.0 KiB =   1.1 MiB       sudo
  1.0 MiB + 112.0 KiB =   1.1 MiB       awk
  1.1 MiB + 123.0 KiB =   1.2 MiB       apkg
712.0 KiB + 568.0 KiB =   1.2 MiB       panel.sh (5)
  1.6 MiB + 123.5 KiB =   1.7 MiB       systemd-udevd
968.0 KiB + 769.0 KiB =   1.7 MiB       dbus-daemon (2)
868.0 KiB + 907.5 KiB =   1.7 MiB       dzen2
  1.0 MiB + 802.0 KiB =   1.8 MiB       tmux (2)
  1.6 MiB + 206.5 KiB =   1.8 MiB       htop
  1.8 MiB +  83.5 KiB =   1.9 MiB       rsyslogd
  1.7 MiB + 295.5 KiB =   2.0 MiB       (sd-pam)
  2.1 MiB + 331.0 KiB =   2.4 MiB       wpa_supplicant
  2.2 MiB + 187.5 KiB =   2.4 MiB       dialog
  1.8 MiB + 869.0 KiB =   2.7 MiB       nmbd
  2.8 MiB + 466.0 KiB =   3.2 MiB       sendmail-mta
  2.6 MiB +   1.3 MiB =   3.9 MiB       systemd (2)
  3.9 MiB + 128.0 KiB =   4.0 MiB       systemd-journald
  6.3 MiB +   5.4 MiB =  11.7 MiB       smbd (2)
 13.6 MiB + 679.0 KiB =  14.2 MiB       dhclient (2)
 19.4 MiB +   1.3 MiB =  20.6 MiB       Xorg
 30.8 MiB +   1.2 MiB =  32.0 MiB       bash (8)
 30.4 MiB +   9.6 MiB =  39.9 MiB       x-terminal-emul (14)
159.3 MiB +   3.2 MiB = 162.5 MiB       iceweasel
---------------------------------
                        324.8 MiB
=================================
(END)
systemd-+-acpid
        |-cron
        |-2*[dbus-daemon]
        |-dbus-launch
        |-2*[dhclient]
        |-login---startx---xinit-+-Xorg
        |                        `-herbstluftwm-+-termopen---iceweasel-+-8*[{Analysis Helper}]
        |                                       |                      |-{BgHangManager}
        |                                       |                      |-{Cache I/O}
        |                                       |                      |-{Cache2 I/O}
        |                                       |                      |-{Cert Verify}
        |                                       |                      |-{Compositor}
        |                                       |                      |-{DNS Resolver #3}
        |                                       |                      |-{DNS Resolver #4}
        |                                       |                      |-{DNS Resolver #5}
        |                                       |                      |-{DNS Resolver #6}
        |                                       |                      |-3*[{DOM Worker}]
        |                                       |                      |-{GMPThread}
        |                                       |                      |-{Gecko_IOThread}
        |                                       |                      |-{HTML5 Parser}
        |                                       |                      |-{Hang Monitor}
        |                                       |                      |-{IPDL Background}
        |                                       |                      |-{Image Scaler}
        |                                       |                      |-{ImageBridgeChil}
        |                                       |                      |-{ImageDecoder #8}
        |                                       |                      |-{ImageIO}
        |                                       |                      |-{JS Watchdog}
        |                                       |                      |-{Link Monitor}
        |                                       |                      |-{MediaManager}
        |                                       |                      |-{Proxy R~olution}
        |                                       |                      |-{Socket Thread}
        |                                       |                      |-{StreamTrans #34}
        |                                       |                      |-{Timer}
        |                                       |                      |-{URL Classifier}
        |                                       |                      |-{dconf worker}
        |                                       |                      |-{gdbus}
        |                                       |                      |-{gmain}
        |                                       |                      |-{iceweasel}
        |                                       |                      |-{localStorage DB}
        |                                       |                      |-{mozStorage #1}
        |                                       |                      |-{mozStorage #2}
        |                                       |                      |-{mozStorage #3}
        |                                       |                      |-{mozStorage #4}
        |                                       |                      |-{mozStorage #5}
        |                                       |                      |-{mozStorage #6}
        |                                       |                      `-{mozStorage #7}
        |                                       |-x-terminal-emul-+-bash---pstree
        |                                       |                 `-x-terminal-emul
        |                                       |-x-terminal-emul-+-bash---htop
        |                                       |                 `-x-terminal-emul
        |                                       |-x-terminal-emul-+-bash---apkg---dialog
        |                                       |                 `-x-terminal-emul
        |                                       |-3*[x-terminal-emul-+-bash]
        |                                       |                    `-x-terminal-emul]
        |                                       `-x-terminal-emul-+-bash---tmux
        |                                                         `-x-terminal-emul
        |-lpd
        |-nmbd
        |-panel.sh-+-dzen2
        |          |-panel.sh-+-herbstclient
        |          |          `-panel.sh-+-panel.sh---awk
        |          |                     `-sleep
        |          `-panel.sh
        |-rdnssd---rdnssd
        |-rsyslogd-+-{in:imklog}
        |          |-{in:imuxsock}
        |          `-{rs:main Q:Reg}
        |-sendmail-mta
        |-smbd---smbd
        |-systemd---(sd-pam)
        |-systemd-journal
        |-systemd-logind
        |-systemd-udevd
        |-tmux---bash---bkp2home---tar---gzip
        `-wpa_supplicant

Edit: That's iceweasel without my usual plugins. I'd notice another 100M with them loaded (adblock/element hiding/ghostery/vimperator/some hide nav/tab/scroll-bar stuff)

Last edited by gako (2015-10-18 23:05:19)

Offline

#18 2015-10-30 23:50:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: pstree, psmem && screenfetch in one thread

Got ps_mem & env-info working and sorted my multiple dbus session:

empty@ThinkPad ~ % pstree
systemd─┬─dbus-daemon
        ├─login───startx───xinit─┬─Xorg─┬─xf86-video-intel
        │                        │      └─{Xorg}
        │                        └─dwm─┬─compton
        │                              └─sh─┬─conky
        │                                   └─sh
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-network
        ├─systemd-resolve
        ├─systemd-udevd
        ├─tmux───zsh───pstree
        ├─urxvtd───zsh───tmux
        └─wpa_supplicant
empty@ThinkPad ~ % sudo ps-mem 
 Private  +   Shared  =  RAM used       Program

 76.0 KiB +  56.0 KiB = 132.0 KiB       xf86-video-intel-backlight-helper
100.0 KiB +  97.5 KiB = 197.5 KiB       startx
 80.0 KiB + 208.0 KiB = 288.0 KiB       sh (2)
208.0 KiB + 219.5 KiB = 427.5 KiB       xinit
556.0 KiB + 140.5 KiB = 696.5 KiB       systemd-journald
668.0 KiB + 139.5 KiB = 807.5 KiB       systemd-resolved
836.0 KiB + 107.0 KiB = 943.0 KiB       systemd-logind
  1.0 MiB + 130.5 KiB =   1.1 MiB       systemd-networkd
836.0 KiB + 436.0 KiB =   1.2 MiB       dbus-daemon
724.0 KiB + 591.5 KiB =   1.3 MiB       (sd-pam)
  1.0 MiB + 563.0 KiB =   1.6 MiB       login
632.0 KiB +   1.0 MiB =   1.6 MiB       tmux (2)
  1.6 MiB + 719.5 KiB =   2.3 MiB       sudo
  2.4 MiB + 188.0 KiB =   2.6 MiB       systemd-udevd
  1.0 MiB +   2.2 MiB =   3.2 MiB       systemd (2)
  2.3 MiB + 984.5 KiB =   3.3 MiB       wpa_supplicant
  2.2 MiB +   1.4 MiB =   3.6 MiB       dwm
  3.9 MiB +   1.7 MiB =   5.7 MiB       zsh (2)
  4.4 MiB +   1.9 MiB =   6.2 MiB       conky
  8.4 MiB +   1.4 MiB =   9.7 MiB       urxvtd
 10.3 MiB +   2.3 MiB =  12.5 MiB       compton
 15.8 MiB +   2.5 MiB =  18.3 MiB       Xorg
---------------------------------
                         77.8 MiB
=================================
empty@ThinkPad ~ % env-info 

empty@ThinkPad

OS: Arch Linux
Uptime: 0d 0h 0m
Shell: /usr/bin/zsh
Disk: 45G / 150G
Mem: 79M / 3.7G
Kernel: Linux 4.1.12-1-lts x86_64
CPU: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz

Offline

#19 2015-10-31 13:49:55

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: pstree, psmem && screenfetch in one thread

Very nice progress on your pstree, It seems you've got rid many bad apples from the tree.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#20 2015-10-31 13:50:57

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: pstree, psmem && screenfetch in one thread

From my BunsenLabs system, freshly booted:

empty@BunsenLab ~ % pstree
systemd─┬─NetworkManager─┬─dhclient
        │                ├─{NetworkManager}
        │                ├─{gdbus}
        │                └─{gmain}
        ├─agetty
        ├─2*[at-spi-bus-laun─┬─dbus-daemon]
        │                    ├─{dconf worker}]
        │                    ├─{gdbus}]
        │                    └─{gmain}]
        ├─2*[at-spi2-registr───{gdbus}]
        ├─compton
        ├─3*[dbus-daemon]
        ├─2*[dbus-launch]
        ├─gconfd-2
        ├─gnome-keyring-d─┬─{dconf worker}
        │                 ├─{gdbus}
        │                 ├─{gmain}
        │                 └─{timer}
        ├─gvfsd───{gdbus}
        ├─irqbalance
        ├─light-locker───{gdbus}
        ├─lightdm─┬─Xorg
        │         ├─lightdm─┬─openbox───ssh-agent
        │         │         ├─{gdbus}
        │         │         └─{gmain}
        │         ├─{gdbus}
        │         └─{gmain}
        ├─nm-applet─┬─{dconf worker}
        │           └─{gdbus}
        ├─ntpd
        ├─polkit-gnome-au───{gdbus}
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─pulseaudio─┬─{alsa-sink-CX205}
        │            └─{alsa-source-CX2}
        ├─2*[systemd───(sd-pam)]
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        ├─thunar
        ├─tint2
        ├─tmux───zsh───pstree
        ├─upowerd─┬─{gdbus}
        │         └─{gmain}
        ├─urxvtd───zsh───tmux
        ├─volti
        ├─wpa_supplicant
        ├─xfce4-notifyd
        ├─xfce4-power-man───{gdbus}
        ├─xfce4-volumed─┬─{gdbus}
        │               └─{task0}
        └─xfconfd
empty@BunsenLab ~ % sudo ps-mem 
[sudo] password for empty: 
 Private  +   Shared  =  RAM used       Program

240.0 KiB +  56.0 KiB = 296.0 KiB       agetty
296.0 KiB +  67.5 KiB = 363.5 KiB       irqbalance
528.0 KiB +  24.5 KiB = 552.5 KiB       ssh-agent
432.0 KiB + 189.0 KiB = 621.0 KiB       xfconfd
592.0 KiB + 194.0 KiB = 786.0 KiB       dbus-launch (2)
824.0 KiB +  88.0 KiB = 912.0 KiB       systemd-logind
788.0 KiB + 206.0 KiB = 994.0 KiB       gconfd-2
  1.0 MiB + 286.0 KiB =   1.3 MiB       sudo
896.0 KiB + 405.0 KiB =   1.3 MiB       gvfsd
560.0 KiB + 949.0 KiB =   1.5 MiB       tmux (2)
  1.2 MiB + 551.5 KiB =   1.7 MiB       at-spi-bus-launcher (2)
  1.7 MiB + 125.5 KiB =   1.8 MiB       systemd-udevd
  1.2 MiB + 682.0 KiB =   1.9 MiB       ntpd
  1.2 MiB + 730.0 KiB =   1.9 MiB       at-spi2-registryd (2)
  1.8 MiB + 299.5 KiB =   2.1 MiB       polkitd
  1.2 MiB +   1.0 MiB =   2.2 MiB       xfce4-notifyd
  1.6 MiB + 775.0 KiB =   2.3 MiB       upowerd
  1.4 MiB +   1.1 MiB =   2.5 MiB       (sd-pam) (2)
  1.9 MiB + 541.0 KiB =   2.5 MiB       gnome-keyring-daemon
  1.9 MiB + 884.5 KiB =   2.8 MiB       lightdm (2)
  2.0 MiB +   1.1 MiB =   3.1 MiB       thunar
  2.4 MiB + 967.0 KiB =   3.3 MiB       dbus-daemon (5)
  1.6 MiB +   1.7 MiB =   3.3 MiB       systemd (3)
  1.7 MiB +   1.9 MiB =   3.6 MiB       polkit-gnome-authentication-agent-1
  2.9 MiB + 735.0 KiB =   3.6 MiB       wpa_supplicant
  2.5 MiB +   1.2 MiB =   3.7 MiB       tint2
  3.1 MiB +   1.4 MiB =   4.4 MiB       openbox
  2.9 MiB +   1.5 MiB =   4.4 MiB       zsh5 (2)
  4.2 MiB + 833.5 KiB =   5.0 MiB       pulseaudio
  3.7 MiB +   1.7 MiB =   5.4 MiB       xfce4-volumed
  4.7 MiB +   1.4 MiB =   6.1 MiB       NetworkManager
  3.8 MiB +   2.4 MiB =   6.1 MiB       light-locker
  4.6 MiB +   2.8 MiB =   7.4 MiB       xfce4-power-manager
  7.6 MiB + 763.5 KiB =   8.3 MiB       urxvtd
  8.4 MiB +  59.0 KiB =   8.5 MiB       dhclient
  8.0 MiB +   1.7 MiB =   9.7 MiB       compton
 11.5 MiB +   1.8 MiB =  13.3 MiB       systemd-journald
 10.7 MiB +   4.7 MiB =  15.5 MiB       nm-applet
 16.1 MiB +   2.4 MiB =  18.5 MiB       Xorg
 15.9 MiB +   4.0 MiB =  19.9 MiB       volti
---------------------------------
                        183.2 MiB
=================================
empty@BunsenLab ~ % env-info 

empty@BunsenLab

OS: BunsenLabs GNU/Linux 8.2 (Hydrogen)
Uptime: 0d 0h 1m
Shell: /usr/bin/zsh
WM: openbox
Disk: 45G / 150G
Mem: 165M / 3.7G
Kernel: Linux 4.2-5.dmz.1-liquorix-amd64 x86_64
CPU: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz

I intend to strip out NetworkManager & LightDM so it will slim down a bit from here.

Offline

Board footer

Powered by FluxBB