Difference between revisions of "Perintah Linux T"
Jump to navigation
Jump to search
Gibransyah (talk | contribs) (→telnet) |
Gibransyah (talk | contribs) (→time) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 72: | Line 72: | ||
=tftpd= | =tftpd= | ||
=time= | =time= | ||
+ | Menjalankan program dan merangkum besar penggunaan sumberdaya sistem | ||
+ | |||
+ | biasanya digunakan untuk mengukur lama eksekusi suatu program. | ||
+ | |||
+ | * Hitung waktu dari switch dipicu hingga roket berhasil meluncur | ||
+ | |||
+ | time ./rocket_launcher.sh | ||
+ | real 0m1.692s | ||
+ | user 0m0.000s | ||
+ | sys 0m0.000s | ||
+ | |||
=tload= | =tload= | ||
=tmpwatch= | =tmpwatch= |
Latest revision as of 15:14, 21 June 2016
Indeks - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z
tac
tail
Menampilkan bagian akhir dari sebuah file
Contoh:
root@batik:/var/log# tail messages May 24 11:00:00 bt smsd: Writing stats file 120524.110000 May 24 11:37:02 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 11:39:42 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 11:41:18 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 12:00:00 bt smsd: Writing stats file 120524.120000 May 24 12:37:21 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 12:39:51 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 12:40:10 bt pulseaudio[1623]: ratelimit.c: 3 events suppressed May 24 12:41:57 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed May 24 12:43:10 bt pulseaudio[1623]: last message repeated 2 times
tailf
talk
talkd
tar
Perangkat kompresi berkas
- Kompres file log.txt yang besarnya 100 MB agar mudah diemail
$ tar -cvzf log.tar.gz log.txt
- Ekstrak kembali berkas tersebut
$ tar -xvf log.tar.gz
taskset
tcpd
tcpdump
tcpslice
tee
telinit
telnet
Antarmuka untuk protokol TELNET
- Test apakah port 80 tidak di blok oleh firewall
$ telnet telkomspeedy.com 80
telnetd
test
tftp
tftpd
time
Menjalankan program dan merangkum besar penggunaan sumberdaya sistem
biasanya digunakan untuk mengukur lama eksekusi suatu program.
- Hitung waktu dari switch dipicu hingga roket berhasil meluncur
time ./rocket_launcher.sh real 0m1.692s user 0m0.000s sys 0m0.000s