Author: ndalton

Redhat tuning for Oracle

In /etc/sysctl update these fs.file-max net.ipv4.ip_local_port_range net.core.rmem_default net.core.rmem_max net.core.wmem_default net.core.wmem_max kernel.shmall kernel.shmmax kernel.shmmni kernel.sem

Misaligned partitions (and filesystems) cause increased i/o.

See eg 3Par doc: http://h20195.www2.hp.com/V2/GetPDF.aspx%2F4AA4-4519ENW.pdf “All RAID devices, including HP 3PAR arrays, incur the overhead of calculating new parity after a write. A single write that spans two RAID sets will require two parity calculations. Aligning Linux disk partitions to…

How to get CORRECT memory usage for Linux

One of the most common mistakes made by Linux users, is to run free (Mem: line) or sar to get memory utilization.   The memory used fields include the space used by the OS to cache files and directory info cace,…

Windows system info

To get window system info run systeminfo To get just OS info: systeminfo | findstr /C:”OS” OS Name:                   Microsoft Windows Server 2008 R2 Enterprise OS Version:                6.1.7601 Service Pack 1 Build 7601 OS Manufacturer:           Microsoft Corporation OS Configuration:          Member Server…

Backing Up WordPress Database

To use command line backup of a WordPress site. Locate you wp-config.php file.   Find the DB configuration for you DB with “grep DB_ wp-config.php”.  If your password is encrypted, you will need to know it. Use the output to run…