9 More Discussions You Might Find Interesting
1. Solaris
hi all,
Just a simple question but i cant get the answers in the book -
In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone
Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Discussion started by: javanoob
6 Replies
2. Shell Programming and Scripting
Below is my code:
count=0
if
...
...
else
...
find * -prune -type d | sort -r -n | while read d; do
count=1
if ; then
echo "Count1:$count"
...
...
break 2;
fi
...
done
...
fi
echo "Count2:$count" (9 Replies)
Discussion started by: mohtashims
9 Replies
3. UNIX for Dummies Questions & Answers
Hello -
I am trying to use a global replace command but its not working.
Here is the cmd I am using in vi:
:%s/OLD/NEW/g
However, in my "NEW" I already have a "/" which is not making the replace work:
:%s/mytestscript.com:33232/mytestscript:70245/test.com/g
the... (2 Replies)
Discussion started by: DallasT
2 Replies
4. Solaris
Defined a user alias in unix. Not able to use that alias in a ksh scritp. I dont want to change/source in the script to set the value. Need to set the user alias as a gloabal alias to use it in a new ksh shell window. Can you please help on this? (3 Replies)
Discussion started by: rbalaj16
3 Replies
5. UNIX for Dummies Questions & Answers
I am wondering what way, I can remove a certain text with nothing.
for example:
MyVariable=Y7UHNI
to only:
Y7UHNI
removing 'MyVariable=' globally?
thanks (1 Reply)
Discussion started by: DallasT
1 Replies
6. HP-UX
Hi,
I am using hp unix
i want to know the use of the following commands
set --
set - variable
thanks (4 Replies)
Discussion started by: gomathi
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I heard about some global commands for information gathering in UNIX systems. some commands which will execute on a UNIX system in a local network and other systems will reply to these command with some information about themselves.
for example, from one of those UNIX machines (in a... (15 Replies)
Discussion started by: siavash
15 Replies
8. Solaris
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies
9. Shell Programming and Scripting
In ksh I thought a global variable was any variable in a script or function that did not have the typeset command. I have a global in my calling script which I increment in a function, but the value does not change in the calling script. Here is the code:
function f_open_log
{
typeset -r... (5 Replies)
Discussion started by: robotball
5 Replies