12-16-2009
bartus11
hi,
thanks bartus11 for this good article
the a problem prevent me to make this solution in this case
i have server carry 50 zone
all of then have application and web site working
so i can't divided the capacity of the processor to 50 zone
i divided this zone to 2 section
40 zone
10 zone
what i read about this
i should make 2 cpu pools
the first cpu pools takes 60 % from processor capacity
assign 40 zone to this pool
the secand cpu pools takes 40 % from processor capacity
assign 10 zone to this pool
if you know please provide me
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am doing this perl script
print (@line(1..15));
the lines 1 to 15 get printed...
how can i redirect this to file?
thanks and regards
vivek.s (4 Replies)
Discussion started by: vivekshankar
4 Replies
2. UNIX for Dummies Questions & Answers
hi ,
i used ls -ltr | cut -f 1 > \dev\tty
but all teh coulmns r getting printed instead of only one........how can i resolve this?
prob 2 :
wud be able start cutting from last field......supposing in the case of dyanmic list.i dunno the field number of last column.......so is... (3 Replies)
Discussion started by: vivekshankar
3 Replies
3. Solaris
Hi
I am getting the uptime output as follows
12:40am up 4 day(s), 18:29, 2 users, load average: 38.97, 36.54, 34.89
The load average is too high .
I have checked the processes , but no process is taking too much cpu time
Please help (3 Replies)
Discussion started by: guy009
3 Replies
4. Shell Programming and Scripting
Hi,
I got a list of file that all got the same standard format.
Can anyone teach me how to put the space in all of them?!
Input file:
>nucleotide1
AAAAAAAAACCCGGG
>nucleotide2
GGGGGGCCCCCTTTTA
>nucleotide3
GGTACACCACACTCAC
>nucleotide4
TTTGGAGAGAGACCCC
desired output:... (4 Replies)
Discussion started by: patrick87
4 Replies
5. Shell Programming and Scripting
can u plz tell me where is the error
echo enter the filename to be searched
read fname
if #-d $fname
then
echo file exists
if
then
echo itsa directory
elif
then
echo its readable
cat $fname
else
echo its not readable
fi
else
... (1 Reply)
Discussion started by: gotam
1 Replies
6. Shell Programming and Scripting
Hi.,
I am not able to replace the string with another string using gsub fn of awk command.
My code:
awk 'BEGIN gsub(004,IND,004)' p.txt
and my i/p file p.txt is of the format:
av|004|adkf|Kent,004|s
av|005|ssdf|Kd,IT park|s
.
.
.
and my desired o/p should be of : (13 Replies)
Discussion started by: av_vinay
13 Replies
7. Shell Programming and Scripting
source file is located in (elk.some.com)
/export/elk2/vp141p/Somedir/dist/current/Filename.ear
destination machine(191.hydc.xxx.com)
/export/home/vp141p/ARCHIVE
scp -p vp141p@hstst191.hydc.sbc.com:/export/elk2/vp141p/PM_Build_SBS/Build_PVT_SBS/dist/current/Filename.ear .
The above code is... (5 Replies)
Discussion started by: vishwakar
5 Replies
8. Shell Programming and Scripting
Dear Brothers!
Need your help for the case where I am running one command on prompt and its giving us the correct output, but when i use the same command from shell its directs no output.:wall:
the command on command prompt is
ls -ltrh * | nawk '{if ($5~ '/$'M'/') print $9}' | grep -v... (1 Reply)
Discussion started by: jojo123
1 Replies
9. AIX
Hi,
I am able to login using su - or su directly ,
# prompt is coming, it doesnt ask for password.
any normal user on aix system is login using su - or su .
Please suggest where to change the configuration
direct root login is disabled in /etc/ssh/sshd_config file. (0 Replies)
Discussion started by: manoj.solaris
0 Replies
LEARN ABOUT MINIX
pset_setattr
pset_setattr(2) System Calls pset_setattr(2)
NAME
pset_setattr, pset_getattr - set or get processor set attributes
SYNOPSIS
#include <sys/pset.h>
int pset_setattr(psetid_t pset, uint_t attr);
int pset_getattr(psetid_t pset, uint_t *attr);
DESCRIPTION
The pset_setattr() function sets attributes of the processor set specified by pset. The bitmask of attributes to be set or cleared is
specified by attr.
The pset_getattr function returns attributes of the processor set specified by pset. On successful return, attr will contain the bitmask of
attributes for the specified processor set.
The value of the attr argument is the bitwise inclusive-OR of these attributes, defined in <sys/pset.h>:
PSET_NOESCAPE Unbinding of LWPs from the processor set with this attribute requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in
the effective set of the calling process.
The binding of LWPs and processes to processor sets is controlled by pset_bind(2). When the PSET_NOESCAPE attribute is cleared, a process
calling pset_bind() can clear the processor set binding of any LWP whose real or effective user ID matches its own real of effective user
ID. Setting PSET_NOESCAPE attribute forces pset_bind() to requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in the effective set
of the calling process.
RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
These function will fail if:
EFAULT The location pointed to by attr was not writable by the user.
EINVAL An invalid processor set ID was specified.
The caller is in a non-global zone, the pools facility is active, and the processor is not a member of the zone's pool's
processor set.
ENOTSUP The pools facility is active. See pooladm(1M) and pool_set_status(3POOL) for information about enabling and disabling the
pools facility.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
pooladm(1M), pooladm(1M), psrset(1M), zoneadm(1M), pset_bind(2), pool_set_status(3POOL), attributes(5)
SunOS 5.10 28 Jun 2004 pset_setattr(2)