> ps Или вас ключи интересуют. Если ключи то вот:
Значения тут "ps -L"
1 вывод
ps -j -AHwo cputime,comm
root 0 0 0 0 0 DLs - 0:25,16 [kernel/swapper] 0:25,16 kernel/swapper
root 0 0 0 0 0 DLs - 0:00,00 [kernel/firmware 0:00,00 kernel/firmware taskq
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 kernel/acpi_task_0
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 kernel/acpi_task_1
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 kernel/acpi_task_2
root 0 0 0 0 0 DLs - 0:00,00 [kernel/ffs_trim 0:00,00 kernel/ffs_trim taskq
root 0 0 0 0 0 DLs - 0:00,00 [kernel/kqueue t 0:00,00 kernel/kqueue taskq
root 0 0 0 0 0 DLs - 0:00,00 [kernel/thread t 0:00,00 kernel/thread taskq
root 0 0 0 0 0 DLs - 0:00,03 [kernel/em0 task 0:00,03 kernel/em0 taskq
root 0 0 0 0 0 DLs - 0:01,82 [kernel/dummynet 0:01,82 kernel/dummynet
root 1 0 1 1 0 ILs - 0:00,02 /sbin/init -- 0:00,02 init
root 2 0 0 0 0 DL - 0:00,00 [crypto] 0:00,00 crypto
root 3 0 0 0 0 DL - 0:00,00 [crypto returns] 0:00,00 crypto returns
root 4 0 0 0 0 DL - 0:00,00 [mpt_recovery0] 0:00,00 mpt_recovery0
root 5 0 0 0 0 DL - 0:00,02 [fdc0] 0:00,02 fdc0
root 6 0 0 0 0 DL - 0:00,00 [sctp_iterator] 0:00,00 sctp_iterator
root 7 0 0 0 0 DL - 0:01,32 [xpt_thrd] 0:01,32 xpt_thrd
root 8 0 0 0 0 DL - 0:00,08 [pagedaemon] 0:00,08 pagedaemon
root 9 0 0 0 0 DL - 0:00,00 [vmdaemon] 0:00,00 vmdaemon
root 10 0 0 0 0 DL - 0:00,00 [audit] 0:00,00 audit
root 11 0 0 0 0 RL - 10:36,78 [idle/idle: cpu0 10:36,78 idle/idle: cpu0
root 11 0 0 0 0 RL - 10:38,77 [idle/idle: cpu1 10:38,77 idle/idle: cpu1
root 12 0 0 0 0 WL - 0:01,45 [intr/swi4: cloc 0:01,45 intr/swi4: clock
root 12 0 0 0 0 WL - 0:00,00 [intr/swi4: cloc 0:00,00 intr/swi4: clock
root 12 0 0 0 0 WL - 0:00,00 [intr/swi3: vm] 0:00,00 intr/swi3: vm
root 12 0 0 0 0 WL - 0:00,00 [intr/swi1: neti 0:00,00 intr/swi1: netisr 0
root 12 0 0 0 0 WL - 0:00,00 [intr/swi5: fast 0:00,00 intr/swi5: fast taskq
root 12 0 0 0 0 WL - 0:00,07 [intr/swi2: camb 0:00,07 intr/swi2: cambio
root 12 0 0 0 0 WL - 0:00,00 [intr/swi6: task 0:00,00 intr/swi6: task queue
root 12 0 0 0 0 WL - 0:00,00 [intr/swi6: Gian 0:00,00 intr/swi6: Giant task
root 12 0 0 0 0 WL - 0:00,00 [intr/irq14: ata 0:00,00 intr/irq14: ata0
root 12 0 0 0 0 WL - 0:00,04 [intr/irq15: ata 0:00,04 intr/irq15: ata1
root 12 0 0 0 0 WL - 0:00,06 [intr/irq17: mpt 0:00,06 intr/irq17: mpt0 ehci
root 12 0 0 0 0 WL - 0:00,17 [intr/irq18: uhc 0:00,17 intr/irq18: uhci0
root 12 0 0 0 0 WL - 0:00,00 [intr/irq16: pcm 0:00,00 intr/irq16: pcm0
root 12 0 0 0 0 WL - 0:00,00 [intr/irq1: atkb 0:00,00 intr/irq1: atkbd0
root 12 0 0 0 0 WL - 0:00,00 [intr/irq12: psm 0:00,00 intr/irq12: psm0
root 12 0 0 0 0 WL - 0:00,00 [intr/irq7: ppc0 0:00,00 intr/irq7: ppc0
root 12 0 0 0 0 WL - 0:00,00 [intr/swi0: uart 0:00,00 intr/swi0: uart uart
root 13 0 0 0 0 DL - 0:00,02 [geom/g_event] 0:00,02 geom/g_event
root 13 0 0 0 0 DL - 0:00,04 [geom/g_up] 0:00,04 geom/g_up
root 13 0 0 0 0 DL - 0:00,21 [geom/g_down] 0:00,21 geom/g_down
root 14 0 0 0 0 DL - 0:00,12 [rand_harvestq] 0:00,12 rand_harvestq
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus0] 0:00,00 usb/usbus0
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus0] 0:00,00 usb/usbus0
root 15 0 0 0 0 DL - 0:00,10 [usb/usbus0] 0:00,10 usb/usbus0
root 15 0 0 0 0 DL - 0:00,08 [usb/usbus0] 0:00,08 usb/usbus0
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 usb/usbus1
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 usb/usbus1
root 15 0 0 0 0 DL - 0:00,02 [usb/usbus1] 0:00,02 usb/usbus1
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 usb/usbus1
root 16 0 0 0 0 DL - 0:00,00 [pagezero] 0:00,00 pagezero
root 17 0 0 0 0 DL - 0:00,00 [bufdaemon] 0:00,00 bufdaemon
root 18 0 0 0 0 DL - 0:00,03 [syncer] 0:00,03 syncer
root 19 0 0 0 0 DL - 0:00,00 [vnlru] 0:00,00 vnlru
root 20 0 0 0 0 DL - 0:00,01 [softdepflush] 0:00,01 softdepflush
root 389 1 389 389 0 Is - 0:00,00 /sbin/devd 0:00,00 devd
root 483 1 483 483 0 Ss - 0:00,01 /usr/sbin/syslog 0:00,01 syslogd
root 541 1 541 541 0 Is - 0:00,00 /usr/local/libex 0:00,00 vsftpd
root 544 1 544 544 0 Is - 0:00,00 /usr/local/libex 0:00,00 in.tftpd
.......
2 вывод
ps -j -AHwo cputime,command
USER PID PPID PGID SID JOBC STAT TT TIME COMMAND TIME COMMAND
root 0 0 0 0 0 DLs - 0:25,16 [kernel/swapper] 0:25,16 [kernel/swapper]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/firmware 0:00,00 [kernel/firmware tas]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 [kernel/acpi_task_0]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 [kernel/acpi_task_1]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/acpi_tas 0:00,00 [kernel/acpi_task_2]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/ffs_trim 0:00,00 [kernel/ffs_trim tas]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/kqueue t 0:00,00 [kernel/kqueue taskq]
root 0 0 0 0 0 DLs - 0:00,00 [kernel/thread t 0:00,00 [kernel/thread taskq]
root 0 0 0 0 0 DLs - 0:00,04 [kernel/em0 task 0:00,04 [kernel/em0 taskq]
root 0 0 0 0 0 DLs - 0:01,93 [kernel/dummynet 0:01,93 [kernel/dummynet]
root 1 0 1 1 0 ILs - 0:00,02 /sbin/init -- 0:00,02 /sbin/init --
root 2 0 0 0 0 DL - 0:00,00 [crypto] 0:00,00 [crypto]
root 3 0 0 0 0 DL - 0:00,00 [crypto returns] 0:00,00 [crypto returns]
root 4 0 0 0 0 DL - 0:00,00 [mpt_recovery0] 0:00,00 [mpt_recovery0]
root 5 0 0 0 0 DL - 0:00,02 [fdc0] 0:00,02 [fdc0]
root 6 0 0 0 0 DL - 0:00,00 [sctp_iterator] 0:00,00 [sctp_iterator]
root 7 0 0 0 0 DL - 0:01,32 [xpt_thrd] 0:01,32 [xpt_thrd]
root 8 0 0 0 0 DL - 0:00,08 [pagedaemon] 0:00,08 [pagedaemon]
root 9 0 0 0 0 DL - 0:00,00 [vmdaemon] 0:00,00 [vmdaemon]
root 10 0 0 0 0 DL - 0:00,00 [audit] 0:00,00 [audit]
root 11 0 0 0 0 RL - 11:13,09 [idle/idle: cpu0 11:13,09 [idle/idle: cpu0]
root 11 0 0 0 0 RL - 11:15,11 [idle/idle: cpu1 11:15,11 [idle/idle: cpu1]
root 12 0 0 0 0 WL - 0:01,52 [intr/swi4: cloc 0:01,52 [intr/swi4: clock]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi4: cloc 0:00,00 [intr/swi4: clock]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi3: vm] 0:00,00 [intr/swi3: vm]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi1: neti 0:00,00 [intr/swi1: netisr 0]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi5: fast 0:00,00 [intr/swi5: fast tas]
root 12 0 0 0 0 WL - 0:00,07 [intr/swi2: camb 0:00,07 [intr/swi2: cambio]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi6: task 0:00,00 [intr/swi6: task que]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi6: Gian 0:00,00 [intr/swi6: Giant ta]
root 12 0 0 0 0 WL - 0:00,00 [intr/irq14: ata 0:00,00 [intr/irq14: ata0]
root 12 0 0 0 0 WL - 0:00,04 [intr/irq15: ata 0:00,04 [intr/irq15: ata1]
root 12 0 0 0 0 WL - 0:00,06 [intr/irq17: mpt 0:00,06 [intr/irq17: mpt0 eh]
root 12 0 0 0 0 WL - 0:00,18 [intr/irq18: uhc 0:00,18 [intr/irq18: uhci0]
root 12 0 0 0 0 WL - 0:00,00 [intr/irq16: pcm 0:00,00 [intr/irq16: pcm0]
root 12 0 0 0 0 WL - 0:00,00 [intr/irq1: atkb 0:00,00 [intr/irq1: atkbd0]
root 12 0 0 0 0 WL - 0:00,00 [intr/irq12: psm 0:00,00 [intr/irq12: psm0]
root 12 0 0 0 0 WL - 0:00,00 [intr/irq7: ppc0 0:00,00 [intr/irq7: ppc0]
root 12 0 0 0 0 WL - 0:00,00 [intr/swi0: uart 0:00,00 [intr/swi0: uart uar]
root 13 0 0 0 0 DL - 0:00,02 [geom/g_event] 0:00,02 [geom/g_event]
root 13 0 0 0 0 DL - 0:00,04 [geom/g_up] 0:00,04 [geom/g_up]
root 13 0 0 0 0 DL - 0:00,21 [geom/g_down] 0:00,21 [geom/g_down]
root 14 0 0 0 0 DL - 0:00,13 [rand_harvestq] 0:00,13 [rand_harvestq]
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus0] 0:00,00 [usb/usbus0]
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus0] 0:00,00 [usb/usbus0]
root 15 0 0 0 0 DL - 0:00,10 [usb/usbus0] 0:00,10 [usb/usbus0]
root 15 0 0 0 0 DL - 0:00,08 [usb/usbus0] 0:00,08 [usb/usbus0]
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 [usb/usbus1]
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 [usb/usbus1]
root 15 0 0 0 0 DL - 0:00,02 [usb/usbus1] 0:00,02 [usb/usbus1]
root 15 0 0 0 0 DL - 0:00,00 [usb/usbus1] 0:00,00 [usb/usbus1]
root 16 0 0 0 0 DL - 0:00,00 [pagezero] 0:00,00 [pagezero]
root 17 0 0 0 0 DL - 0:00,01 [bufdaemon] 0:00,01 [bufdaemon]
root 18 0 0 0 0 DL - 0:00,03 [syncer] 0:00,03 [syncer]
root 19 0 0 0 0 DL - 0:00,00 [vnlru] 0:00,00 [vnlru]
root 20 0 0 0 0 DL - 0:00,01 [softdepflush] 0:00,01 [softdepflush]
root 389 1 389 389 0 Is - 0:00,00 /sbin/devd 0:00,00 /sbin/devd
root 483 1 483 483 0 Ss - 0:00,01 /usr/sbin/syslog 0:00,01 /usr/sbin/syslogd -s
root 541 1 541 541 0 Is - 0:00,00 /usr/local/libex 0:00,00 /usr/local/libexec/vsftpd
root 544 1 544 544 0 Is - 0:00,00 /usr/local/libex 0:00,00 /usr/local/libexec/in.tftpd -4 -c -l -U 14 -s /var/tftp -P /var/run/tftpd.pid -l
mysql 590 1 590 590 0 Is - 0:00,02 /bin/sh /usr/loc 0:00,02 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql
mysql 696 590 590 590 0 I - 0:02,73 /usr/local/libex 0:02,73 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql