June 2014
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

WordPress Quotes

History is a relentless master. It has no present, only the past rushing into the future. To try to hold fast is to be swept aside.
John F. Kennedy
June 2014
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Short Cuts

2012 SERVER (64)
2016 windows (9)
AIX (13)
Amazon (40)
Ansibile (19)
Apache (135)
Asterisk (2)
cassandra (2)
Centos (211)
Centos RHEL 7 (270)
centos8 (3)
chef (3)
cloud (2)
cluster (3)
Coherence (1)
DB2 (5)
DISK (25)
DNS (9)
Docker (30)
Eassy (11)
ELKS (1)
EXCHANGE (3)
Fedora (6)
ftp (5)
GIT (3)
GOD (2)
Grub (1)
Hacking (10)
Hadoop (6)
health (2)
horoscope (23)
Hyper-V (10)
IIS (15)
IPTABLES (15)
JAVA (7)
JBOSS (32)
jenkins (1)
Kubernetes (7)
Ldap (5)
Linux (188)
Linux Commands (166)
Load balancer (5)
mariadb (14)
Mongodb (4)
MQ Server (24)
MYSQL (84)
Nagios (5)
NaturalOil (13)
Nginx (35)
Ngix (1)
openldap (1)
Openstack (6)
Oracle (35)
Perl (3)
Postfix (19)
Postgresql (1)
PowerShell (2)
Python (3)
qmail (36)
Redis (12)
RHCE (28)
SCALEIO (1)
Security on Centos (29)
SFTP (1)
Shell (64)
Solaris (58)
Sql Server 2012 (4)
squid (3)
SSH (10)
SSL (14)
Storage (1)
swap (3)
TIPS on Linux (28)
tomcat (62)
Ubuntu (1)
Uncategorized (30)
Veritas (2)
vfabric (1)
VMware (28)
Weblogic (38)
Websphere (71)
Windows (19)
Windows Software (2)
wordpress (1)
ZIMBRA (17)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Who's Online

0 visitors online now
0 guests, 0 bots, 0 members

Hit Counter provided by dental implants orange county

REDHAT 7 NEW LOOK

Download (PDF, 4.09MB)

TOTAL/USED/AVAILABLE memory in AIX

TOTAL/USED/AVAILABLE memory in AIX

  #!/usr/bin/ksh #memory calculator um=`svmon -G | head -2|tail -1| awk {‘print $3’}` um=`expr $um / 256` tm=`lsattr -El sys0 -a realmem | awk {‘print $2’}` tm=`expr $tm / 1000` fm=`expr $tm – $um` echo “\n\n———————–“; echo “System : (`hostname`)”; echo “———————–\n\n”; echo “Memory Information\n\n”; echo “total memory = $tm MB” […]

maximum-number-of-file-descriptors solaris

Before I get into details here is the bottom line. If you start MySQL on Solaris as a non-root (ie, mysql) user and for some reason you need to adjust the […]

maximum-number-of-file-descriptors-rhel-centos

cat /proc/sys/fs/file-max 589420 The output tells us it is set to 589420. The vendor asked for this to be increased to 1639200. We can add change the value immediately by executing: # sysctl -w fs.file-max=1639200 To make this a permanent setting applied everytime the system reboots an edit of /etc/sysctl.conf file is required. Add: fs.file-max […]

Install vfabric-web-server & TcServer

mkdir tcserver cd tcserver/ wget -q -O – http://repo.vmware.com/pub/rhel6/vfabric/5.2/vfabric-5.2-suite-installer | sh

yum search vfabric

[root@cluster1 vfabric-web-server]# yum search vfabric Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.ipserverone.com * extras: centos.ipserverone.com * updates: centos.ipserverone.com ========================================================= N/S Matched: vfabric ========================================================= vfabric-5.2-repo.noarch : vFabric 5.2 repository configuration vfabric-administration-server.noarch : VMware vFabric Administration […]

LOG using Shell script

#!/bin/sh LOGFILE=/tmp/apache.log SCRIPT_DIR=~/bin

logmsg () { echo $(date): $1 >> $LOGFILE }

while read instance do if [ -x “${SCRIPT_DIR}/$instance” ] ; then logmsg “Recycle $instance…” “${SCRIPT_DIR}/$instance” start >> $LOGFILE 2>&1 else logmsg “Cannot find recycle script for $instance – not starting” fi done < “${SCRIPT_DIR}/active-servers” logmsg “Start script execution complete”

websphere restart script

#!/bin/ksh

BASENAME=`basename $0`

WAZZZ_HOME=/usr/WebSphere/AppServer JVVVM_BIN_DIR=$WAZZZ_HOME/profiles/node01/bin

die_usage() { echo “usage: $BASENAME: <jvm name> <timeout> <hard retries>” exit $1 }

[[ $# -eq 3 ]] || die_usage 111

JVVVM_NAME=$1 TIMEOUT=$2 HARD_RETRIES=$3

JVVVM_LOG_DIR=$WAZZZ_HOME/profiles/node01/logs/$JVVVM_NAME JVVVM_PID=

$JVVVM_BIN_DIR/serverStatus.sh -all | grep ” $JVVVM_NAME” | grep -v grep | grep -v $BASENAME > /dev/null 2>&1

if [[ $? -ne 0 ]] then […]