ubuntu@localhost:~$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 3 23:36 ? 00:00:02 /sbin/init nofb
root 2 0 0 23:36 ? 00:00:00 [kthreadd]
root 3 2 0 23:36 ? 00:00:00 [rcu_gp]
root 4 2 0 23:36 ? 00:00:00 [rcu_par_gp]
root 5 2 0 23:36 ? 00:00:00 [slub_flushwq]
root 6 2 0 23:36 ? 00:00:00 [netns]
root 7 2 0 23:36 ? 00:00:00 [kworker/0:0-cgroup_destroy]
root 8 2 0 23:36 ? 00:00:00 [kworker/0:0H-events_highpri]
root 9 2 0 23:36 ? 00:00:00 [kworker/u2:0-flush-252:0]
root 10 2 0 23:36 ? 00:00:00 [mm_percpu_wq]
root 11 2 0 23:36 ? 00:00:00 [rcu_tasks_rude_]
root 12 2 0 23:36 ? 00:00:00 [rcu_tasks_trace]
root 13 2 0 23:36 ? 00:00:00 [ksoftirqd/0]
root 14 2 0 23:36 ? 00:00:00 [rcu_sched]
root 15 2 0 23:36 ? 00:00:00 [migration/0]
root 16 2 0 23:36 ? 00:00:00 [idle_inject/0]
root 17 2 0 23:36 ? 00:00:00 [kworker/0:1-cgroup_destroy]
root 18 2 0 23:36 ? 00:00:00 [cpuhp/0]
root 19 2 0 23:36 ? 00:00:00 [kdevtmpfs]
root 20 2 0 23:36 ? 00:00:00 [inet_frag_wq]
root 21 2 0 23:36 ? 00:00:00 [kauditd]
root 22 2 0 23:36 ? 00:00:00 [khungtaskd]
root 23 2 0 23:36 ? 00:00:00 [oom_reaper]
root 24 2 0 23:36 ? 00:00:00 [writeback]
root 25 2 0 23:36 ? 00:00:00 [kcompactd0]
root 26 2 0 23:36 ? 00:00:00 [ksmd]
root 27 2 0 23:36 ? 00:00:00 [khugepaged]
root 73 2 0 23:36 ? 00:00:00 [kintegrityd]
root 74 2 0 23:36 ? 00:00:00 [kblockd]
root 75 2 0 23:36 ? 00:00:00 [blkcg_punt_bio]
root 76 2 0 23:36 ? 00:00:00 [tpm_dev_wq]
root 77 2 0 23:36 ? 00:00:00 [ata_sff]
root 78 2 0 23:36 ? 00:00:00 [md]
root 79 2 0 23:36 ? 00:00:00 [edac-poller]
root 80 2 0 23:36 ? 00:00:00 [devfreq_wq]
root 81 2 0 23:36 ? 00:00:00 [watchdogd]
root 82 2 0 23:36 ? 00:00:00 [kworker/u2:1-flush-252:0]
root 83 2 0 23:36 ? 00:00:00 [kworker/0:1H-kblockd]
root 85 2 0 23:36 ? 00:00:00 [kswapd0]
root 86 2 0 23:36 ? 00:00:00 [ecryptfs-kthrea]
root 88 2 0 23:36 ? 00:00:00 [kthrotld]
root 89 2 0 23:36 ? 00:00:00 [acpi_thermal_pm]
root 90 2 0 23:36 ? 00:00:00 [kworker/u2:2-events_unbound]
root 91 2 0 23:36 ? 00:00:00 [scsi_eh_0]
root 92 2 0 23:36 ? 00:00:00 [scsi_tmf_0]
root 93 2 0 23:36 ? 00:00:00 [scsi_eh_1]
root 94 2 0 23:36 ? 00:00:00 [scsi_tmf_1]
root 95 2 0 23:36 ? 00:00:00 [kworker/u2:3-flush-252:0]
root 96 2 0 23:36 ? 00:00:00 [vfio-irqfd-clea]
root 97 2 0 23:36 ? 00:00:00 [mld]
root 98 2 0 23:36 ? 00:00:00 [kworker/u2:4-events_unbound]
root 99 2 0 23:36 ? 00:00:00 [ipv6_addrconf]
root 108 2 0 23:36 ? 00:00:00 [kstrp]
root 111 2 0 23:36 ? 00:00:00 [kworker/0:2-cgroup_destroy]
root 112 2 0 23:36 ? 00:00:00 [zswap-shrink]
root 113 2 0 23:36 ? 00:00:00 [kworker/u3:0]
root 118 2 0 23:36 ? 00:00:00 [charger_manager]
root 157 2 0 23:36 ? 00:00:00 [cryptd]
root 222 2 0 23:36 ? 00:00:00 [raid5wq]
root 270 2 0 23:36 ? 00:00:00 [jbd2/vda1-8]
root 271 2 0 23:36 ? 00:00:00 [ext4-rsv-conver]
root 344 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-journald
root 374 2 0 23:36 ? 00:00:00 [kaluad]
root 376 2 0 23:36 ? 00:00:00 [kmpath_rdacd]
root 377 2 0 23:36 ? 00:00:00 [kmpathd]
root 379 2 0 23:36 ? 00:00:00 [kmpath_handlerd]
root 380 1 0 23:36 ? 00:00:00 /sbin/multipathd -d -s
root 383 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-udevd
systemd+ 467 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-timesyncd
root 471 2 0 23:36 ? 00:00:00 [rpciod]
root 472 2 0 23:36 ? 00:00:00 [xprtiod]
systemd+ 548 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-networkd
systemd+ 550 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-resolved
root 639 1 0 23:36 ? 00:00:00 /usr/sbin/cron -f -P
message+ 641 1 0 23:36 ? 00:00:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 647 1 0 23:36 ? 00:00:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 648 1 0 23:36 ? 00:00:00 /usr/libexec/polkitd --no-debug
syslog 649 1 0 23:36 ? 00:00:00 /usr/sbin/rsyslogd -n -iNONE
root 654 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-logind
root 656 1 0 23:36 ? 00:00:00 /usr/libexec/udisks2/udisksd
root 660 2 0 23:36 ? 00:00:00 [kworker/0:3-events]
root 662 1 0 23:36 ttyS0 00:00:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 ttyS0 vt220
root 664 1 0 23:36 tty1 00:00:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 694 1 0 23:36 ? 00:00:00 /usr/sbin/ModemManager
root 750 1 0 23:36 ? 00:00:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 790 1 0 23:36 ? 00:00:00 /lib/systemd/systemd-timedated
root 823 1 0 23:36 ? 00:00:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
root 877 1 0 23:36 ? 00:00:00 /usr/bin/toast-sysmon start
root 878 877 0 23:36 ? 00:00:00 /usr/bin/toast-sysmon start
root 979 2 0 23:36 ? 00:00:00 [kworker/u2:5-ext4-rsv-conversion]
root 1004 1 16 23:37 ? 00:00:03 /usr/lib/snapd/snapd
root 1195 823 0 23:37 ? 00:00:00 sshd: ubuntu [priv]
ubuntu 1230 1 1 23:37 ? 00:00:00 /lib/systemd/systemd --user
ubuntu 1231 1230 0 23:37 ? 00:00:00 (sd-pam)
ubuntu 1323 1195 0 23:37 ? 00:00:00 sshd: ubuntu@pts/0
ubuntu 1326 1323 0 23:37 pts/0 00:00:00 -bash
ubuntu 1344 1326 0 23:37 pts/0 00:00:00 ps -ef