How do I check the processes a user is running using loginctl on redhat?
-
Also see:
systemd-logind.service(8), systemd-logind(8) - Login manager
What is the purpose of the systemd-logind daemon?This checks all processes for a user session.
$ loginctl user-session training training (1000) Since: Tue 2020-03-17 07:28:09 EDT; 5h 59min ago State: active Sessions: 4 *2 Linger: no Unit: user-1000.slice ├─session-2.scope │ ├─2226 gdm-session-worker [pam/gdm-password] │ ├─2260 /usr/bin/gnome-keyring-daemon --daemonize --login │ ├─2271 /usr/libexec/gdm-wayland-session gnome-session │ ├─2275 /usr/libexec/gnome-session-binary ... ... ...
© Lightnetics 2024