/l3/users/4-12-2006/fbsd-adm/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 |
|
#ps -o pid,user
PID USER 654 root 674 root 655 root 656 root 657 root 658 root 659 root 660 root 712 root 25370 root 25411 root 25448 root |
#ps -o pid,user,md
ps: cmd: keyword not found PID USER 654 root 674 root 655 root 656 root 657 root 658 root 659 root 660 root 712 root 25370 root 25411 root 25454 root |
#ps -o pid,user,md
ps: cmd: keyword not found PID USER 654 root 674 root 655 root 656 root 657 root 658 root 659 root 660 root 712 root 25370 root 25411 root 25454 root |
#ps
PID TT STAT TIME COMMAND 654 v1 Is+ 0:00,04 login [pam] (login) 674 v1 I+ 0:00,89 script -t 0 -q /root/.lilalo//17090198851898513053-11 655 v2 Is+ 0:00,01 /usr/libexec/getty Pc ttyv2 656 v3 Is+ 0:00,01 /usr/libexec/getty Pc ttyv3 657 v4 Is+ 0:00,01 /usr/libexec/getty Pc ttyv4 658 v5 Is+ 0:00,01 /usr/libexec/getty Pc ttyv5 659 v6 Is+ 0:00,01 /usr/libexec/getty Pc ttyv6 660 v7 Is+ 0:00,01 /usr/libexec/getty Pc ttyv7 712 p0 Is+ 0:00,08 /usr/local/bin/bash -i 25370 p1 Ss+ 0:00,07 script -t 0 -q /root/.lilalo//168738606676429286-1165 25411 p2 Ss 0:00,07 /usr/local/bin/bash -i 25460 p2 R+ 0:00,00 ps |
#ps
PID TT STAT TIME COMMAND 654 v1 Is+ 0:00,04 login [pam] (login) 674 v1 I+ 0:00,89 script -t 0 -q /root/.lilalo//17090198851898513053-11 655 v2 Is+ 0:00,01 /usr/libexec/getty Pc ttyv2 656 v3 Is+ 0:00,01 /usr/libexec/getty Pc ttyv3 657 v4 Is+ 0:00,01 /usr/libexec/getty Pc ttyv4 658 v5 Is+ 0:00,01 /usr/libexec/getty Pc ttyv5 659 v6 Is+ 0:00,01 /usr/libexec/getty Pc ttyv6 660 v7 Is+ 0:00,01 /usr/libexec/getty Pc ttyv7 712 p0 Is+ 0:00,08 /usr/local/bin/bash -i 25370 p1 Ss+ 0:00,07 script -t 0 -q /root/.lilalo//168738606676429286-1165 25411 p2 Ss 0:00,07 /usr/local/bin/bash -i 25460 p2 R+ 0:00,00 ps |
#ps
PID TT STAT TIME COMMAND 654 v1 Is+ 0:00,04 login [pam] (login) 674 v1 I+ 0:00,89 script -t 0 -q /root/.lilalo//17090198851898513053-11 655 v2 Is+ 0:00,01 /usr/libexec/getty Pc ttyv2 656 v3 Is+ 0:00,01 /usr/libexec/getty Pc ttyv3 657 v4 Is+ 0:00,01 /usr/libexec/getty Pc ttyv4 658 v5 Is+ 0:00,01 /usr/libexec/getty Pc ttyv5 659 v6 Is+ 0:00,01 /usr/libexec/getty Pc ttyv6 660 v7 Is+ 0:00,01 /usr/libexec/getty Pc ttyv7 712 p0 Is+ 0:00,08 /usr/local/bin/bash -i 25370 p1 Ss+ 0:00,07 script -t 0 -q /root/.lilalo//168738606676429286-1165 25411 p2 Ss 0:00,07 /usr/local/bin/bash -i 25460 p2 R+ 0:00,00 ps |
#ps -o pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25466 root ps -o pid,user,command |
#ps -o pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25466 root ps -o pid,user,command |
#ps -o pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25466 root ps -o pid,user,command |
#ps -o pid,user,command -a
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25472 root ps -o pid,user,command -a |
#ps -o pid,user,command -a
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25472 root ps -o pid,user,command -a |
#ps -o pid,user,command -a
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25472 root ps -o pid,user,command -a |
#ps - pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25478 root ps -a -o pid,user,command |
#ps - pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25478 root ps -a -o pid,user,command |
#ps - pid,user,command
PID USER COMMAND 654 root login [pam] (login) 674 root script -t 0 -q /root/.lilalo//17090198851898513053-1165519122.script 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25478 root ps -a -o pid,user,command |
#ps -x-o pid,user,command
PID USER COMMAND 0 root [swapper] 1 root /sbin/init -s 2 root [g_event] 3 root [g_up] 4 root [g_down] 5 root [kqueue taskq] 6 root [acpi_task_0] 7 root [acpi_task_1] 8 root [acpi_task_2] ... 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25484 root ps -x -o pid,user,command |
#ps -x-o pid,user,command
PID USER COMMAND 0 root [swapper] 1 root /sbin/init -s 2 root [g_event] 3 root [g_up] 4 root [g_down] 5 root [kqueue taskq] 6 root [acpi_task_0] 7 root [acpi_task_1] 8 root [acpi_task_2] ... 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25484 root ps -x -o pid,user,command |
#ps -x-o pid,user,command
PID USER COMMAND 0 root [swapper] 1 root /sbin/init -s 2 root [g_event] 3 root [g_up] 4 root [g_down] 5 root [kqueue taskq] 6 root [acpi_task_0] 7 root [acpi_task_1] 8 root [acpi_task_2] ... 655 root /usr/libexec/getty Pc ttyv2 656 root /usr/libexec/getty Pc ttyv3 657 root /usr/libexec/getty Pc ttyv4 658 root /usr/libexec/getty Pc ttyv5 659 root /usr/libexec/getty Pc ttyv6 660 root /usr/libexec/getty Pc ttyv7 712 root /usr/local/bin/bash -i 25370 root script -t 0 -q /root/.lilalo//168738606676429286-1165566517.script 25411 root /usr/local/bin/bash -i 25484 root ps -x -o pid,user,command |
#top
last pid: 25493; load averages: 0.26, 0.12, 0.05 up 0+13:16:28 08:32:05 1 6 27 processes 0.0 running 0.0 sleepin 0.0 5.3 94.7 424 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7564K Free 676 8 624K 6748K nanslp 9:28 8.54 8 nanslp 2 7.57 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -qc
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -qc
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -qc
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -c
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -c
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -c
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -c
top: illegal option -- c Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -q
last pid: 25511; load averages: 0.13, 0.11, 0.04 up 0+13:17:07 08:32:44 27 processes 0.4 running 0.0 sleepin 0.7 6.0 92.9 420 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7552K Free 2.88 Swap: 999M Total, 999M Free 2.64 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:30 4.10% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:34 3.71% perl5.8.8 ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q
last pid: 25511; load averages: 0.13, 0.11, 0.04 up 0+13:17:07 08:32:44 27 processes 0.4 running 0.0 sleepin 0.7 6.0 92.9 420 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7552K Free 2.88 Swap: 999M Total, 999M Free 2.64 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:30 4.10% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:34 3.71% perl5.8.8 ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q
last pid: 25511; load averages: 0.13, 0.11, 0.04 up 0+13:17:07 08:32:44 27 processes 0.4 running 0.0 sleepin 0.7 6.0 92.9 420 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7552K Free 2.88 Swap: 999M Total, 999M Free 2.64 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:30 4.10% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:34 3.71% perl5.8.8 ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -p 676
top: illegal option -- p Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -p 676
top: illegal option -- p Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -p 676
top: illegal option -- p Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top 676
last pid: 25536; load averages: 0.24, 0.13, 0.05 up 0+13:17:25 08:33:02 27 processes: 2 running, 25 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7548K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 4:34 2.29% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:30 2.15% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K RUN 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary |
#top --help
top: illegal option -- - Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top --help
top: illegal option -- - Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top --help
top: illegal option -- - Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -d 5
last pid: 25553; load averages: 0.17, 0.12, 0.05 up 0+13:17:48 08:33:25 27 processes 0.4 running 0.0 sleepin 0.0 6.4 93.2 412 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7544K Free 1.61 Swap: 999M Total, 999M Free 56 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:30 1.56% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:34 1.56% perl5.8.8 ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -d 5
last pid: 25553; load averages: 0.17, 0.12, 0.05 up 0+13:17:48 08:33:25 27 processes 0.4 running 0.0 sleepin 0.0 6.4 93.2 412 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7544K Free 1.61 Swap: 999M Total, 999M Free 56 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:30 1.56% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:34 1.56% perl5.8.8 ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -s 1
last pid: 25559; load averages: 0.11, 0.11, 0.05 up 0+13:18:10 08:33:47 27 processes 0.0 running 0.0 sleepin 0.0 5.7 94.3 412 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7548K Free 0.73 3 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.07% perl5.8.8 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -s 1
last pid: 25559; load averages: 0.11, 0.11, 0.05 up 0+13:18:10 08:33:47 27 processes 0.0 running 0.0 sleepin 0.0 5.7 94.3 412 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7548K Free 0.73 3 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.07% perl5.8.8 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -s 1
last pid: 25559; load averages: 0.11, 0.11, 0.05 up 0+13:18:10 08:33:47 27 processes 0.0 running 0.0 sleepin 0.0 5.7 94.3 412 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7548K Free 0.73 3 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.07% perl5.8.8 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -b
last pid: 25565; load averages: 0.09, 0.11, 0.05 up 0+13:18:21 08:33:58 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7572K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.03% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:35 0.88% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#top -b
last pid: 25565; load averages: 0.09, 0.11, 0.05 up 0+13:18:21 08:33:58 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7572K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.03% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:35 0.88% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#top -b
last pid: 25565; load averages: 0.09, 0.11, 0.05 up 0+13:18:21 08:33:58 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7572K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.03% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:35 0.88% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#top -n3
top: illegal option -- 3 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -n3
top: illegal option -- 3 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -n3
top: illegal option -- 3 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top 3
last pid: 25577; load averages: 0.07, 0.10, 0.04 up 0+13:18:42 08:34:19 27 processes 0.0 running 0.0 sleepin 0.0 6.8 93.2 408 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7544K Free 0.83 Swap: 999M Total, 999M Free 0.78 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.32% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:35 1.22% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin |
#top 3
last pid: 25577; load averages: 0.07, 0.10, 0.04 up 0+13:18:42 08:34:19 27 processes 0.0 running 0.0 sleepin 0.0 6.8 93.2 408 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7544K Free 0.83 Swap: 999M Total, 999M Free 0.78 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:31 1.32% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:35 1.22% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin |
#top 10
last pid: 25583; load averages: 0.06, 0.10, 0.04 up 0+13:18:44 08:34:21 27 processes: 1 running, 26 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7540K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 4:35 1.03% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:31 0.93% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail 674 root 1 96 0 1340K 800K select 0:01 0.00% script 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd |
#top 10
last pid: 25583; load averages: 0.06, 0.10, 0.04 up 0+13:18:44 08:34:21 27 processes: 1 running, 26 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7540K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 4:35 1.03% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:31 0.93% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail 674 root 1 96 0 1340K 800K select 0:01 0.00% script 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd |
#man top
|
#man top
|
#man top
|
#top -b
last pid: 25601; load averages: 0.02, 0.07, 0.04 up 0+13:19:54 08:35:31 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7328K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:32 0.00% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:36 0.00% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#top -b
last pid: 25601; load averages: 0.02, 0.07, 0.04 up 0+13:19:54 08:35:31 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7328K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:32 0.00% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:36 0.00% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#top -b
last pid: 25601; load averages: 0.02, 0.07, 0.04 up 0+13:19:54 08:35:31 27 processes: 1 running, 26 sleeping Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7328K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 9:32 0.00% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 4:36 0.00% perl5.8.8 668 gdm 1 96 0 23948K 7408K select 1:59 0.00% gdmlogin 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail ... 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd |
#man top
|
#man top
|
#top -q 0
last pid: 25616; load averages: 0.09, 0.07, 0.04 up 0+13:22:05 08:37:42 1 6 27 processes 0.4 running 0.0 sleepin 0.0 6.8 92.9 156 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7292K Free 676 624K 6748 9:36 2.00 556K 6712 4:39 1.61 14268 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K RUN 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q 0
last pid: 25616; load averages: 0.09, 0.07, 0.04 up 0+13:22:05 08:37:42 1 6 27 processes 0.4 running 0.0 sleepin 0.0 6.8 92.9 156 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7292K Free 676 624K 6748 9:36 2.00 556K 6712 4:39 1.61 14268 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K RUN 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q 0
last pid: 25616; load averages: 0.09, 0.07, 0.04 up 0+13:22:05 08:37:42 1 6 27 processes 0.4 running 0.0 sleepin 0.0 6.8 92.9 156 CPU states: % user, % nice, % system, % interrupt, % idle Command not understood Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7292K Free 676 624K 6748 9:36 2.00 556K 6712 4:39 1.61 14268 ... 25367 root 1 96 0 6252K 2812K select 0:00 0.00% sshd 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K RUN 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q -
top: illegal option -- 2 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -q -
top: illegal option -- 2 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -q -
top: illegal option -- 2 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top q -20
last pid: 25628; load averages: 0.22, 0.10, 0.05 up 0+13:22:17 08:37:54 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.2 160 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7288K Free Swap: 999M Total, 999M Free |
#top q -20
last pid: 25628; load averages: 0.22, 0.10, 0.05 up 0+13:22:17 08:37:54 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.2 160 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7288K Free Swap: 999M Total, 999M Free |
#top q -20
last pid: 25628; load averages: 0.22, 0.10, 0.05 up 0+13:22:17 08:37:54 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.2 160 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7288K Free Swap: 999M Total, 999M Free |
#top q -20
last pid: 25628; load averages: 0.22, 0.10, 0.05 up 0+13:22:17 08:37:54 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.2 160 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7288K Free Swap: 999M Total, 999M Free |
#top -q=
top: illegal option -- = Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -q=
top: illegal option -- = Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -q=
top: illegal option -- = Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#man top
|
#man top
|
#top -q
last pid: 25649; load averages: 0.05, 0.07, 0.04 up 0+13:23:36 08:39:13 1 6 27 processes 0.4 running 0.0 sleepin 0.4 5.6 93.6 140 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7280K Free 14268 8 556K 6712K nanslp 4:42 2.05 Swap: 999M Total, 999M 8ee 624K 6748K nanslp 9:38 1.86 676 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -q
last pid: 25649; load averages: 0.05, 0.07, 0.04 up 0+13:23:36 08:39:13 1 6 27 processes 0.4 running 0.0 sleepin 0.4 5.6 93.6 140 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7280K Free 14268 8 556K 6712K nanslp 4:42 2.05 Swap: 999M Total, 999M 8ee 624K 6748K nanslp 9:38 1.86 676 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25411 root 1 8 0 3264K 2012K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#man top
|
#man top
|
#top -d5
last pid: 25667; load averages: 0.22, 0.11, 0.05 up 0+13:25:02 08:40:39 1 6 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.3 124 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7260K Free 676 8 624K 6748 nanslp 9:42 5.62 Swap: 999M Total, 999M 8ee 556K 6712 nanslp 4:46 5.62 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -d5
last pid: 25667; load averages: 0.22, 0.11, 0.05 up 0+13:25:02 08:40:39 1 6 27 processes 0.4 running 0.0 sleepin 0.4 6.0 93.3 124 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7260K Free 676 8 624K 6748 nanslp 9:42 5.62 Swap: 999M Total, 999M 8ee 556K 6712 nanslp 4:46 5.62 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -s1 -S
last pid: 25673; load averages: 0.12, 0.10, 0.05 up 0+13:25:35 08:41:12 9 71 processes 0.8 running 0.0 sleepin 3.89 waiting 6.0 89.5 120 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7256K Free 28 89.06 Swap: 999M Total, 999M Free WAIT 30 5.03 624K 6748 9:43 1.27 676 556K 6712 4:46 1.27 ... 4 root 1 -8 0 0K 8K - 0:15 0.00% g_down 3 root 1 -8 0 0K 8K - 0:11 0.00% g_up 29 root 1 0 0 0K 8K tzpoll 0:09 0.00% acpi_thermal 37 root 1 171 52 0K 8K pgzero 0:07 0.00% pagezero 21 root 1 -64 -183 0K 8K WAIT 0:07 0.00% irq14: ata0 42 root 1 -32 0 0K 8K - 0:05 0.00% schedcpu 2 root 1 -8 0 0K 8K - 0:03 0.00% g_event 14 root 1 -16 0 0K 8K - 0:03 0.00% yarrow 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail 20 root 1 -68 -187 0K 8K WAIT 0:01 0.00% irq18: xl0 |
#top -s1 -S
last pid: 25673; load averages: 0.12, 0.10, 0.05 up 0+13:25:35 08:41:12 9 71 processes 0.8 running 0.0 sleepin 3.89 waiting 6.0 89.5 120 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7256K Free 28 89.06 Swap: 999M Total, 999M Free WAIT 30 5.03 624K 6748 9:43 1.27 676 556K 6712 4:46 1.27 ... 4 root 1 -8 0 0K 8K - 0:15 0.00% g_down 3 root 1 -8 0 0K 8K - 0:11 0.00% g_up 29 root 1 0 0 0K 8K tzpoll 0:09 0.00% acpi_thermal 37 root 1 171 52 0K 8K pgzero 0:07 0.00% pagezero 21 root 1 -64 -183 0K 8K WAIT 0:07 0.00% irq14: ata0 42 root 1 -32 0 0K 8K - 0:05 0.00% schedcpu 2 root 1 -8 0 0K 8K - 0:03 0.00% g_event 14 root 1 -16 0 0K 8K - 0:03 0.00% yarrow 595 root 1 96 0 3488K 2312K select 0:02 0.00% sendmail 20 root 1 -68 -187 0K 8K WAIT 0:01 0.00% irq18: xl0 |
#man top
|
#man top
|
#top
last pid: 25688; load averages: 0.33, 0.15, 0.07 up 0+13:26:09 08:41:46 1 6 27 processes 0.0 running 0.0 sleepin 0.0 6.0 94.0 104 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7240K Free 676 8 624K 6748K nanslp 9:45 6.69 Swap: 999M Total, 999M 8ee 556K 6712K nanslp 4:49 6.25 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top
last pid: 25688; load averages: 0.33, 0.15, 0.07 up 0+13:26:09 08:41:46 1 6 27 processes 0.0 running 0.0 sleepin 0.0 6.0 94.0 104 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7240K Free 676 8 624K 6748K nanslp 9:45 6.69 Swap: 999M Total, 999M 8ee 556K 6712K nanslp 4:49 6.25 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top
last pid: 25688; load averages: 0.33, 0.15, 0.07 up 0+13:26:09 08:41:46 1 6 27 processes 0.0 running 0.0 sleepin 0.0 6.0 94.0 104 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7240K Free 676 8 624K 6748K nanslp 9:45 6.69 Swap: 999M Total, 999M 8ee 556K 6712K nanslp 4:49 6.25 14268 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#man top
|
#man top
|
#man top
|
#man top
|
#man top
|
#man top
|
#top -0 cpu,time,res
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -0 cpu,time,res
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -0 cpu,time,res
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -0 cpu
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -0 cpu
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -0 cpu
top: illegal option -- 0 Top version 3.5beta12 Usage: top [-bCHIinqStuv] [-d count] [-m io | cpu] [-o field] [-s time] [-U username] [number] |
#top -ocpu,time,res
top: 'cpu,time,res' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -ocpu,time,res
top: 'cpu,time,res' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
Время первой команды журнала | 10:29:04 2006-12- 8 | |||||||||
Время последней команды журнала | 10:43:37 2006-12- 8 | |||||||||
Количество командных строк в журнале | 101 | |||||||||
Процент команд с ненулевым кодом завершения, % | 31.68 | |||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||
Суммарное время работы с терминалом *, час | 0.24 | |||||||||
Количество командных строк в единицу времени, команда/мин | 6.94 | |||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008