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 <host> And I was getting the error: AUDIT: Tue Dec 2 20:40:03 2008: 1470 Xnest: client 2 rejected [...]
Archive of posts filed under the Solaris category.
bash script with sql to get the number of records from multiple tables.
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 |sed -n \’/COUNT/,/Disconnected/p\’|sed \’/COUNT/ d\’|sed \’/—/ d\’|sed \’/Disconnected/ d\’|tr \’n\’ \’ \’ ) do temp=${names[$j]} let count=30-${#temp} for ((I=1; I <= $count ; I++)) do printf \” \” done echo \”${names[$j]} : $i\” # [...]










