Take remote GUI of Solaris or Linux Machine with Free and Open Source xMing

Take remote GUI of Solaris or Linux Machine with Free and Open Source xMing
This is a frequent requirement when you want to run some program which has a GUI on remote Linux machine , you will get an error because it can’t display the GUI window on your ssh terminal

Redirection in Unix/Linux

Redirection is a very important concept in Unix, it is quite helpful when you setup cron or schedule the scripts, it helps you in redirection output from std device like screen to some file which can be beneficial if script is running in the background without user interference. Any person can later check the output ...

Finding High mount point greater than threshold in single command

You can use below command to find a mount point whose usage is greater than threshold value Example below we have 1st filed as mount point name, & 4th field is used percent, df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 131072 6624 95% 6871 75% / /dev/hd2 2195456 135588 94% 47519 ...

Heartbleed Bug affecting Weblogic websphere apache & other middleware application / web servers ?

So we all are hearing various news about Heartbleed Bug, so let’s see which of our middleware application servers are affected by this: Here is an brief review of the Bug -CVE-2014-0160: “OpenSSL could allow a remote attacker to obtain sensitive information, caused by an error in the TLS/DTLS heartbeat functionality. An attacker could exploit ...

Find which process is using a particular Port (AIX, Linux, Windows)

AIX Command 1. lsof -i :<port number> – This command must be run as root. lsof executable is available here. https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=aixbp&lang=en_US AIX Example Let’s set SVCENAME to 50000, so that the listener will use this port. $ db2 update dbm cfg using svcename 50000 $ db2start Then, use the command above to check if the ...

Excluding some files in present directory to while creating tar

In Below Example Excluding zip files in a particular directory

How to check if Solaris is 64 Bit or Not

Oracle Solaris 64 bit —  /usr/bin/isainfo -kv JDK – 64 Bit truss -t exec /weblogic/bea/jdk160_05/bin/java -version truss -t exec /weblogic/bea/jdk160_05/bin/java  -d64 -version — this checks for 64 bit version

Create SSH Trust Connection Between Servers To Connect Without Password?

1. Generate a public and private key pair on the machine from where you want to login to other machines. For SSH1: # ssh-keygen -t rsa1 For SSH2 (Recommended): # ssh-keygen -t dsa   You will be prompted for a file in which the key and a passphrase will be saved. You may press Enter through each of these ...

unix commands

sorts by swap size prstat -s rss splits files into 100mb chunks split -b 100m file_name watch all tcp parameters at solaris level netstat -s -P tcp find number of open files for a particular process cd /proc/19915/fd ; ls -lrth | wc -l check all open files for all process ls -lrth /proc/*/fd | ...