/l3/users/06-08-2012/NT-Ladm/debian1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
#touch mo1
![]() |
#touch mo1
|
#mount -t iso9660 /dev/sr0 /mnt
![]() mount: block device /dev/sr0 is write-protected, mounting read-only |
#mount -t iso9660 /dev/sr0 /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only |
#mount
![]() /dev/xvda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) /dev/xvdb5 on /root/formount/win type fuseblk (rw,allow_other,blksize=4096) /dev/sr0 on /mnt type iso9660 (ro) |
#mount
/dev/xvda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) /dev/xvdb5 on /root/formount/win type fuseblk (rw,allow_other,blksize=4096) /dev/sr0 on /mnt type iso9660 (ro) |
#ls /mnt
![]() autorun.inf g2ldr.mbr pool setup.exe css install README.html tools debian install.386 README.mirrors.html win32-loader.ini dists isolinux README.mirrors.txt doc md5sum.txt README.source g2ldr pics README.txt |
#ls /mnt
autorun.inf g2ldr.mbr pool setup.exe css install README.html tools debian install.386 README.mirrors.html win32-loader.ini dists isolinux README.mirrors.txt doc md5sum.txt README.source g2ldr pics README.txt |
#ps a
![]() PID TTY STAT TIME COMMAND 1183 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 1184 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1185 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1186 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1187 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1188 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 5204 pts/1 Ss 0:00 -bash 13063 pts/0 Ss 0:00 -bash 13080 pts/0 S 0:00 su root ... 13380 pts/1 S+ 0:00 screen 13382 pts/2 Ss 0:00 /bin/bash 13383 pts/0 S+ 0:00 screen -x 13384 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13415 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 14541 pts/4 R+ 0:00 ps a |
#ps a
PID TTY STAT TIME COMMAND 1183 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 1184 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1185 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1186 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1187 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1188 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 5204 pts/1 Ss 0:00 -bash 13063 pts/0 Ss 0:00 -bash 13080 pts/0 S 0:00 su root ... 13380 pts/1 S+ 0:00 screen 13382 pts/2 Ss 0:00 /bin/bash 13383 pts/0 S+ 0:00 screen -x 13384 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13415 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 14541 pts/4 R+ 0:00 ps a |
#ps a
![]() PID TTY STAT TIME COMMAND 1183 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 1184 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1185 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1186 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1187 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1188 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 5204 pts/1 Ss 0:00 -bash 13063 pts/0 Ss 0:00 -bash 13080 pts/0 S 0:00 su root ... 13380 pts/1 S+ 0:00 screen 13382 pts/2 Ss 0:00 /bin/bash 13383 pts/0 S+ 0:00 screen -x 13384 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13415 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 14557 pts/4 R+ 0:00 ps a |
#ps a
PID TTY STAT TIME COMMAND 1183 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 1184 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 1185 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 1186 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 1187 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 1188 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 5204 pts/1 Ss 0:00 -bash 13063 pts/0 Ss 0:00 -bash 13080 pts/0 S 0:00 su root ... 13380 pts/1 S+ 0:00 screen 13382 pts/2 Ss 0:00 /bin/bash 13383 pts/0 S+ 0:00 screen -x 13384 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13415 pts/2 S+ 0:00 script -f -c l3script -q /root/.lilalo//3094210019179 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 14557 pts/4 R+ 0:00 ps a |
#ps x
![]() PID TTY STAT TIME COMMAND 1 ? Ss 0:04 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 4 ? S 0:05 [kworker/0:0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:02 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] ... 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 13979 ? S< 0:00 udevd --daemon 13980 ? S< 0:00 udevd --daemon 14400 ? S 0:00 [flush-202:16] 14446 ? Ss 0:00 /sbin/mount.ntfs /dev/xvdb5 /root/formount/win/ -o rw 14487 ? S 0:00 [kworker/0:1] 14565 pts/4 R+ 0:00 ps x |
#ps x
PID TTY STAT TIME COMMAND 1 ? Ss 0:04 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 4 ? S 0:05 [kworker/0:0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:02 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] ... 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 13979 ? S< 0:00 udevd --daemon 13980 ? S< 0:00 udevd --daemon 14400 ? S 0:00 [flush-202:16] 14446 ? Ss 0:00 /sbin/mount.ntfs /dev/xvdb5 /root/formount/win/ -o rw 14487 ? S 0:00 [kworker/0:1] 14565 pts/4 R+ 0:00 ps x |
#ps ax
![]() PID TTY STAT TIME COMMAND 1 ? Ss 0:04 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 4 ? S 0:05 [kworker/0:0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:02 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] ... 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 13979 ? S< 0:00 udevd --daemon 13980 ? S< 0:00 udevd --daemon 14400 ? S 0:00 [flush-202:16] 14446 ? Ss 0:00 /sbin/mount.ntfs /dev/xvdb5 /root/formount/win/ -o rw 14487 ? S 0:00 [kworker/0:1] 14573 pts/4 R+ 0:00 ps ax |
#ps ax
PID TTY STAT TIME COMMAND 1 ? Ss 0:04 init [2] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 4 ? S 0:05 [kworker/0:0] 5 ? S 0:00 [kworker/u:0] 6 ? S 0:00 [migration/0] 7 ? S 0:02 [watchdog/0] 8 ? S< 0:00 [cpuset] 9 ? S< 0:00 [khelper] ... 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13573 pts/4 Ss 0:00 l3script 13979 ? S< 0:00 udevd --daemon 13980 ? S< 0:00 udevd --daemon 14400 ? S 0:00 [flush-202:16] 14446 ? Ss 0:00 /sbin/mount.ntfs /dev/xvdb5 /root/formount/win/ -o rw 14487 ? S 0:00 [kworker/0:1] 14573 pts/4 R+ 0:00 ps ax |
#ps U user
![]() PID TTY STAT TIME COMMAND 1614 ? Ss 0:59 l3-agent 13062 ? S 0:00 sshd: user@pts/0 13063 pts/0 Ss 0:00 -bash |
#ps U user
PID TTY STAT TIME COMMAND 1614 ? Ss 0:59 l3-agent 13062 ? S 0:00 sshd: user@pts/0 13063 pts/0 Ss 0:00 -bash |
#ps t pts/4
![]() PID TTY STAT TIME COMMAND 13573 pts/4 Ss 0:00 l3script 14614 pts/4 R+ 0:00 ps t pts/4 |
#ps t pts/4
PID TTY STAT TIME COMMAND 13573 pts/4 Ss 0:00 l3script 14614 pts/4 R+ 0:00 ps t pts/4 |
#ps t pts/3
![]() PID TTY STAT TIME COMMAND 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 |
#ps t pts/3
PID TTY STAT TIME COMMAND 13416 pts/3 Ss 0:00 l3script 13541 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 13572 pts/3 S+ 0:00 script -f -c l3script -q /root/.lilalo//1998530714222 |
#ps axu
![]() USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2084 684 ? Ss Aug06 0:04 init [2] root 2 0.0 0.0 0 0 ? S Aug06 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S Aug06 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S Aug06 0:05 [kworker/0:0] root 5 0.0 0.0 0 0 ? S Aug06 0:00 [kworker/u:0] root 6 0.0 0.0 0 0 ? S Aug06 0:00 [migration/0] root 7 0.0 0.0 0 0 ? S Aug06 0:02 [watchdog/0] root 8 0.0 0.0 0 0 ? S< Aug06 0:00 [cpuset] root 9 0.0 0.0 0 0 ? S< Aug06 0:00 [khelper] ... root 13416 0.0 0.3 6384 1888 pts/3 Ss 13:39 0:00 l3script root 13541 0.0 0.1 5144 724 pts/3 S+ 14:44 0:00 script -f -c l3 root 13572 0.0 0.0 5148 416 pts/3 S+ 14:44 0:00 script -f -c l3 root 13573 0.0 0.3 6384 1900 pts/4 Ss 14:44 0:00 l3script root 13979 0.0 0.1 2408 792 ? S< 15:02 0:00 udevd --daemon root 13980 0.0 0.1 2408 724 ? S< 15:02 0:00 udevd --daemon root 14400 0.0 0.0 0 0 ? S 15:35 0:00 [flush-202:16] root 14446 0.0 0.1 5820 956 ? Ss 15:36 0:00 /sbin/mount.ntf root 14487 0.0 0.0 0 0 ? S 15:42 0:00 [kworker/0:1] root 14654 0.0 0.2 5624 1052 pts/4 R+ 16:23 0:00 ps axu |
#ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2084 684 ? Ss Aug06 0:04 init [2] root 2 0.0 0.0 0 0 ? S Aug06 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S Aug06 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S Aug06 0:05 [kworker/0:0] root 5 0.0 0.0 0 0 ? S Aug06 0:00 [kworker/u:0] root 6 0.0 0.0 0 0 ? S Aug06 0:00 [migration/0] root 7 0.0 0.0 0 0 ? S Aug06 0:02 [watchdog/0] root 8 0.0 0.0 0 0 ? S< Aug06 0:00 [cpuset] root 9 0.0 0.0 0 0 ? S< Aug06 0:00 [khelper] ... root 13416 0.0 0.3 6384 1888 pts/3 Ss 13:39 0:00 l3script root 13541 0.0 0.1 5144 724 pts/3 S+ 14:44 0:00 script -f -c l3 root 13572 0.0 0.0 5148 416 pts/3 S+ 14:44 0:00 script -f -c l3 root 13573 0.0 0.3 6384 1900 pts/4 Ss 14:44 0:00 l3script root 13979 0.0 0.1 2408 792 ? S< 15:02 0:00 udevd --daemon root 13980 0.0 0.1 2408 724 ? S< 15:02 0:00 udevd --daemon root 14400 0.0 0.0 0 0 ? S 15:35 0:00 [flush-202:16] root 14446 0.0 0.1 5820 956 ? Ss 15:36 0:00 /sbin/mount.ntf root 14487 0.0 0.0 0 0 ? S 15:42 0:00 [kworker/0:1] root 14654 0.0 0.2 5624 1052 pts/4 R+ 16:23 0:00 ps axu |
#ps axlu
![]() ERROR: Conflicting format options. ********* simple selection ********* ********* selection by list ********* -A all processes -C by command name -N negate selection -G by real group ID (supports names) -a all w/ tty except session leaders -U by real user ID (supports names) -d all except session leaders -g by session OR by effective group name -e all processes -p by process ID T all processes on this terminal -s processes in the sessions given a all w/ tty, including other users -t by tty g OBSOLETE -- DO NOT USE -u by effective user ID (supports names) ... -o,o user-defined -f full --Group --User --pid --cols --ppid -j,j job control s signal --group --user --sid --rows --info -O,O preloaded -o v virtual memory --cumulative --format --deselect -l,l long u user-oriented --sort --tty --forest --version -F extra full X registers --heading --no-heading --context ********* misc options ********* -V,V show version L list format codes f ASCII art forest -m,m,-L,-T,H threads S children in sum -y change -l format -M,Z security data c true command name -c scheduling class -w,w wide output n numeric WCHAN,UID -H process hierarchy |
#ps axlu
![]() ERROR: Conflicting format options. ********* simple selection ********* ********* selection by list ********* -A all processes -C by command name -N negate selection -G by real group ID (supports names) -a all w/ tty except session leaders -U by real user ID (supports names) -d all except session leaders -g by session OR by effective group name -e all processes -p by process ID T all processes on this terminal -s processes in the sessions given a all w/ tty, including other users -t by tty g OBSOLETE -- DO NOT USE -u by effective user ID (supports names) ... -o,o user-defined -f full --Group --User --pid --cols --ppid -j,j job control s signal --group --user --sid --rows --info -O,O preloaded -o v virtual memory --cumulative --format --deselect -l,l long u user-oriented --sort --tty --forest --version -F extra full X registers --heading --no-heading --context ********* misc options ********* -V,V show version L list format codes f ASCII art forest -m,m,-L,-T,H threads S children in sum -y change -l format -M,Z security data c true command name -c scheduling class -w,w wide output n numeric WCHAN,UID -H process hierarchy |
#top
![]() top - 16:26:46 up 2 days, 7:25, 1 user, load average: 0.01, 0.02, 0.05 Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 229196k used, 284476k free, 72060k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 103292k cached 13381 root 20 0 6332 1408 932 S 0.3 0.3 0:00.98 screen 14688 root 20 0 2384 1052 824 R 0.3 0.2 0:00.01 top 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd |
#top
top - 16:26:43 up 2 days, 7:25, 1 user, load average: 0.01, 0.02, 0.05 Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 1.2%us, 0.0%sy, 0.0%ni, 98.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 229196k used, 284476k free, 72056k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 103284k cached 1430 root 20 0 20484 14m 1520 S 2.0 2.9 130:00.24 l3-agent 13572 root 20 0 5148 416 292 S 0.3 0.1 0:00.12 script 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd |
#ssh root@192.168.13.253
![]() top - 16:30:03 up 26 days, 23:59, 3 users, load average: 0.02, 0.04, 0.05 Tasks: 179 total, 1 running, 178 sleeping, 0 stopped, 0 zombie Cpu0 : 0.3%us, 0.9%sy, 0.0%ni, 97.8%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 0.2%us, 0.3%sy, 0.0%ni, 99.0%id, 0.3%wa, 0.0%hi, 0.0%si, 0.2%st PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7291 root 20 0 19116 1300 916 R 4 0.0 0:00.02 top 9124 root 20 0 223m 828 560 S 3 0.0 937:46.89 qemu-dm 9124 root 20 0 223m 828 560 S 2 0.0 937:46.71 qemu-dm 18074 root 20 0 1122m 1408 1120 S 1 0.0 244:13.10 qemu-dm ... 28192 root 20 0 116m 1048 1048 S 0 0.0 9:33.89 qemu-dm 1 root 20 0 8404 292 292 S 0 0.0 0:25.15 init root@fobos:~# exit 0 0 0 0 S 0 0.0 0:00.10 kthreadd logoutroot 20 0 0 0 0 S 0 0.0 0:15.82 ksoftirqd/0 Connection to 192.168.13.253 closed. 0 S 0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 9 root 20 0 0 0 0 S 0 0.0 1:01.51 ksoftirqd/1 10 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset 11 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper 12 root 20 0 0 0 0 S 0 0.0 0:00.02 kworker/u:1 |
#ssh root@192.168.13.253
root@192.168.13.253's password: Linux fobos 3.1.0-rc9+ #1 SMP Mon Jun 18 15:44:37 EEST 2012 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 8 14:25:05 2012 from 192.168.13.3 root@fobos:~# root@fobos:~# ... 28192 root 20 0 116m 1048 1048 S 0 0.0 9:33.89 qemu-dm 1 root 20 0 8404 292 292 S 0 0.0 0:25.15 init root@fobos:~# exit 0 0 0 0 S 0 0.0 0:00.10 kthreadd logoutroot 20 0 0 0 0 S 0 0.0 0:15.82 ksoftirqd/0 Connection to 192.168.13.253 closed. 0 S 0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 9 root 20 0 0 0 0 S 0 0.0 1:01.51 ksoftirqd/1 10 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset 11 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper 12 root 20 0 0 0 0 S 0 0.0 0:00.02 kworker/u:1 |
#top -d 0.1
![]() top - 16:31:28 up 2 days, 7:29, 1 user, load average: 0.09, 0.12, 0.08 Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 4.8%sy, 0.0%ni, 95.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 230808k used, 282864k free, 72372k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 104412k cached 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.96 ksoftirqd/0 4 root 20 0 0 0 0 S 0.0 0.0 0:05.25 kworker/0:0 ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -d 0.1
top - 16:31:27 up 2 days, 7:29, 1 user, load average: 0.09, 0.12, 0.08 Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 4.8%sy, 0.0%ni, 95.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 230800k used, 282872k free, 72372k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 104404k cached 5201 root 20 0 8524 2952 2332 S 8.9 0.6 0:03.96 sshd 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 4 root 20 0 0 0 0 S 0.0 0.0 0:05.25 kworker/0:0 ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -d 0.01
![]() top - 16:31:35 up 2 days, 7:30, 1 user, load average: 0.08, 0.12, 0.08 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 66.7%us, 33.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 231048k used, 282624k free, 72388k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 104564k cached 1430 root 20 0 20484 14m 1520 R 70.7 2.9 130:58.18 l3-agent 13381 root 20 0 6332 1408 932 S 35.4 0.3 0:01.20 screen 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default |
#top -d 0.01
top - 16:31:35 up 2 days, 7:30, 1 user, load average: 0.08, 0.12, 0.08 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s):100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 231048k used, 282624k free, 72388k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 104564k cached 1430 root 20 0 20484 14m 1520 R 99.3 2.9 130:58.14 l3-agent 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.96 ksoftirqd/0 ... 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default |
#top -d 0.001
![]() top - 16:31:53 up 2 days, 7:30, 1 user, load average: 0.41, 0.19, 0.10 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 50.0%us, 50.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 233280k used, 280392k free, 72400k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 106700k cached 1430 root 20 0 20484 14m 1520 R 60.4 2.9 131:10.45 l3-agent 13062 user 20 0 8444 1424 916 S 69.5 0.3 0:01.92 sshd 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -d 0.001
top - 16:31:53 up 2 days, 7:30, 1 user, load average: 0.41, 0.19, 0.10 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 50.0%us, 50.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 233280k used, 280392k free, 72400k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 106700k cached 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.96 ksoftirqd/0 4 root 20 0 0 0 0 S 0.0 0.0 0:05.25 kworker/0:0 ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -p 1430 5201
![]() top: unknown argument '5' usage: top -hv | -bcisSH -d delay -n iterations [-u user | -U user] -p pid [,pid ...] |
#top -p 1430 5201
![]() top: unknown argument '5' usage: top -hv | -bcisSH -d delay -n iterations [-u user | -U user] -p pid [,pid ...] |
#top -p 1430
![]() top - 16:32:32 up 2 days, 7:31, 1 user, load average: 1.00, 0.38, 0.17 Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie Cpu(s): 2.0%us, 0.0%sy, 0.0%ni, 97.7%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 237992k used, 275680k free, 72456k buffers Swap: 688124k total, 0k used, 688124k free, 111364k cached top - 16:32:38 up 2 days, 7:31, 1 user, load average: 1.00, 0.39, 0.18 Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie Cpu(s): 99.7%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.3%st Mem: 513672k total, 238000k used, 275672k free, 72464k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111368k cached 1430 root 20 0 20484 14m 1520 R 99.9 2.9 131:44.31 l3-agent |
#top -p 1430
top - 16:32:38 up 2 days, 7:31, 1 user, load average: 1.00, 0.39, 0.18 Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie Cpu(s): 99.7%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.3%st Mem: 513672k total, 238000k used, 275672k free, 72464k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111368k cached 1430 root 20 0 20484 14m 1520 R 99.9 2.9 131:44.31 l3-agent |
#top -n 3
![]() top - 16:33:02 up 2 days, 7:31, 1 user, load average: 1.00, 0.44, 0.20 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 99.0%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.3%st Mem: 513672k total, 238000k used, 275672k free, 72484k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111380k cached 1430 root 20 0 20484 14m 1520 R 99.6 2.9 132:08.33 l3-agent 14774 root 20 0 2384 1052 824 R 0.3 0.2 0:00.01 top 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -n 3
top - 16:32:56 up 2 days, 7:31, 1 user, load average: 1.00, 0.43, 0.20 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 2.1%us, 0.0%sy, 0.0%ni, 97.7%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 238000k used, 275672k free, 72476k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111372k cached 1430 root 20 0 20484 14m 1520 R 99.3 2.9 132:02.32 l3-agent 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.97 ksoftirqd/0 ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top -n 3
![]() top - 16:33:12 up 2 days, 7:31, 1 user, load average: 1.00, 0.46, 0.21 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 2.1%us, 0.0%sy, 0.0%ni, 97.7%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 237992k used, 275680k free, 72488k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111384k cached 1430 root 20 0 20484 14m 1520 R 99.3 2.9 132:17.91 l3-agent top - 16:33:18 up 2 days, 7:31, 1 user, load average: 1.00, 0.47, 0.21 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 99.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st ... 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default |
#top -n 3
top - 16:33:15 up 2 days, 7:31, 1 user, load average: 1.00, 0.46, 0.21 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 99.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 238000k used, 275672k free, 72488k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111388k cached 1430 root 20 0 20484 14m 1520 R 99.8 2.9 132:20.92 l3-agent 1614 user 20 0 13104 7724 1464 S 0.3 1.5 0:59.43 l3-agent 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default |
#top -b
![]() top - 16:33:33 up 2 days, 7:32, 1 user, load average: 1.00, 0.49, 0.23 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 2.1%us, 0.0%sy, 0.0%ni, 97.7%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 238248k used, 275424k free, 72500k buffers Swap: 688124k total, 0k used, 688124k free, 111396k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1430 root 20 0 20880 14m 1520 R 99.3 3.0 132:39.04 l3-agent 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.97 ksoftirqd/0 ... 13416 root 20 0 6384 1888 1416 S 0.0 0.4 0:00.10 l3script 13541 root 20 0 5144 724 600 S 0.0 0.1 0:00.05 script 13572 root 20 0 5148 416 292 S 0.0 0.1 0:01.56 script 13573 root 20 0 6384 1900 1428 S 0.0 0.4 0:00.88 l3script 13979 root 18 -2 2408 792 364 S 0.0 0.2 0:00.00 udevd 13980 root 18 -2 2408 724 316 S 0.0 0.1 0:00.00 udevd 14400 root 20 0 0 0 0 S 0.0 0.0 0:00.00 flush-202:16 14446 root 20 0 5820 956 584 S 0.0 0.2 0:00.00 mount.ntfs 14487 root 20 0 0 0 0 R 0.0 0.0 0:02.55 kworker/0:1 ^C |
#top -b
![]() top - 16:33:33 up 2 days, 7:32, 1 user, load average: 1.00, 0.49, 0.23 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 2.1%us, 0.0%sy, 0.0%ni, 97.7%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 513672k total, 238248k used, 275424k free, 72500k buffers Swap: 688124k total, 0k used, 688124k free, 111396k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1430 root 20 0 20880 14m 1520 R 99.3 3.0 132:39.04 l3-agent 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.26 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.97 ksoftirqd/0 ... 13416 root 20 0 6384 1888 1416 S 0.0 0.4 0:00.10 l3script 13541 root 20 0 5144 724 600 S 0.0 0.1 0:00.05 script 13572 root 20 0 5148 416 292 S 0.0 0.1 0:01.56 script 13573 root 20 0 6384 1900 1428 S 0.0 0.4 0:00.88 l3script 13979 root 18 -2 2408 792 364 S 0.0 0.2 0:00.00 udevd 13980 root 18 -2 2408 724 316 S 0.0 0.1 0:00.00 udevd 14400 root 20 0 0 0 0 S 0.0 0.0 0:00.00 flush-202:16 14446 root 20 0 5820 956 584 S 0.0 0.2 0:00.00 mount.ntfs 14487 root 20 0 0 0 0 R 0.0 0.0 0:02.55 kworker/0:1 ^C |
#top
![]() Help for Interactive Commands - procps version 3.2.8 Window 1:Def: Cumulative mode Off. System: Delay 3.0 secs; Secure mode Off. Z,B Global: 'Z' change color mappings; 'B' disable/enable bold l,t,m Toggle Summaries: 'l' load avg; 't' task/cpu stats; 'm' mem info 1,I Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode f,o . Fields/Columns: 'f' add or remove; 'o' change display order F or O . Select sort field <,> . Move sort field: '<' next col left; '>' next col right R,H . Toggle: 'R' normal/reverse sort; 'H' show threads c,i,S . Toggle: 'c' cmd name/line; 'i' idle tasks; 'S' cumulative time ... 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top
top - 16:33:56 up 2 days, 7:32, 1 user, load average: 1.00, 0.53, 0.24 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 99.4%us, 0.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.4%st Mem: 513672k total, 238620k used, 275052k free, 72532k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111472k cached 1430 root 20 0 21188 15m 1520 R 99.7 3.0 133:01.69 l3-agent 1,I Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode 1431 root 20 0 0 0 0 S 0.2 0.0 0:01.55 flush-202:0 1614 user 20 0 13104 7724 1464 S 0.2 1.5 0:59.44 l3-agent ... 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top
![]() top - 16:34:22 up 2 days, 7:32, 1 user, load average: 1.00, 0.57, 0.27 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 98.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 1.0%st Mem: 513672k total, 238868k used, 274804k free, 72572k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111516k cached 1430 root 20 0 21188 15m 1520 R 99.7 3.0 133:24.60 l3-agent 5201 root 20 0 8524 2952 2332 S 0.3 0.6 0:06.45 sshd 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.27 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#top
top - 16:34:13 up 2 days, 7:32, 1 user, load average: 1.00, 0.56, 0.26 Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie Cpu(s): 99.0%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.7%st Mem: 513672k total, 238868k used, 274804k free, 72556k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 688124k total, 0k used, 688124k free, 111508k cached 1430 root 20 0 21188 15m 1520 R 99.4 3.0 133:18.58 l3-agent 13062 user 20 0 8444 1424 916 S 0.3 0.3 0:03.53 sshd 13381 root 20 0 6332 1408 932 S 0.3 0.3 0:03.98 screen 1 root 20 0 2084 684 588 S 0.0 0.1 0:04.27 init ... 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0.0 0.0 0:02.20 watchdog/0 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 xenbus 13 root 20 0 0 0 0 S 0.0 0.0 0:00.46 sync_supers 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd |
#kill -l
![]() 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR 31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3 38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8 43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7 58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2 63) SIGRTMAX-1 64) SIGRTMAX |
#kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR 31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3 38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8 43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7 58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2 63) SIGRTMAX-1 64) SIGRTMAX |
#ps aux|grep sleep
![]() root 14839 0.0 0.0 4928 504 pts/4 S 16:40 0:00 sleep 400 root 14848 0.0 0.1 5076 736 pts/4 S+ 16:40 0:00 grep sleep |
#ps aux|grep sleep
root 14839 0.0 0.0 4928 504 pts/4 S 16:40 0:00 sleep 400 root 14848 0.0 0.1 5076 736 pts/4 S+ 16:40 0:00 grep sleep |
Время первой команды журнала | 14:34:37 2012- 8- 8 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:40:29 2012- 8- 8 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.90 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.52 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.25 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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