Infra_HDC

linux ps vs freebsd ps

Aug 26th, 2025 (edited)
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.03 KB | None | 0 0
  1. [root@rd-vm028 ~]# ps aux
  2. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
  3. root 1 4.6 0.3 22192 13300 ? Ss 19:37 0:00 /sbin/init
  4. root 2 0.0 0.0 0 0 ? S 19:37 0:00 [kthreadd]
  5. root 3 0.0 0.0 0 0 ? S 19:37 0:00 [pool_workqueue_release]
  6. root 4 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-rcu_gp]
  7. root 5 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-sync_wq]
  8. root 6 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-kvfree_rcu_reclaim]
  9. root 7 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-slub_flushwq]
  10. root 8 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-netns]
  11. root 9 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/0:0-cgroup_destroy]
  12. root 10 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/0:0H-kblockd]
  13. root 11 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/0:1-mm_percpu_wq]
  14. root 12 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u16:0-events_unbound]
  15. root 13 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-mm_percpu_wq]
  16. root 14 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u16:1-ipv6_addrconf]
  17. root 15 0.0 0.0 0 0 ? S 19:37 0:00 [ksoftirqd/0]
  18. root 16 0.0 0.0 0 0 ? I 19:37 0:00 [rcu_preempt]
  19. root 17 0.0 0.0 0 0 ? S 19:37 0:00 [rcub/0]
  20. root 18 0.0 0.0 0 0 ? S 19:37 0:00 [rcu_exp_par_gp_kthread_worker/0]
  21. root 19 0.0 0.0 0 0 ? S 19:37 0:00 [rcu_exp_gp_kthread_worker]
  22. root 20 0.0 0.0 0 0 ? S 19:37 0:00 [migration/0]
  23. root 21 0.0 0.0 0 0 ? S 19:37 0:00 [idle_inject/0]
  24. root 22 0.0 0.0 0 0 ? S 19:37 0:00 [cpuhp/0]
  25. root 23 0.0 0.0 0 0 ? S 19:37 0:00 [cpuhp/1]
  26. root 24 0.0 0.0 0 0 ? S 19:37 0:00 [idle_inject/1]
  27. root 25 0.3 0.0 0 0 ? S 19:37 0:00 [migration/1]
  28. root 26 0.0 0.0 0 0 ? S 19:37 0:00 [ksoftirqd/1]
  29. root 27 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/1:0-slub_flushwq]
  30. root 28 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/1:0H-events_highpri]
  31. root 29 0.0 0.0 0 0 ? S 19:37 0:00 [cpuhp/2]
  32. root 30 0.0 0.0 0 0 ? S 19:37 0:00 [idle_inject/2]
  33. root 31 0.3 0.0 0 0 ? S 19:37 0:00 [migration/2]
  34. root 32 0.0 0.0 0 0 ? S 19:37 0:00 [ksoftirqd/2]
  35. root 33 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/2:0-mm_percpu_wq]
  36. root 34 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/2:0H-kblockd]
  37. root 35 0.0 0.0 0 0 ? S 19:37 0:00 [cpuhp/3]
  38. root 36 0.0 0.0 0 0 ? S 19:37 0:00 [idle_inject/3]
  39. root 37 0.3 0.0 0 0 ? S 19:37 0:00 [migration/3]
  40. root 38 0.0 0.0 0 0 ? S 19:37 0:00 [ksoftirqd/3]
  41. root 39 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/3:0-events]
  42. root 40 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/3:0H-events_highpri]
  43. root 41 0.2 0.0 0 0 ? I 19:37 0:00 [kworker/u17:0-events_unbound]
  44. root 42 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:0-async]
  45. root 43 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u19:0-events_unbound]
  46. root 44 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u20:0-events_power_efficient]
  47. root 45 0.0 0.0 0 0 ? S 19:37 0:00 [kdevtmpfs]
  48. root 46 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-inet_frag_wq]
  49. root 47 0.0 0.0 0 0 ? I 19:37 0:00 [rcu_tasks_kthread]
  50. root 48 0.0 0.0 0 0 ? I 19:37 0:00 [rcu_tasks_rude_kthread]
  51. root 49 0.0 0.0 0 0 ? I 19:37 0:00 [rcu_tasks_trace_kthread]
  52. root 50 0.0 0.0 0 0 ? S 19:37 0:00 [kauditd]
  53. root 51 0.0 0.0 0 0 ? S 19:37 0:00 [khungtaskd]
  54. root 52 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u17:1-events_power_efficient]
  55. root 53 0.0 0.0 0 0 ? S 19:37 0:00 [oom_reaper]
  56. root 54 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u17:2-kvfree_rcu_reclaim]
  57. root 55 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-writeback]
  58. root 56 0.0 0.0 0 0 ? S 19:37 0:00 [kcompactd0]
  59. root 57 0.0 0.0 0 0 ? SN 19:37 0:00 [ksmd]
  60. root 58 0.0 0.0 0 0 ? SN 19:37 0:00 [khugepaged]
  61. root 59 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-kblockd]
  62. root 60 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-blkcg_punt_bio]
  63. root 61 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-kintegrityd]
  64. root 62 0.0 0.0 0 0 ? S 19:37 0:00 [irq/9-acpi]
  65. root 63 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/1:1-events]
  66. root 64 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/3:1-events]
  67. root 65 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-tpm_dev_wq]
  68. root 66 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-ata_sff]
  69. root 67 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-edac-poller]
  70. root 68 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-devfreq_wq]
  71. root 69 0.0 0.0 0 0 ? S 19:37 0:00 [watchdogd]
  72. root 70 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/2:1-events]
  73. root 71 0.0 0.0 0 0 ? S 19:37 0:00 [kswapd0]
  74. root 72 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-kthrotld]
  75. root 73 0.0 0.0 0 0 ? S 19:37 0:00 [irq/24-aerdrv]
  76. root 74 0.0 0.0 0 0 ? S 19:37 0:00 [irq/25-aerdrv]
  77. root 75 0.0 0.0 0 0 ? S 19:37 0:00 [irq/26-aerdrv]
  78. root 76 0.0 0.0 0 0 ? S 19:37 0:00 [irq/27-aerdrv]
  79. root 77 0.0 0.0 0 0 ? S 19:37 0:00 [irq/28-aerdrv]
  80. root 78 0.0 0.0 0 0 ? S 19:37 0:00 [irq/29-aerdrv]
  81. root 79 0.0 0.0 0 0 ? S 19:37 0:00 [irq/30-aerdrv]
  82. root 80 0.0 0.0 0 0 ? S 19:37 0:00 [irq/31-aerdrv]
  83. root 81 0.0 0.0 0 0 ? S 19:37 0:00 [irq/32-aerdrv]
  84. root 82 0.0 0.0 0 0 ? S 19:37 0:00 [irq/33-aerdrv]
  85. root 83 0.0 0.0 0 0 ? S 19:37 0:00 [irq/34-aerdrv]
  86. root 84 0.0 0.0 0 0 ? S 19:37 0:00 [irq/35-aerdrv]
  87. root 85 0.0 0.0 0 0 ? S 19:37 0:00 [irq/36-aerdrv]
  88. root 86 0.0 0.0 0 0 ? S 19:37 0:00 [irq/37-aerdrv]
  89. root 87 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-acpi_thermal_pm]
  90. root 88 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_0]
  91. root 89 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_0]
  92. root 90 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_1]
  93. root 91 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_1]
  94. root 92 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_2]
  95. root 93 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_2]
  96. root 94 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_3]
  97. root 95 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_3]
  98. root 96 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_4]
  99. root 97 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_4]
  100. root 98 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_5]
  101. root 99 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_5]
  102. root 100 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:1-async]
  103. root 101 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:2-async]
  104. root 102 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:3-flush-254:0]
  105. root 103 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:4-events_unbound]
  106. root 104 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:5-events_unbound]
  107. root 105 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:6-events_power_efficient]
  108. root 106 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u18:7-events_power_efficient]
  109. root 107 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-mld]
  110. root 108 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/1:1H-kblockd]
  111. root 109 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-ipv6_addrconf]
  112. root 110 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u20:1]
  113. root 116 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u20:2-flush-254:0]
  114. root 118 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-kstrp]
  115. root 122 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-zswap-shrink]
  116. root 123 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/u21:0]
  117. root 124 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/u22:0]
  118. root 125 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/u23:0]
  119. root 126 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/u24:0]
  120. root 127 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/u25:0]
  121. root 128 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/3:2-events]
  122. root 129 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/2:1H]
  123. root 165 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/3:1H-kblockd]
  124. root 192 0.0 0.0 0 0 ? S 19:37 0:00 [scsi_eh_6]
  125. root 193 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-scsi_tmf_6]
  126. root 194 0.0 0.0 0 0 ? S 19:37 0:00 [hwrng]
  127. root 195 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u19:1-events_unbound]
  128. root 196 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/0:1H-kblockd]
  129. root 257 0.0 0.0 0 0 ? S 19:37 0:00 [jbd2/vda3-8]
  130. root 258 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-ext4-rsv-conversion]
  131. root 269 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/1:2-events]
  132. root 291 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/2:2-events]
  133. root 303 0.7 0.5 41536 21440 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-journald
  134. root 314 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u20:3-events_unbound]
  135. root 320 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/3:3-events]
  136. root 343 0.0 0.1 15380 6112 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-userdbd
  137. root 347 0.0 0.0 0 0 ? S 19:37 0:00 [psimon]
  138. systemd+ 349 0.3 0.3 22468 13144 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-resolved
  139. systemd+ 350 0.1 0.1 90148 7744 ? Ssl 19:37 0:00 /usr/lib/systemd/systemd-timesyncd
  140. root 352 0.0 0.1 16104 7036 ? S 19:37 0:00 systemd-userwork: waiting...
  141. root 358 0.4 0.2 35408 9700 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-udevd
  142. root 360 0.0 0.0 0 0 ? S 19:37 0:00 [psimon]
  143. systemd+ 366 0.3 0.2 19564 10852 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-networkd
  144. root 395 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u19:2-events_power_efficient]
  145. root 398 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-cfg80211]
  146. root 404 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u17:3-events_unbound]
  147. root 406 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/u17:4]
  148. root 408 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/0:2]
  149. root 413 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/1:3-events]
  150. root 421 0.0 0.0 0 0 ? I 19:37 0:00 [kworker/2:3-events]
  151. root 424 0.0 0.0 0 0 ? S 19:37 0:00 [jbd2/vda1-8]
  152. root 425 0.0 0.0 0 0 ? I< 19:37 0:00 [kworker/R-ext4-rsv-conversion]
  153. root 440 0.0 0.1 16104 7068 ? S 19:37 0:00 systemd-userwork: waiting...
  154. root 441 0.0 0.1 15796 6876 ? S 19:37 0:00 systemd-userwork: waiting...
  155. dbus 445 0.0 0.0 8588 3960 ? Ss 19:37 0:00 /usr/bin/dbus-broker-launch --scope system --audit
  156. dbus 446 0.0 0.0 4804 2908 ? S 19:37 0:00 dbus-broker --log 10 --controller 9 --machine-id 6be1c43f2a2e4eb0853662ef36d5014c --max-bytes 536870912 --max-fds 4096 --max-matches 16384 --audit
  157. root 447 0.0 0.0 15640 3900 ? Ssl 19:37 0:00 /usr/bin/qemu-ga
  158. root 448 0.0 0.1 9012 6300 ? Ss 19:37 0:00 sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups
  159. root 449 0.2 0.1 16200 7832 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-logind
  160. root 453 0.2 0.1 15668 6972 ? Ss 19:37 0:00 /usr/lib/systemd/systemd-hostnamed
  161. root 460 0.0 0.0 8604 2704 tty1 Ss+ 19:37 0:00 /sbin/agetty -o -- \u --noreset --noclear - linux
  162. root 461 0.1 0.1 14468 7600 ? Ss 19:37 0:00 login -- root
  163. root 469 0.0 0.0 0 0 ? S 19:37 0:00 [psimon]
  164. root 471 2.5 0.2 20364 11536 ? Ss 19:37 0:00 /usr/lib/systemd/systemd --user
  165. root 473 0.0 0.0 22212 3708 ? S 19:37 0:00 (sd-pam)
  166. root 478 0.0 0.0 0 0 ? S 19:37 0:00 [psimon]
  167. root 480 0.0 0.1 7976 4564 ttyS0 Ss 19:37 0:00 -bash
  168. root 493 0.0 0.1 35412 7856 ? S 19:37 0:00 (udev-worker)
  169. root 494 0.0 0.1 9836 4316 ttyS0 R+ 19:37 0:00 ps aux
  170.  
  171. root@rd-vm087:~ # ps aux
  172. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
  173. root 11 197.9 0.0 0 32 - RNL 19:30 70:46.96 [idle]
  174. root 0 0.0 0.0 0 1168 - DLs 19:30 0:00.69 [kernel]
  175. root 1 0.0 0.0 12728 1328 - ILs 19:30 0:00.03 /sbin/init
  176. root 2 0.0 0.0 0 32 - WL 19:30 0:00.24 [clock]
  177. root 3 0.0 0.0 0 48 - DL 19:30 0:00.00 [crypto]
  178. root 4 0.0 0.0 0 48 - DL 19:30 0:00.36 [cam]
  179. root 5 0.0 0.0 0 16 - DL 19:30 0:00.00 [busdma]
  180. root 6 0.0 0.0 0 688 - DL 19:30 0:00.18 [zfskern]
  181. root 7 0.0 0.0 0 16 - DL 19:30 0:00.19 [rand_harvestq]
  182. root 8 0.0 0.0 0 48 - DL 19:30 0:00.11 [pagedaemon]
  183. root 9 0.0 0.0 0 16 - DL 19:30 0:00.00 [vmdaemon]
  184. root 10 0.0 0.0 0 16 - DL 19:30 0:00.00 [audit]
  185. root 12 0.0 0.0 0 336 - WL 19:30 0:00.22 [intr]
  186. root 13 0.0 0.0 0 48 - DL 19:30 0:00.00 [geom]
  187. root 14 0.0 0.0 0 16 - DL 19:30 0:00.00 [sequencer 00]
  188. root 15 0.0 0.0 0 320 - DL 19:30 0:00.09 [usb]
  189. root 16 0.0 0.0 0 48 - DL 19:30 0:00.01 [bufdaemon]
  190. root 17 0.0 0.0 0 16 - DL 19:30 0:00.01 [vnlru]
  191. root 18 0.0 0.0 0 16 - DL 19:30 0:00.01 [syncer]
  192. root 450 0.0 0.1 14192 2700 - Is 19:30 0:00.06 dhclient: system.syslog (dhclient)
  193. root 453 0.0 0.1 14192 2772 - Is 19:30 0:00.00 dhclient: vtnet0 [priv] (dhclient)
  194. _dhcp 530 0.0 0.1 14196 2840 - ICs 19:30 0:00.06 dhclient: vtnet0 (dhclient)
  195. root 531 0.0 0.1 15448 4196 - Is 19:30 0:00.00 /sbin/devd
  196. root 791 0.0 0.1 13908 2800 - Is 19:30 0:00.01 /usr/sbin/syslogd -s
  197. root 833 0.0 0.1 14124 2432 - Is 19:30 0:00.00 /usr/sbin/moused -p /dev/psm0 -t auto
  198. root 848 0.0 0.1 13860 2376 - Is 19:30 0:00.00 daemon: /usr/local/bin/seatd[849] (daemon)
  199. root 849 0.0 0.1 13776 2264 - I 19:30 0:00.00 /usr/local/bin/seatd -g video
  200. root 852 0.0 0.1 18840 4544 - Is 19:30 0:00.01 /usr/local/bin/qemu-ga -d
  201. root 893 0.0 0.1 13948 2568 - Is 19:30 0:00.01 /usr/sbin/cron -s
  202. root 911 0.0 0.2 23512 9572 - Is 19:30 0:00.00 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd)
  203. root 948 0.0 0.1 14420 2952 u0 Is 19:30 0:00.14 login [pam] (login)
  204. root 949 0.0 0.1 14948 4264 u0 S 19:30 0:00.09 -csh (csh)
  205. root 4355 0.0 0.1 14488 3032 u0 R+ 20:05 0:00.00 ps aux
  206. root 940 0.0 0.1 13876 2328 v0 Is+ 19:30 0:00.00 /usr/libexec/getty Pc ttyv0
  207. root 941 0.0 0.1 13876 2324 v1 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv1
  208. root 942 0.0 0.1 13876 2320 v2 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv2
  209. root 943 0.0 0.1 13876 2324 v3 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv3
  210. root 944 0.0 0.1 13876 2328 v4 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv4
  211. root 945 0.0 0.1 13876 2316 v5 Is+ 19:30 0:00.00 /usr/libexec/getty Pc ttyv5
  212. root 946 0.0 0.1 13876 2328 v6 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv6
  213. root 947 0.0 0.1 13876 2324 v7 Is+ 19:30 0:00.01 /usr/libexec/getty Pc ttyv7
  214.  
Advertisement
Add Comment
Please, Sign In to add comment