/l3/users/12-05-2008/nt-ladm/debian1.unix.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 |
|
#File: dir Node: Top This is the top of the INFO tree
init─┬─cron ├─events/0 ├─gdm ├─6*[getty] ├─inetd ├─khelper ├─klogd ├─ksoftirqd/0 ├─kthread─┬─aio/0 │ ├─kblockd/0 ... ├─2*[l3-agent] ├─migration/0 ├─screen───script───script───bash───ssh ├─sshd─┬─sshd───sshd───script───script───bash─┬─4*[less] │ │ └─ssh │ └─sshd───sshd───script───script───bash───su───script───script───bash─┬─su───script───script───bash─┬─su───script───script───bash───su───script───script───bash───su───script───script───bash─┬─su──+ │ │ │ └─vim │ │ └─vim │ └─3*[tee] └─syslogd |
#File: dir Node: Top This is the top of the INFO tree
init─┬─cron ├─events/0 ├─gdm ├─6*[getty] ├─inetd ├─khelper ├─klogd ├─ksoftirqd/0 ├─kthread─┬─aio/0 │ ├─kblockd/0 ... ├─2*[l3-agent] ├─migration/0 ├─screen───script───script───bash───ssh ├─sshd─┬─sshd───sshd───script───script───bash─┬─4*[less] │ │ └─ssh │ └─sshd───sshd───script───script───bash───su───script───script───bash─┬─su───script───script───bash─┬─su───script───script───bash───su───script───script───bash───su───script───script───bash─┬─su──+ │ │ │ └─vim │ │ └─vim │ └─3*[tee] └─syslogd |
#File: dir Node: Top This is the top of the INFO tree
init─┬─cron ├─events/0 ├─gdm ├─6*[getty] ├─inetd ├─khelper ├─klogd ├─ksoftirqd/0 ├─kthread─┬─aio/0 │ ├─kblockd/0 ... ├─2*[l3-agent] ├─migration/0 ├─screen───script───script───bash───ssh ├─sshd─┬─sshd───sshd───script───script───bash─┬─4*[less] │ │ └─ssh │ └─sshd───sshd───script───script───bash───su───script───script───bash─┬─su───script───script───bash─┬─su───script───script───bash───su───script───script───bash───su───script───script───bash─┬─su──+ │ │ │ └─vim │ │ └─vim │ └─3*[tee] └─syslogd |
#ps -aux | grep -v *%CPU | sort -n
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v *%CPU | sort -n
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v *%CPU | sort -n
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v *%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 13:57 l3-agent user 1341 49.5 2.1 15772 11092 ? Rs May13 1406:23 l3-agent |
#ps -aux | grep -v *%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 13:57 l3-agent user 1341 49.5 2.1 15772 11092 ? Rs May13 1406:23 l3-agent |
#ps -aux | grep -v *%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 13:57 l3-agent user 1341 49.5 2.1 15772 11092 ? Rs May13 1406:23 l3-agent |
#ps -aux | grep -v USER. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v USER. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v USER. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user.~ *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user.~ *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user.~ *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v user. *%CPU | sort -n +3
grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v USER | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:02 l3-agent user 1341 49.5 2.0 15476 10796 ? Rs May13 1407:02 l3-agent |
#ps -aux | grep -v USER | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:02 l3-agent user 1341 49.5 2.0 15476 10796 ? Rs May13 1407:02 l3-agent |
#ps -aux | grep -v USER | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:02 l3-agent user 1341 49.5 2.0 15476 10796 ? Rs May13 1407:02 l3-agent |
#ps -aux | grep -v USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20470 0.0 0.1 5172 992 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20470 0.0 0.1 5172 992 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20470 0.0 0.1 5172 992 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v .USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20479 0.0 0.1 5172 988 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v .USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20479 0.0 0.1 5172 988 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v .USER
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20479 0.0 0.1 5172 988 ttypd R+ 09:59 0:00 ps -aux |
#ps -aux | grep -v .USER *PID. *%CPU
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER *PID. *%CPU
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER *PID. *%CPU
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER*PID.*%CPU
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20497 0.0 0.1 5176 996 ttypd R+ 10:00 0:00 ps -aux root 20498 0.0 0.1 4624 744 ttypd R+ 10:00 0:00 grep -v .USER*PID.*%CPU |
#ps -aux | grep -v .USER*PID.*%CPU
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20497 0.0 0.1 5176 996 ttypd R+ 10:00 0:00 ps -aux root 20498 0.0 0.1 4624 744 ttypd R+ 10:00 0:00 grep -v .USER*PID.*%CPU |
#ps -aux | grep -v .USER*PID.*%CPU
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20497 0.0 0.1 5176 996 ttypd R+ 10:00 0:00 ps -aux root 20498 0.0 0.1 4624 744 ttypd R+ 10:00 0:00 grep -v .USER*PID.*%CPU |
#ps -aux | grep -v .USER *PID. *%CPU | sort -n +3
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" \Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER *PID. *%CPU | sort -n +3
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" \Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER *PID. *%CPU | sort -n +3
grep: *PID.: No such file or directory grep: *%CPU: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" \Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:10 l3-agent user 1341 49.6 2.1 15772 11092 ? Rs May13 1408:27 l3-agent |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:10 l3-agent user 1341 49.6 2.1 15772 11092 ? Rs May13 1408:27 l3-agent |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:10 l3-agent user 1341 49.6 2.1 15772 11092 ? Rs May13 1408:27 l3-agent |
#ps -aux | grep -v .USER*PID.*%CPU | sort -nv +3
sort: invalid option -- v Попробуйте `sort --help' для получения более подробного описания. Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER*PID.*%CPU | sort -nv +3
sort: invalid option -- v Попробуйте `sort --help' для получения более подробного описания. Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER*PID.*%CPU | sort -nv +3
sort: invalid option -- v Попробуйте `sort --help' для получения более подробного описания. Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:12 l3-agent user 1341 49.6 2.0 15476 10796 ? Rs May13 1408:43 l3-agent |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:12 l3-agent user 1341 49.6 2.0 15476 10796 ? Rs May13 1408:43 l3-agent |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script ... root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i root 1248 0.4 1.7 14020 9260 ? Ss May13 14:12 l3-agent user 1341 49.6 2.0 15476 10796 ? Rs May13 1408:43 l3-agent |
#ps
PID TTY TIME CMD 18921 ttypd 00:00:00 bash 19038 ttypd 00:00:00 less 19046 ttypd 00:00:00 less 19076 ttypd 00:00:00 less 19084 ttypd 00:00:00 less 19821 ttypd 00:00:00 vim 20027 ttypd 00:00:00 top 20546 ttypd 00:00:00 ps |
#ps
PID TTY TIME CMD 18921 ttypd 00:00:00 bash 19038 ttypd 00:00:00 less 19046 ttypd 00:00:00 less 19076 ttypd 00:00:00 less 19084 ttypd 00:00:00 less 19821 ttypd 00:00:00 vim 20027 ttypd 00:00:00 top 20546 ttypd 00:00:00 ps |
#ps
PID TTY TIME CMD 18921 ttypd 00:00:00 bash 19038 ttypd 00:00:00 less 19046 ttypd 00:00:00 less 19076 ttypd 00:00:00 less 19084 ttypd 00:00:00 less 19821 ttypd 00:00:00 vim 20027 ttypd 00:00:00 top 20546 ttypd 00:00:00 ps |
#ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20554 0.0 0.1 5172 992 ttypd R+ 10:01 0:00 ps -aux |
#ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20554 0.0 0.1 5172 992 ttypd R+ 10:01 0:00 ps -aux |
#ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20554 0.0 0.1 5172 992 ttypd R+ 10:01 0:00 ps -aux |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm ... user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron root 12151 0.0 0.1 4788 708 ttyp4 T May14 0:00 tee /soft/ |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron root 12151 0.0 0.1 4788 708 ttyp4 T May14 0:00 tee /soft/ |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 1152 0.0 0.1 1636 620 ? Ss May13 0:00 /sbin/syslogd root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1169 0.0 0.1 1764 564 ? Ss May13 0:00 /usr/sbin/inetd root 11731 0.0 0.1 4788 712 ttyp4 T May14 0:00 tee /soft/ root 11802 0.0 0.1 4792 716 ttyp4 T May14 0:00 tee /soft/ root 1182 0.0 0.2 4936 1088 ? Ss May13 0:00 /usr/sbin/sshd root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm root 1209 0.0 0.1 2208 764 ? Ss May13 0:00 /usr/sbin/cron root 12151 0.0 0.1 4788 708 ttyp4 T May14 0:00 tee /soft/ |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] root 16284 0.0 0.0 1588 496 tty1 Ss+ May14 0:00 /sbin/getty 38400 tty1 |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] root 16284 0.0 0.0 1588 496 tty1 Ss+ May14 0:00 /sbin/getty 38400 tty1 |
#ps -aux | grep -v .USER*PID.*%CPU | sort -n +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1158 0.0 0.0 1588 380 ? Ss May13 0:00 /sbin/klogd -x root 1232 0.0 0.0 1588 496 tty2 Ss+ May13 0:00 /sbin/getty 38400 tty2 root 1233 0.0 0.0 1584 488 tty3 Ss+ May13 0:00 /sbin/getty 38400 tty3 root 1234 0.0 0.0 1588 496 tty4 Ss+ May13 0:00 /sbin/getty 38400 tty4 root 1235 0.0 0.0 1588 492 tty5 Ss+ May13 0:00 /sbin/getty 38400 tty5 root 1236 0.0 0.0 1584 488 tty6 Ss+ May13 0:00 /sbin/getty 38400 tty6 root 14516 0.0 0.0 4720 468 ttyp5 S+ May14 0:00 script -f -q /root/.lilalo//24719301122019525002-1210769397.script root 14614 0.0 0.0 4716 468 ttyp8 S+ May14 0:00 script -f -q /root/.lilalo//1273327214113172684-1210769489.script root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] root 16284 0.0 0.0 1588 496 tty1 Ss+ May14 0:00 /sbin/getty 38400 tty1 |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.2 16744 11980 ? Rs May13 1409:51 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:17 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.2 16744 11980 ? Rs May13 1409:51 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:17 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +3 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.2 16744 11980 ? Rs May13 1409:51 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:17 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20621 0.0 0.1 5176 996 ttypd R+ 10:03 0:00 ps aux |
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20621 0.0 0.1 5176 996 ttypd R+ 10:03 0:00 ps aux |
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] ... root 18883 0.0 0.1 4716 680 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18920 0.0 0.0 4720 468 ttypa S+ 06:54 0:00 script -f -q /root/.lilalo//175022624172301738-1210834478.script root 18921 0.0 0.3 5832 1876 ttypd Ss 06:54 0:00 bash -i root 19038 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/passwd root 19046 0.0 0.1 4876 824 ttypd T 06:56 0:00 less /etc/shadow root 19076 0.0 0.1 4872 824 ttypd T 06:57 0:00 less /etc/shadow root 19084 0.0 0.1 4876 828 ttypd T 06:57 0:00 less /etc/passwd root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab root 20027 0.0 0.2 2240 1148 ttypd T 08:58 0:00 top root 20621 0.0 0.1 5176 996 ttypd R+ 10:03 0:00 ps aux |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#ps -aux | grep -v .USER*PID.*%CPU | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#sort --help
ÐÑполÑзование: sort [ÐÐФÐÐРвÑÐµÑ Ð¤ÐÐнÑÑ, обÑзаÑелÑнÑе Ð´Ð»Ñ Ð´Ð»Ð¸Ð½Ð½ÑÑ ÐºÐ»ÑÑей, обÑзаÑелÑÐ½Ñ Ð¸ Ð´Ð»Ñ ÐºÐ¾ÑоÑÐºÐ¸Ñ . ÐлÑÑи, задаÑÑие поÑÑдок: -b, --ignore-leading-blanks игноÑиÑоваÑÑ Ð½Ð°ÑалÑнÑе пÑопÑÑки -d, --dictionary-order ÑаÑÑмаÑÑиваÑÑ ÑолÑко пÑопÑÑки, бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ -f, --ignore-case игноÑиÑоваÑÑ ÑегиÑÑÑ Ð±Ñкв -g, --general-numeric-sort ÑÑавниваÑÑ ÑиÑла в обÑем виде -i, --ignore-nonprinting ÑаÑÑмаÑÑиваÑÑ ÑолÑко пеÑаÑнÑе знаки -M, --month-sort ÑÑавниваÑÑ (неизвеÑÑно) < `JAN' < ... < `DEC' -n, --numeric-sort ÑÑавниваÑÑ ÑиÑленнÑе знаÑÐµÐ½Ð¸Ñ ÑÑÑок -r, --reverse обÑаÑиÑÑ ÑезÑлÑÑаÑÑ ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ ... клÑÑи Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ клÑÑевого полÑ. ÐÑли клÑÑевое поле не задано, в каÑеÑÑве клÑÑа иÑполÑзÑеÑÑÑ ÑÑÑока Ñеликом. ÐоÑле Ð ÐÐÐÐРРможно пиÑаÑÑ ÑледÑÑÑие ÑÑÑÑикÑÑ-мÑлÑÑипликаÑоÑÑ: % 1% памÑÑи, b 1, k 1024 (по ÑмолÑаниÑ), и Ñак далее Ð´Ð»Ñ M, G, T, P, E, Z, Y. ÐÑли ФÐÐндаÑÑнÑй ввод. *** ÐÐ ÐÐУÐÐ ÐÐÐÐÐÐÐ *** УÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð² ÑÑеде Ð»Ð¾ÐºÐ°Ð»Ñ Ð²Ð»Ð¸ÑÐµÑ Ð½Ð° поÑÑдок ÑоÑÑиÑовки. ЧÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÑÑадиÑионнÑй поÑÑдок, иÑполÑзÑÑÑий ÑиÑÑемнÑе знаÑÐµÐ½Ð¸Ñ Ð±Ð°Ð¹Ñ, ÑÑÑановиÑе LC_ALL=C. Ðб оÑÐ¸Ð±ÐºÐ°Ñ ÑообÑайÑе по адÑеÑÑ <bug-coreutils@gnu.org>. |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +4 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 20669 0.0 0.1 30124 600 ttypd S+ 10:05 0:00 sort -rn +4 user 1341 49.6 2.1 15932 11252 ? Rs May13 1411:58 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:24 l3-agent root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 4363 0.0 0.3 7868 1656 ? S May13 0:01 sshd: user@ttyp0 root 5883 0.0 0.4 7712 2284 ? Ss May14 0:00 sshd: user [priv] root 4361 0.0 0.4 7712 2284 ? Ss May13 0:00 sshd: user [priv] root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +4 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 20669 0.0 0.1 30124 600 ttypd S+ 10:05 0:00 sort -rn +4 user 1341 49.6 2.1 15932 11252 ? Rs May13 1411:58 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:24 l3-agent root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 4363 0.0 0.3 7868 1656 ? S May13 0:01 sshd: user@ttyp0 root 5883 0.0 0.4 7712 2284 ? Ss May14 0:00 sshd: user [priv] root 4361 0.0 0.4 7712 2284 ? Ss May13 0:00 sshd: user [priv] root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps -aux | grep -v .USER*PID.*%CPU.*RRS | sort -rn +4 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 20669 0.0 0.1 30124 600 ttypd S+ 10:05 0:00 sort -rn +4 user 1341 49.6 2.1 15932 11252 ? Rs May13 1411:58 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:24 l3-agent root 1197 0.0 0.3 13312 1920 ? Ss May13 0:00 /usr/sbin/gdm user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 4363 0.0 0.3 7868 1656 ? S May13 0:01 sshd: user@ttyp0 root 5883 0.0 0.4 7712 2284 ? Ss May14 0:00 sshd: user [priv] root 4361 0.0 0.4 7712 2284 ? Ss May13 0:00 sshd: user [priv] root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.1 16100 11420 ? Rs May13 1412:41 l3-agent root 1248 0.5 1.7 14020 9260 ? Rs May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.1 16100 11420 ? Rs May13 1412:41 l3-agent root 1248 0.5 1.7 14020 9260 ? Rs May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.1 16100 11420 ? Rs May13 1412:41 l3-agent root 1248 0.5 1.7 14020 9260 ? Rs May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps aux | head
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] |
#ps aux | head
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] |
#ps aux | head
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1960 648 ? Ss May13 0:00 init [2] root 2 0.0 0.0 0 0 ? S May13 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN May13 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< May13 0:00 [events/0] root 5 0.0 0.0 0 0 ? S< May13 0:00 [khelper] root 6 0.0 0.0 0 0 ? S< May13 0:00 [kthread] root 7 0.0 0.0 0 0 ? S< May13 0:00 [xenwatch] root 8 0.0 0.0 0 0 ? S< May13 0:00 [xenbus] root 16 0.0 0.0 0 0 ? S< May13 0:00 [kblockd/0] |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.0 15636 10956 ? Rs May13 1412:50 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.0 15636 10956 ? Rs May13 1412:50 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +5 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 1341 49.6 2.0 15636 10956 ? Rs May13 1412:50 l3-agent root 1248 0.5 1.7 14020 9260 ? Ss May13 14:28 l3-agent user 4418 0.0 0.7 8312 4152 ttyp1 Ss May13 0:00 bash -i user 13465 0.0 0.5 7036 2844 ttyp5 Ss May14 0:00 bash -i user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 14728 0.0 0.5 7032 2820 ttypa Ss May14 0:00 bash -i user 3687 0.0 0.5 7004 2772 ttyp7 Ss May13 0:00 bash -i root 19821 0.0 0.5 7256 2668 ttypd T 07:20 0:00 /usr/bin/vim /etc/fstab user 15819 0.0 0.5 7112 2648 ttypa T May14 0:00 /usr/bin/vim rnn user 14443 0.0 0.5 7112 2636 ttyp5 T May14 0:00 /usr/bin/vim /home/user/sh/rn |
#ps -aux | grep -v .USER*PID.*%CPU.*VSZ.*RRS | sort -rn +6 | head
sort: Warning: "+number" syntax is deprecated, please use "-k number" Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 5940 0.0 0.5 7036 2836 ttyp3 Ss May14 0:00 bash -i user 5939 0.0 0.0 4716 464 ttyp2 S+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5886 0.0 0.1 4712 676 ttyp2 Ss+ May14 0:00 script -f -q /home/user/.lilalo//3028538462021823762-1210749590.script user 5885 0.0 0.3 7868 1608 ? S May14 0:00 sshd: user@ttyp2 user 5879 0.0 0.4 4796 2512 ttyp1 S+ May14 0:01 ssh clint@192.168.16.254 user 4963 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4764 0.0 0.1 4876 812 ttyp1 T May13 0:00 less user 4753 0.0 0.1 4872 812 ttyp1 T May13 0:00 less user 4502 0.0 0.1 4876 816 ttyp1 T May13 0:00 less |
Время первой команды журнала | 12:56:56 2008- 5-15 | ||||||||||||||||||||||||
Время последней команды журнала | 13:06:05 2008- 5-15 | ||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.90 | ||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | ||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.15 | ||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 11.04 | ||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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