Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: afadaghi
5,481
Posted By afadaghi
Solaris 11 ipadm show-if disabled
Hi exports,

I have a T4 with 4 port internal NIC which 2 ports are active and, external one with 4 ports as well with only 2 ports active. So the total of the ports are 4 out of 8. I have...
Forum: Solaris 11-22-2013
1,116
Posted By afadaghi
Updating my Solaris 11 IPS
Hi experts,

I have an X86 as my IPS server running ( uname -a SunOS 5.11 11.1 i86pc i386 i86pc). the IPS has the following package version:
prdb01b:~# pkg list -fa entire
NAME (PUBLISHER) ...
Forum: Solaris 09-16-2013
5,972
Posted By afadaghi
Thanks for you replies, I ended up recreating by...
Thanks for you replies, I ended up recreating by using snapshot.
Forum: Solaris 09-13-2013
5,972
Posted By afadaghi
I was talking about rebooting non-global zone not...
I was talking about rebooting non-global zone not global zone. If I add the new-temp-pool to the global-zone and then, add the temp-FS to NG as lofs without rebooting the NG to pick up the new FS. ...
Forum: Solaris 09-13-2013
5,972
Posted By afadaghi
Thanks, DustinT. If I create a new pool do I...
Thanks, DustinT. If I create a new pool do I need to reboot the zone in order for zone to see the new pool?
Forum: Solaris 09-13-2013
5,972
Posted By afadaghi
Shrinking zpool
Hello experts,

I have a solaris 10 (SunOS 5.10 Generic_148888-05 sun4u sparc SUNW,SPARC-Enterprise) that by mistake I added a second san space of 700g to the pool. the whole pool is now 1.2T and,...
Forum: Solaris 04-16-2013
1,996
Posted By afadaghi
Hi Dustin, the issue has been resolved by...
Hi Dustin,

the issue has been resolved by adding memory to the system.

Regards,
Forum: Solaris 02-01-2013
1,331
Posted By afadaghi
Hi, you cannot use /home in solaris. It is...
Hi,
you cannot use /home in solaris. It is autmounter is using /home. try /export/home. You can also use -u, -c, -d, -s and, -m. do man useradd and, should list all the options.

good luck
Forum: Solaris 01-31-2013
1,996
Posted By afadaghi
I posted it. the last command starting with...
I posted it. the last command starting with "echo". And it is ran by root
Forum: Solaris 01-30-2013
1,996
Posted By afadaghi
Solaris paging bringing system to halt
Hi experts,

I am running a solaris 10 with oracle 10 on a system with 96 GB physical memory. the system has a lot of swap space. the oracle SGA is 50 GB and PGA 40 GB. Here are the stats

...
3,092
Posted By afadaghi
rotate modsec log with logrotate in the global configuration
Hello Experts,

I have an apache 2.2.17 on solaris 10 that I am not sure if I, could list the following in the global settings in httpd.conf. I tested it in the Virtual host section of httpd.conf...
1,950
Posted By afadaghi
Thanks a lot ctsgnb. This is awesome. exactly...
Thanks a lot ctsgnb. This is awesome. exactly what I needed. I had sort and, uniq already for my first akw '{print $8}' . your help greatly appreciated
1,950
Posted By afadaghi
Shell script to parse apache httpd line
Hello,

I have serveral SUN Web servers that need to write a KSH to figure out where Apache is installed and, tar up the directory (for backup purposes) once a month. The trick is that Apache is...
Forum: Solaris 06-17-2008
4,114
Posted By afadaghi
apache ErrorDocument 400 /cgi-bin/400.cgi
Hi All,

Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf

servername testing...
4,555
Posted By afadaghi
solaris 9 using jumpstart to restore
Hello All,

I use flar to install servers. I am not sure why it does not restore my hostname.bge0, hostname.bge1, ... from the same server with quad NIC card. Right now, I use a shell script to...
1
sed
1,723
Posted By afadaghi
sed
Hello All,
I inherited a korn shell script that in there I have line that says
file-list=$(ls -l | sed -n "/$today/,\$p"). I want to change it to
file-list=$(ls -l | sed -n "*\-today\-*/,\$p")...
7,634
Posted By afadaghi
Jim thanks for the input but, it is not working. ...
Jim thanks for the input but, it is not working. I do not get anything in the output file
7,634
Posted By afadaghi
store output to a file and read from it
Hello all,
I need to run snoop command for a period of time (a day) and extract remote host column from it to find out who is accessing my server. When I run the following on the command line it...
17,152
Posted By afadaghi
Perderabo I just changed my code and am...
Perderabo
I just changed my code and am starting from element Zero but when I go back to access them it will list last one first like so: if I have 4 elements from 0 through 3 when I try to access ...
17,152
Posted By afadaghi
I am storing anything in ${arr[0]}. I'll start...
I am storing anything in ${arr[0]}. I'll start with 1 throughout.
17,152
Posted By afadaghi
accessing my first element of array
Hello everyonel,
I have an array set like so
num=4
read name
arr[$num]=name
I go through while loop to assign different values to different array element from 1 to 4. when I try to access the...
1,284
Posted By afadaghi
Thanks a lot Perderabo. You've been great help
Thanks a lot Perderabo. You've been great help
1,284
Posted By afadaghi
retriving a value from a variable
Hi all,
I need to retrive a value from a variable like so
temp1=test1
temp2=test2
num=2
while [ "$num" -ne 0 ]
do
pingvar=eval echo \$temp$num
echo $pingvar
let num=$num-1
done

in...
Showing results 1 to 23 of 23

 

Featured Tech Videos

All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy