You are not logged in.

#21 2016-02-19 06:50:55

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Double Digit RAM usage, or Why Pay More?

Nili wrote:

wanted to know which services use that "sh".

nili ~ $ pstree
systemd─┬─bash───urxvt───bash───pstree
        ├─dbus-daemon
        ├─login───startx───xinit─┬─Xorg
        │                        └─sh───spectrwm───conky───7*[{conky}]
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        └─vnstatd

how are you starting X?

my pstree (relevant part) looks like this:

        ├─login───startx───xinit─┬─Xorg
        │                        └─openbox─┬─

Offline

#22 2016-02-19 07:03:45

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

Re: Double Digit RAM usage, or Why Pay More?

ohnonot wrote:

how are you starting X?

my pstree (relevant part) looks like this:

        ├─login───startx───xinit─┬─Xorg
        │                        └─openbox─┬─

I used to have once too similar to yours but not now, that "sh" is there since a month.

from my .profile

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
sleep 1s && exec startx >/dev/null 2>&1
fi

Thanks ohnonot
Nili

Edit: I am surprised now, because don't show on both pstree or ps_mem

Did two/three restart to be sure, still not showing, i haven't changed anything since last time.
Apparently it appears later from anything?

Edit2:I discovered months ago the little mystery regarding "sh" but now i'm making the other edit.
From my ".xinitrc" used to launch spectrwm without "exec" so making "exec spectrwm" the sh is gone..

Last edited by Nili (2016-05-12 11:35:53)


Tumbleweed | KDE Plasma

Offline

Board footer

Powered by FluxBB