Solaris
Solaris Tips and Tricks
2010/05/19
Find a list of Tips and Tricks <a href="http://sysunconfig.net/unixtips/solaris.html">here. A nice trick to list the process which has opened a particular port is : #!/bin/ksh …
Linux tip to find the pid/program using a particular port
2010/05/12
netstat -lpn Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/port" rel="tag">port, <a class="performancingtags" …
View entire process string
2010/05/06
$ /usr/ucb/ps -auxgww Depending on your installation, when you run ps you will only get the first 40 or so characters displayed. In order to view the entire string, use /usr/ucb/ps on <a …
core dump checking script.
2010/04/11
I was testing a program which crashing every now and then. It is very difficult in such scenarios to keep looking for the <a class="zem_slink" title="Core dump" …
Running Nested X server
2010/03/25
Today I was trying to do a XDMCP connection to the other server ( which is solaris, not sure if that matters) so I used the Xnest server. and used the following command: […] Xnest :1 -ac -query …
bash script with sql to get the number of records from multiple tables.
2010/02/10
Here is the bash script: […] #!/bin/sh names[1]=errorlog names[2]=amit1log names[3]=amit2log names[4]=amit3log names[5]=amit4log j=1 echo $1 for i in $( sqlplus amit/passwd@tns @get_count.sql …