Search Results

Search: Posts Made By: Tirmazi
Forum: Solaris 12-21-2011
2,283
Posted By npandith
You can create a disk group and encapsulate the...
You can create a disk group and encapsulate the disk.

# vxdg init rootdg
# vxdctl add disk <DEVICE> type=sliced
# vxencap -g rootdg rootdisk=<DEVICE>
Forum: Solaris 11-10-2011
29,935
Posted By beta17
this indicates cpu 1 mb = mainbaord p1 =...
this indicates cpu 1
mb = mainbaord
p1 = processor 1
f1 = fan 1 (there are two little fans but you have to replace the complete cooler)
Forum: Solaris 11-10-2011
29,935
Posted By garskoci
These look like CPU fans. This should answer your...
These look like CPU fans. This should answer your question.

System Boards - Sun Fire V210 / V240 System Board...
Forum: Red Hat 07-03-2011
8,234
Posted By mark54g
As long as the driver for the HBA has been...
As long as the driver for the HBA has been loaded, then you should not need to update anything further unless you are using multipath drivers.

For that, you should update the multipath...
Forum: Red Hat 06-30-2011
2,492
Posted By Corona688
you edit sudo with the visudo utility. This is...
you edit sudo with the visudo utility. This is in case you accidentally bungle a setting, it will complain and undo the changes instead of potentially blocking you from the ability to 'sudo visudo'....
2,528
Posted By Corona688
Let's break it down bit by bit. find /...
Let's break it down bit by bit.



find / # Search inside /
-path /proc -prune # Ignore anything inside /proc
-o -path /new-disk -prune # OR ignore...
Forum: Red Hat 04-06-2011
24,981
Posted By mark54g
sorry, I had meant to add that. I think my...
sorry, I had meant to add that. I think my copy/pasta didn't work so well
Forum: Red Hat 04-06-2011
24,981
Posted By sixstrings
actually, you need to add the scan file in this...
actually, you need to add the scan file in this code


for i in /sys/class/scsi_host/host*
do
echo '- - -' > ${i}/scan
done


Without the scan part, you are echoing the --- into the...
Forum: Red Hat 03-18-2011
24,981
Posted By titanic4u
Here is little info, hope it helps: (1) how do...
Here is little info, hope it helps:
(1) how do I know what is the LUN ID.
-> Depands on the driver which you are using.
for example: if using linux native multipathing then "multipath -ll" will...
Forum: Red Hat 03-11-2011
24,981
Posted By mark54g
The LUN number is a harder one, but here's what...
The LUN number is a harder one, but here's what you can do:

You can scan for new luns the following way:


for i in /sys/class/scsi_host/host*
do
echo '- - -' > $i
done


for the type of...
1,206
Posted By rdcwayx
#!/bin/sh echo "Enter your name \c" read name...
#!/bin/sh
echo "Enter your name \c"
read name
echo "This is the story about $name "
echo "There is a file created for you by the name of $name.history"
touch $name.history

cp anyone...
1,206
Posted By Franklin52
So the answer is use double quotes to expand the...
So the answer is use double quotes to expand the shell variable.

BTW no need to use the -e option for a single sed command.
1,206
Posted By itkamaraj
kamaraj@kamaraj-laptop:~$ value="A" ...
kamaraj@kamaraj-laptop:~$ value="A"
kamaraj@kamaraj-laptop:~$ echo $value
A
kamaraj@kamaraj-laptop:~$ echo "kamaraj" | sed -e "s/a/$value/g"
kAmArAj
kamaraj@kamaraj-laptop:~$
2,504
Posted By methyl
About the shell problem. Note the "%e" for the...
About the shell problem.
Note the "%e" for the day of the week because syslogd date stamps don't have the leading zero on the day.

DDDMM=`date +"%b %e"`
dmesg|grep "${DDDMM}"


About the...
2,504
Posted By jim mcnamara
var=date "+%b %d"; dmesg | grep -F "$var" # is...
var=date "+%b %d"; dmesg | grep -F "$var"
# is the same as:
dmesg | grep -F $(date "+%b %d" )
# the first one is easier for a beginning scripter to get it right
2,504
Posted By methyl
I think that the concept is flawed. On my system...
I think that the concept is flawed. On my system "dmesg" puts today's date in the heading and then outputs any system messages - even if they happened months ago. The messages themselves are rarely...
2,504
Posted By jim mcnamara
1. the date command has format specifiers ...
1. the date command has format specifiers

var=date "+%b %d"

Read about the %b and %d in the date man page
2.

dmesg | grep -F "$var"

-F means look for a literal text pattern.

your...
27,767
Posted By joeyg
Another approach
echo "scale=4; $per * $price / 100" | bc -l
or
sav=`echo "scale=4; $per * $price / 100" | bc -l`

Sometimes this format is easier to read.
The scale sets for # of decimal places,
then the math...
27,767
Posted By methyl
What does your current script look like? What...
What does your current script look like?
What happened when you ran it?
What answers did you give to the questions?


Complete modified script. Only calculation line has changed. I have just...
Forum: Solaris 05-21-2010
2,002
Posted By jlliagre
VirtualBox is x86 only, not suitable for SPARC.
VirtualBox is x86 only, not suitable for SPARC.
Forum: Solaris 05-21-2010
2,002
Posted By xxmasrawy
hi Tirmazi:- if you want my advice to work...
hi Tirmazi:-
if you want my advice
to work in Sun Virtulization
read about zonning
it is wonderfull tool for Sun Virtulization
Forum: Solaris 05-21-2010
2,002
Posted By busyboy
VirtualBox by Sun may help you on this. for both...
VirtualBox by Sun may help you on this. for both sparc and x86
Forum: Solaris 05-19-2010
2,002
Posted By lufen
This depends abit on what your are looking for. ...
This depends abit on what your are looking for.
You can use Ldoms combined with jumpstart/JET and flar archive to achive something similar to Vconverter (convert a physical machine into a virtual...
Forum: Solaris 05-17-2010
2,002
Posted By jlliagre
High ends servers have hardware domains and...
High ends servers have hardware domains and UltraSPARC T based servers have ldoms.
Of course, all Solaris machines (SPARC and x86 and x64) support zones (containers).
Forum: Solaris 05-17-2010
2,002
Posted By h@foorsa.biz
as far as i know , the answer is no? VMware is...
as far as i know , the answer is no?
VMware is not supported on SPARC
Showing results 1 to 25 of 26

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