August 2015
M T W T F S S
« Jul   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

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
August 2015
M T W T F S S
« Jul   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

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

Finding the process that locked a port in AIX

Finding the process that locked a port in AIX ******************************************************************** Run the following command to check if port is in use

# netstat -an | grep <port number>

If above returns the connection, then run the following command to get the address of the port number

# netstat -Aan | grep <port number>

Once you […]

weblogic script

#!/bin/sh if [ -z “$1” ]; then echo “You must supply either start or stop command while calling this script! correct usage: weblogic_start_stop.sh start|stop” exit fi bold=`tput bold` normal=`tput sgr0` case “$1” in ‘start’) echo “Starting Management Node & Weblogic Server 10.3.6” echo “Starting NodeManager” nohup $WLS_HOME/server/bin/startNodeManager.sh > /dev/null 2>&1 & sleep 10 output=`ps […]

gsk7cmd

SSL Commands using GSK

====================== export PATH=/opt/IBMJava/bin:/usr/local/ibm/gsk7/bin:$PATH export CLASSPATH=/usr/local/ibm/gsk7/classes/cfwk.zip:/usr/local/ibm /gsk7/classes/gsk7cls.jar:$CLASSPATH

Any GSK cmd can be executed using: ================================== java com.ibm.gsk.ikeyman.ikeycmd command

Creating a new key DB with password: ==================================== gsk7cmd -keydb -create -db <filename> -pw <password> -type <cms | jks | jceks | pks12> -expire <days> -stash

Creating a new key DB without the password: […]

Decrypt IBM stash files

Decrypt IBM stash files If you are working on Websphere set of products for a while then I am sure you have been in situations where you don’t remember the password of your ssl key database file. In such a situation this perl script will help you and I am sure you will thank […]

Show information for solaris 10

#!/usr/bin/env ksh export LANG=C export PATH=${PATH}:/sbin:/usr/sbin:/usr/bin ################################################### ## Analysis for SUN by Lee Kwang Hyun ## ( Last Update. 2009.11.13 / Only Solaris 10) ################################################### DD=`date “+%y%m%d%H%M”` TMPVAR=”temp” TEMPVR=”temp” TMPTXT=/tmp/anal4sun.${DD} ROOTFS=”/dev/rdsk/c0t0d0″ ROOTDV=”c0t0d0″ TPMC=`cat /river/SYSINFO/tpmc.txt` #####################( MAIN ) main(){ OPTION=”$1″ ### hostname echo “HOST\t: $(hostname) (`hostid`)” ### model (product) prtdiag | grep “^System Configuration” | awk […]

Clear contents of a file in UNIX

Clear contents of a file in UNIX

$cat /dev/null > file

or

$true > file

AIX : Machine Type & Serial Number

AIX : Machine Type & Serial Number

uname -m for the serial number

uname -M for the machine type and model

Viewing file systems that 90% and more using awk & sed

This works with AIX

df -g | egrep -v “Filesystem|proc|tmp” | sed ‘s/\%//’ | awk ‘$4 >= 90 {print $4 “%\t” $7}’

df -k | sed 1d | awk ‘$4>90 {print}’

This works with Solaris and Linux

df -k | egrep -v “proc|fd|cdrom|mnttab|run|tmp|Filesystem” | sed ‘s/\%//’ | awk ‘$5 >= 90 {print $5 “%\t” $6}’

Configure ipfilter on Solaris10 as a host based firewall

1- Start by check ipfilter status if it’s running you can go ahead and configure rules

-bash-3.00$ svcs -a|grep -i ipfil online 10:29:37 svc:/network/ipfilter:default

if it’s disabled enable it

#svcadm enable ipfilter

2- Display rules

#bash-3.00ipfstat -io block out all pass out quick on lo0 all pass out quick on eri0 proto tcp/udp from […]

Clear DNS cache solaris

Clear DNS cache You can clear DNS cache in Solaris by doing the following

#/etc/init.d/nscd stop #/etc/init.d/nscd start