<div dir="ltr">Chrome runs each tab in a seperate process, and the same for plugins, etc, though sometimes those are shared. If you run ps -ef instead of top and get the parent processid, they'd likely share a common parent. You can organize the output with H. ps -efH and it'll group it in a tree format based on parents, etc.<div><br></div><div>As for why you have multiple sessions, tty/# is the console, pts/# are pseudo terminals. Either ssh, gnome terms, whatever. Depending on which distro you're running, it may or may not show your sessions. Systemd has a better handle on logins, and will usually only show your gnome session and hide any terms, while an older system that has to depend on utmp will do it's best to give you "who" info, and that will lead to multiple entries. Here's the thing, though. In this case SystemD is causing who to lie to you. There are pty's and they're capable of doing things and the thing intended to tell you, who, w, or whatever, is not telling you. But I'll stop before I get any further along that tangent.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 22, 2017 at 3:44 PM, <span dir="ltr"><<a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why does ps -ef show four entries for chrome?<br>
<br>
top - 15:39:19 up 117 days, 6:18, 3 users, load average: 0.52, 0.53, 0.40<br>
Tasks: 254 total, 2 running, 252 sleeping, 0 stopped, 0 zombie<br>
%Cpu(s): 4.5 us, 1.4 sy, 0.0 ni, 94.0 id, 0.1 wa, 0.0 hi, 0.0 si,<br>
0.0 st<br>
KiB Mem: 8056428 total, 6113388 used, 1943040 free, 261496 buffers<br>
KiB Swap: 1951740 total, 1479580 used, 472160 free. 2132628 cached Mem<br>
<br>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
1954 joe 20 0 4950656 262716 63456 S 22.5 3.3 8718:50<br>
plasma-desktop<br>
1180 root 20 0 406848 142360 91556 S 2.0 1.8 1731:43 Xorg<br>
8319 joe 20 0 2536552 57272 40736 S 1.3 0.7 0:04.20 kwrite<br>
8265 joe 20 0 1523732 198328 0 S 0.7 2.5 204:22.04 chrome<br>
8385 joe 20 0 500772 39968 30976 S 0.7 0.5 0:00.32 konsole<br>
8411 joe 20 0 25068 3020 2412 R 0.7 0.0 0:00.10 top<br>
1947 joe 20 0 3271824 111492 13264 S 0.3 1.4 699:09.56 kwin<br>
20472 joe 20 0 2773088 3460 0 S 0.3 0.0 342:53.07 chrome<br>
23926 joe 20 0 1698316 146268 0 S 0.3 1.8 252:24.63 chrome<br>
24818 joe 20 0 1681216 194792 0 S 0.3 2.4 205:45.48 chrome<br>
26613 joe 20 0 1441312 305556 6452 S 0.3 3.8 117:09.59 chrome<br>
1 root 20 0 33920 3244 1800 S 0.0 0.0 0:10.59 init<br>
<br>
== Also, why does "who" show 3 users when I am the only user logged on:<br>
t420: who<br>
joe tty8 2017-07-28 09:20 (:0)<br>
joe pts/8 2017-07-28 09:20 (:0)<br>
joe pts/7 2017-11-22 15:42 (:0)<br>
<br>
<br>
<br>
------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.<wbr>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/<wbr>mailman/listinfo/plug-discuss</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">James McPhee<br><a href="mailto:jmcphe@gmail.com" target="_blank">jmcphe@gmail.com</a></div>
</div>