Sunday, February 10, 2008

CLI .......... Ku ........ Commandku ///////

lihat kernel
bt ~ # uname -a
Linux bt 2.6.21.5 #2 SMP Sat Aug 25 19:01:21 GMT 2007 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux

identitasku di unix
bt ~ # id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy)

bt ~ # w
12:24:25 up 1:11, 3 users, load average: 0.98, 1.71, 1.28
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root tty1 - 11:28 55:44 0.05s 0.00s /bin/sh /usr/bin/startx
root pts/0 :0.0 11:29 1:02 0.04s 0.04s -bash
root pts/1 :0.0 12:06 0.00s 0.03s 0.00s w

lihat prosesnya
bt ~ # ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 11:12 ? 00:00:01 init [3]
root 2 1 0 11:12 ? 00:00:00 [migration/0]
root 3 1 0 11:12 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 11:12 ? 00:00:00 [events/0]
root 5 1 0 11:12 ? 00:00:00 [khelper]
root 6 1 0 11:12 ? 00:00:00 [kthread]
root 85 6 0 11:12 ? 00:00:00 [kblockd/0]
root 86 6 0 11:12 ? 00:00:00 [kacpid]
root 180 6 0 11:12 ? 00:00:00 [ata/0]
root 181 6 0 11:12 ? 00:00:00 [ata_aux]
root 182 6 0 11:12 ? 00:00:00 [ksuspend_usbd]
root 185 6 0 11:12 ? 00:00:00 [khubd]
root 187 6 0 11:12 ? 00:00:00 [kseriod]
root 199 6 0 11:12 ? 00:00:00 [khpsbpkt]
root 204 6 0 11:12 ? 00:00:00 [knodemgrd_0]
root 210 6 0 11:12 ? 00:00:00 [pdflush]
root 211 6 0 11:12 ? 00:00:00 [pdflush]
root 212 6 0 11:12 ? 00:00:00 [kswapd0]
root 213 6 0 11:12 ? 00:00:00 [aio/0]
root 214 6 0 11:12 ? 00:00:00 [jfsIO]
root 215 6 0 11:12 ? 00:00:00 [jfsCommit]
root 216 6 0 11:12 ? 00:00:00 [jfsSync]
root 217 6 0 11:12 ? 00:00:00 [xfslogd/0]
root 218 6 0 11:12 ? 00:00:00 [xfsdatad/0]
root 219 6 0 11:12 ? 00:00:00 [ocfs2_wq]
root 220 6 0 11:12 ? 00:00:00 [user_dlm]
root 896 6 0 11:12 ? 00:00:00 [scsi_tgtd/0]
root 945 6 0 11:12 ? 00:00:00 [exec-osm/0]
root 950 6 0 11:12 ? 00:00:00 [block-osm/0]
root 995 6 0 11:12 ? 00:00:00 [scsi_eh_2]
root 1014 6 0 11:12 ? 00:00:00 [kcryptd/0]
root 1015 6 0 11:12 ? 00:00:00 [ksnapd]
root 1016 6 0 11:12 ? 00:00:00 [kmirrord]
root 1022 6 0 11:12 ? 00:00:00 [kjournald]
root 1093 1 0 11:12 ? 00:00:01 /sbin/udevd --daemon
root 1877 6 0 11:12 ? 00:00:00 [pccardd]
root 1878 6 0 11:12 ? 00:00:01 [ipw2200/0]
root 2603 6 0 11:13 ? 00:00:00 [kpsmoused]
root 2732 1 0 11:13 ? 00:00:00 /usr/sbin/syslogd
root 2736 1 0 11:13 ? 00:00:00 /usr/sbin/klogd -c 3 -x
root 2973 1 0 11:13 ? 00:00:00 /usr/sbin/acpid
root 2981 1 0 11:13 ? 00:00:00 /usr/bin/dbus-daemon --system
82 2986 1 0 11:13 ? 00:00:01 /usr/sbin/hald --daemon=yes
root 2987 2986 0 11:13 ? 00:00:00 hald-runner
82 2993 2987 0 11:13 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event0
82 2994 2987 0 11:13 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event1
82 2997 2987 0 11:13 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acp
82 2998 2987 0 11:13 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event2
82 2999 2987 0 11:13 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event4
root 3008 2987 0 11:13 ? 00:00:00 hald-addon-storage: polling /dev/hdc (every 2 sec)
root 3017 1 0 11:13 ? 00:00:00 /usr/sbin/crond -l10
root 3052 1 0 11:13 ? 00:00:00 /usr/sbin/gpm -m /dev/mouse -t ps2
root 3074 1 0 11:13 tty1 00:00:00 -bash
root 3075 1 0 11:13 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 3076 1 0 11:13 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 3077 1 0 11:13 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 3078 1 0 11:13 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 3079 1 0 11:13 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 3122 3074 0 11:28 tty1 00:00:00 /bin/sh /usr/bin/startx
root 3138 3122 0 11:28 tty1 00:00:00 xinit /usr/lib/X11/xinit/xinitrc -- /usr/lib/X11/xinit/
root 3139 3138 8 11:28 tty7 00:04:49 X -dpi 100 -nolisten tcp
root 3143 3138 0 11:28 tty1 00:00:00 /bin/sh /usr/lib/X11/xinit/xinitrc
root 3147 3143 0 11:28 tty1 00:00:00 /bin/sh /usr/bin/startkde
root 3177 1 0 11:28 tty1 00:00:00 start_kdeinit --new-startup +kcminit_startup
root 3178 1 0 11:28 ? 00:00:00 kdeinit Running...
root 3181 1 0 11:28 ? 00:00:00 dcopserver [kdeinit] --nosid
root 3183 3178 0 11:28 ? 00:00:00 klauncher [kdeinit] --new-startup
root 3185 1 1 11:28 ? 00:00:57 kded [kdeinit] --new-startup
root 3187 1 0 11:28 ? 00:00:00 /usr/libexec/gam_server
root 3192 3147 0 11:28 tty1 00:00:00 kwrapper ksmserver
root 3194 1 0 11:28 ? 00:00:00 ksmserver [kdeinit]
root 3195 3178 0 11:28 ? 00:00:05 kwin [kdeinit]
root 3197 1 0 11:28 ? 00:00:01 kdesktop [kdeinit]
root 3199 1 0 11:28 ? 00:00:05 kicker [kdeinit]
root 3200 3178 0 11:28 ? 00:00:00 kio_file [kdeinit] file /tmp/ksocket-root/klauncher1KLW
root 3202 1 0 11:29 ? 00:00:00 kxkb [kdeinit]
root 3207 1 0 11:29 ? 00:00:00 kaccess [kdeinit]
root 3212 1 0 11:29 ? 00:00:00 knotify [kdeinit]
root 3441 3178 0 11:29 ? 00:00:01 konsole [kdeinit] --ls
root 3445 3441 0 11:29 pts/0 00:00:00 -bash
root 3828 3178 0 11:31 ? 00:00:00 /bin/sh /usr/bin/firefox
root 3840 3828 0 11:31 ? 00:00:00 /bin/sh /usr/lib/firefox-2.0.0.9/run-mozilla.sh /usr/li
root 3848 3840 14 11:31 ? 00:07:41 /usr/lib/firefox-2.0.0.9/firefox-bin
root 3864 1 0 11:31 ? 00:00:00 /usr/local/libexec/gconfd-2 14
root 3884 3848 0 11:31 ? 00:00:00 [netstat]
root 6273 1 0 11:43 ? 00:00:00 dbus-launch --autolaunch 9260201c78269075eb28210046d031
root 6274 1 0 11:43 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 7 --print-addre
root 7875 3178 1 11:52 ? 00:00:37 pidgin
root 10059 1 0 12:03 ? 00:00:05 xmms file:///root/Five_Minutes_-_Rockmantic_-_02_Bertah
root 10600 3178 0 12:06 ? 00:00:00 konsole [kdeinit] --ls
root 10601 10600 0 12:06 pts/1 00:00:00 -bash
root 14088 10601 0 12:24 pts/1 00:00:00 ps -ef

No comments:

Post a Comment