syntak dan fungsinya

# netstat -apn | less

spt layaknya netstat lihat log dll ini contohnya

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:50019 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN –

uptime (untuk melihat hidupnya computer)

root@dede-desktop:~# uptime
21:46:27 up 7:10, 3 users, load average: 0.01, 0.10, 0.11

# uname -a (unutk melihat type kernel yg di pakai)

root@dede-desktop:~# uname -a
Linux dede-desktop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

lspci (unutk melihat jenis hardware PCI di computer)

dede@dede-desktop:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge

lsusb (unutk melihat jenis interface usb di computer)

dede@dede-desktop:~$ lsusb
Bus 005 Device 003: ID 1058:1100 Western Digital Technologies, Inc.
Bus 005 Device 002: ID 13fe:1a00
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
ifconfig (unutk melihat ipaddres)

dede@dede-desktop:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1D:92:26:B3:5D
inet addr:192.168.2.91 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::21d:92ff:fe26:b35d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118082 errors:0 dropped:0 overruns:0 frame:0
TX packets:80267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66345992 (63.2 MB) TX bytes:8899412 (8.4 MB)
Interrupt:21 Base address:0xd000

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s