I am amazed that you only have 4. I usually have dozens going. 

On Nov 22, 2017 4:16 PM, "James Mcphee" <jmcphe@gmail.com> wrote:
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.

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.

On Wed, Nov 22, 2017 at 3:44 PM, <joe@actionline.com> wrote:
Why does ps -ef show four entries for chrome?

top - 15:39:19 up 117 days,  6:18,  3 users,  load average: 0.52, 0.53, 0.40
Tasks: 254 total,   2 running, 252 sleeping,   0 stopped,   0 zombie
%Cpu(s):  4.5 us,  1.4 sy,  0.0 ni, 94.0 id,  0.1 wa,  0.0 hi,  0.0 si,
0.0 st
KiB Mem:   8056428 total,  6113388 used,  1943040 free,   261496 buffers
KiB Swap:  1951740 total,  1479580 used,   472160 free.  2132628 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 1954 joe       20   0 4950656 262716  63456 S  22.5  3.3   8718:50
plasma-desktop
 1180 root      20   0  406848 142360  91556 S   2.0  1.8   1731:43 Xorg
 8319 joe       20   0 2536552  57272  40736 S   1.3  0.7   0:04.20 kwrite
 8265 joe       20   0 1523732 198328      0 S   0.7  2.5 204:22.04 chrome
 8385 joe       20   0  500772  39968  30976 S   0.7  0.5   0:00.32 konsole
 8411 joe       20   0   25068   3020   2412 R   0.7  0.0   0:00.10 top
 1947 joe       20   0 3271824 111492  13264 S   0.3  1.4 699:09.56 kwin
20472 joe       20   0 2773088   3460      0 S   0.3  0.0 342:53.07 chrome
23926 joe       20   0 1698316 146268      0 S   0.3  1.8 252:24.63 chrome
24818 joe       20   0 1681216 194792      0 S   0.3  2.4 205:45.48 chrome
26613 joe       20   0 1441312 305556   6452 S   0.3  3.8 117:09.59 chrome
    1 root      20   0   33920   3244   1800 S   0.0  0.0   0:10.59 init

== Also, why does "who" show 3 users when I am the only user logged on:
t420: who
joe      tty8         2017-07-28 09:20 (:0)
joe      pts/8        2017-07-28 09:20 (:0)
joe      pts/7        2017-11-22 15:42 (:0)



---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
James McPhee
jmcphe@gmail.com

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss