Thursday, April 30, 2015

Linux sunucuda ekstra swap (takas) alani olusturma

Platform:
# cat /etc/issue
Oracle Linux Server release 6.5
Kernel \r on an \m
# uname -a
Linux server 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

32G swap alanı oluşturmak için;

# dd if=/dev/zero of=/swapfile bs=1024 count=32553600
# mkswap /swapfile
# swapon /swapfile

swap alanının açılışta otomatik mount olması için /etc/fstab 'e eklenen satır;

/swapfile               swap                    swap    defaults        0 0

Wednesday, April 29, 2015

Oracle: OSWatcher Black Box

Oracle OSWatcher Black Box (OSWbb) collects and archives operating system and network metrics that you can use to diagnose performance issues. OSWbb operates as a set of background processes on the server and gathers data on a regular basis, invoking such Unix utilities as vmstatnetstatiostat, and top.

http://docs.oracle.com/cd/E37670_01/E37355/html/ol_oswatcher_diag.html

OS watcher data file larini grafik arayuzde goruntuleme islemi:

https://www.youtube.com/watch?v=s4-es4gVVUU

Friday, April 24, 2015

The "make" Command and "Makefiles"

A makefile consists of a set of dependencies and rules. A dependency has a target (a file to be created) and a set of source files upon which it is dependent. The rules describe how to create the target from the dependent files. Typically, the target is a single executable file.

...

https://www.hackerearth.com/notes/the-make-command-and-makefiles/  (details)

Wednesday, April 15, 2015

Set file format of the output capture file (.pcap)

editcap - Edit and/or translate the format of capture files
Editcap is a program that reads some or all of the captured packets from the infile, optionally converts them in various ways and writes the resulting packets to the capture outfile (or outfiles).


örnek:

# editcap -F libpcap radius_00002_20150324120131.pcap  rad2.pcap

Friday, April 10, 2015

Linux: IPv6 deaktif hale getirme

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1