What is this shell doing and how to find it out?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Today my server slowed down greatly. Most resource-consuming are - surprisingly - two shells. Two ZSH processes on TTY 0 (what does that mean?).
> ps axjf
12474 8947 16532 16532 ? -1 Sl 1000 0:34 _ /usr/bin/xfce4
-terminal
8947 8953 16532 16532 ? -1 S 1000 0:00 | _ gnome-pty-
helper
8947 24044 24044 24044 ? -1 Rs 1000 87:01 | _ zsh
8947 24176 24176 24176 ? -1 Rs 1000 86:45 | _ zsh
8947 31137 31137 31137 pts/2 2313 Ss 1000 0:00 | _ zsh
31137 2313 2313 31137 pts/2 2313 R+ 1000 0:00 | _ ps
Before I kill these, how to find out what are they doing?
Running:
- Ubuntu 16.04.3 LTS
- ZSH (version says zsh 5.1.1 (x86_64-ubuntu-linux-gnu)) with Oh-My-ZSH
- Kernel, dm, etc.
inxi -S -xxx
System: Host: T420s Kernel: 4.4.0-104-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28) info: xfce4-panel dm: lightdm Distro: Ubuntu 16.04 xenial
zsh oh-my-zsh
add a comment |Â
up vote
1
down vote
favorite
Today my server slowed down greatly. Most resource-consuming are - surprisingly - two shells. Two ZSH processes on TTY 0 (what does that mean?).
> ps axjf
12474 8947 16532 16532 ? -1 Sl 1000 0:34 _ /usr/bin/xfce4
-terminal
8947 8953 16532 16532 ? -1 S 1000 0:00 | _ gnome-pty-
helper
8947 24044 24044 24044 ? -1 Rs 1000 87:01 | _ zsh
8947 24176 24176 24176 ? -1 Rs 1000 86:45 | _ zsh
8947 31137 31137 31137 pts/2 2313 Ss 1000 0:00 | _ zsh
31137 2313 2313 31137 pts/2 2313 R+ 1000 0:00 | _ ps
Before I kill these, how to find out what are they doing?
Running:
- Ubuntu 16.04.3 LTS
- ZSH (version says zsh 5.1.1 (x86_64-ubuntu-linux-gnu)) with Oh-My-ZSH
- Kernel, dm, etc.
inxi -S -xxx
System: Host: T420s Kernel: 4.4.0-104-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28) info: xfce4-panel dm: lightdm Distro: Ubuntu 16.04 xenial
zsh oh-my-zsh
2
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Today my server slowed down greatly. Most resource-consuming are - surprisingly - two shells. Two ZSH processes on TTY 0 (what does that mean?).
> ps axjf
12474 8947 16532 16532 ? -1 Sl 1000 0:34 _ /usr/bin/xfce4
-terminal
8947 8953 16532 16532 ? -1 S 1000 0:00 | _ gnome-pty-
helper
8947 24044 24044 24044 ? -1 Rs 1000 87:01 | _ zsh
8947 24176 24176 24176 ? -1 Rs 1000 86:45 | _ zsh
8947 31137 31137 31137 pts/2 2313 Ss 1000 0:00 | _ zsh
31137 2313 2313 31137 pts/2 2313 R+ 1000 0:00 | _ ps
Before I kill these, how to find out what are they doing?
Running:
- Ubuntu 16.04.3 LTS
- ZSH (version says zsh 5.1.1 (x86_64-ubuntu-linux-gnu)) with Oh-My-ZSH
- Kernel, dm, etc.
inxi -S -xxx
System: Host: T420s Kernel: 4.4.0-104-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28) info: xfce4-panel dm: lightdm Distro: Ubuntu 16.04 xenial
zsh oh-my-zsh
Today my server slowed down greatly. Most resource-consuming are - surprisingly - two shells. Two ZSH processes on TTY 0 (what does that mean?).
> ps axjf
12474 8947 16532 16532 ? -1 Sl 1000 0:34 _ /usr/bin/xfce4
-terminal
8947 8953 16532 16532 ? -1 S 1000 0:00 | _ gnome-pty-
helper
8947 24044 24044 24044 ? -1 Rs 1000 87:01 | _ zsh
8947 24176 24176 24176 ? -1 Rs 1000 86:45 | _ zsh
8947 31137 31137 31137 pts/2 2313 Ss 1000 0:00 | _ zsh
31137 2313 2313 31137 pts/2 2313 R+ 1000 0:00 | _ ps
Before I kill these, how to find out what are they doing?
Running:
- Ubuntu 16.04.3 LTS
- ZSH (version says zsh 5.1.1 (x86_64-ubuntu-linux-gnu)) with Oh-My-ZSH
- Kernel, dm, etc.
inxi -S -xxx
System: Host: T420s Kernel: 4.4.0-104-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28) info: xfce4-panel dm: lightdm Distro: Ubuntu 16.04 xenial
zsh oh-my-zsh
asked Jan 23 at 17:57
LIttle Ancient Forest Kami
273213
273213
2
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58
add a comment |Â
2
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58
2
2
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Before I kill these, how to find out what are they doing?
strace
them, for starters. In a pinch, use a debugger.
what does that mean?
It means that they have no controlling terminal. Given that they are children of XFCE Terminal (right there as /usr/bin/xfce4-terminal
in your process tree), you should also look to the terminal emulator sessions on your GUI.
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I didecho $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up onstrace
now, thank you.
â LIttle Ancient Forest Kami
Jan 24 at 8:47
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Before I kill these, how to find out what are they doing?
strace
them, for starters. In a pinch, use a debugger.
what does that mean?
It means that they have no controlling terminal. Given that they are children of XFCE Terminal (right there as /usr/bin/xfce4-terminal
in your process tree), you should also look to the terminal emulator sessions on your GUI.
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I didecho $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up onstrace
now, thank you.
â LIttle Ancient Forest Kami
Jan 24 at 8:47
add a comment |Â
up vote
1
down vote
accepted
Before I kill these, how to find out what are they doing?
strace
them, for starters. In a pinch, use a debugger.
what does that mean?
It means that they have no controlling terminal. Given that they are children of XFCE Terminal (right there as /usr/bin/xfce4-terminal
in your process tree), you should also look to the terminal emulator sessions on your GUI.
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I didecho $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up onstrace
now, thank you.
â LIttle Ancient Forest Kami
Jan 24 at 8:47
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Before I kill these, how to find out what are they doing?
strace
them, for starters. In a pinch, use a debugger.
what does that mean?
It means that they have no controlling terminal. Given that they are children of XFCE Terminal (right there as /usr/bin/xfce4-terminal
in your process tree), you should also look to the terminal emulator sessions on your GUI.
Before I kill these, how to find out what are they doing?
strace
them, for starters. In a pinch, use a debugger.
what does that mean?
It means that they have no controlling terminal. Given that they are children of XFCE Terminal (right there as /usr/bin/xfce4-terminal
in your process tree), you should also look to the terminal emulator sessions on your GUI.
edited Jan 25 at 10:10
answered Jan 23 at 18:28
JdeBP
28.6k459134
28.6k459134
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I didecho $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up onstrace
now, thank you.
â LIttle Ancient Forest Kami
Jan 24 at 8:47
add a comment |Â
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I didecho $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up onstrace
now, thank you.
â LIttle Ancient Forest Kami
Jan 24 at 8:47
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I did
echo $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up on strace
now, thank you.â LIttle Ancient Forest Kami
Jan 24 at 8:47
I thought as much but I'm only using Terminator and I closed down ALL it's windows. Additionally, when I did
echo $$
in them, I got different PIDs. Unless I misunderstand "terminal emulator sessions". Am following up on strace
now, thank you.â LIttle Ancient Forest Kami
Jan 24 at 8:47
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419149%2fwhat-is-this-shell-doing-and-how-to-find-it-out%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Uninstall OMZ and your problems will magically disappear...
â jasonwryan
Jan 23 at 17:58