Sponsored Content
Full Discussion: Modify pset size
Operating Systems Solaris Modify pset size Post 302348549 by sb008 on Friday 28th of August 2009 02:45:11 PM
Old 08-28-2009
You cannot modify pset.size

pset.size will change automatically when u add or remove processors to the pset
 

10 More Discussions You Might Find Interesting

1. Solaris

Modify the size of parttion under solaris

:( Hello! is there a tool like partition magic under solaris 9 to modify the size of the partitions. I do not manage to install patches because I do not have any more a place in the partition root. Thank you (1 Reply)
Discussion started by: toufik
1 Replies

2. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

3. UNIX for Advanced & Expert Users

Command similar to "touch" for modify File size

Hi All, I'm trying to find a command like similar to "touch" which would let me change the file size property. For ex: I have a file of size 1MB using the command i would like to set/update the size something like 1KB. Is it possible? Is there any such command which would accomplish this... (3 Replies)
Discussion started by: sriharshareddyk
3 Replies

4. UNIX for Advanced & Expert Users

how to modify font size and type from script

I need to print different lines in different font types and sizes to the terminal window from csh script. I can easily change font color and print characters in bold or underline, but cannot figure out a way to change font. Any help is greatly appreciated.:confused: (3 Replies)
Discussion started by: helido
3 Replies

5. Shell Programming and Scripting

looking for files and modify if size matches

hi there. I'm at SunOS 5.9 At my new job i'm using UNIX, and it's my first time. i'm trying to make a script for: -find files with a name passed to it as parameter -compare results with file size passed as parameter too -when comparison's true --> move file -if not--> make nothing ... (3 Replies)
Discussion started by: viko
3 Replies

6. Shell Programming and Scripting

how to modify ramdisk size,kinda urgent !!!

Hi all, I wanted to know how to modify the size of the ramdisk? I mean am manipulating a live cd ,for which the file am manipulating is within a ramdisk now due to size constraints i am unable to play around with some stuff.... currently the size of the ram disk is 64M... I would like to... (1 Reply)
Discussion started by: wrapster
1 Replies

7. Solaris

unable to move processors in pset

bash-3.00# poolcfg -d -c 'transfer 8 from pset pset_default to pset-app' poolcfg: cannot transfer 8 from pset_default to pset-app: Invalid configuration bash-3.00# why i 'm getting this error ? (2 Replies)
Discussion started by: fugitive
2 Replies

8. Solaris

How to Destroy a processor set i.e pset

First of all I'm new to solaris. Today is the first day i'm practicing zones. In global zone i have created a two separate pools of 2CPU's and created a email-zone and a web-zone as given in a PDF. I deleted the 2 zones in the processor sets. How can i destroy the processor set and i want my... (2 Replies)
Discussion started by: breaker64
2 Replies

9. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

10. Solaris

How to change pset.size value in processor set in Solaris zone?

Hi I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 Replies
poolcfg(1M)															       poolcfg(1M)

NAME
poolcfg - create and modify resource pool configuration files SYNOPSIS
/usr/sbin/poolcfg -c command [-d | [filename]] /usr/sbin/poolcfg -f command_file [-d | [filename]] /usr/sbin/poolcfg -h The poolcfg command provides configuration operations on pools and sets. These operations are performed upon an existing configuration and take the form of modifications to the specified configuration file. If you use the -d option, the modifications occur to the kernel state. Actual activation of the resulting configuration is achieved by way of the pooladm(1M) command. Pools configuration files are structured files that must have been constructed using poolcfg itself or libpool(3LIB) directly. The configurations which are created by this tool can be used by pooladm to instantiate the configuration upon a target host. The following options are supported: -c command Specify command as an editing command. See USAGE. -d Operate directly on the kernel state. No filename is allowed. -f command_file Take the commands from command_file. command_file consists of editing commands, one per line. -h Display extended information about the syntax of editing commands. Scripts A script consists of editing commands, one per line, of the following: info [entity-name] Display configuration (or specified portion) in human readable form to standard output. If no entity is specified, system information is displayed. Therefore, poolcfg -c 'info' afile is an equivalent invocation to poolcfg -c 'info system name' afile. create entity-name [property-list] Make an entity of the specified type and name. destroy entity-name Remove the specified entity. modify entity-name [property-list] Change the listed properties on the named entity. associate pool-name [resource-list] Connect one or more resources to a pool, or replace one or more existing connections. transfer to [resourcetype] name [component-list] Transfer one or more discrete components to a resource . transfer [quantity] from [resourcetype] [src] to [tgt] Transfer a resource quantity from src to tgt . transfer [quantity] to [resourcetype] [tgt] from [src] Transfer a resource quantity to tgt from src. discover Create a system entity, with one pool entity and resources to match current system configuration. All discovered resources of each resource type are recorded in the file, with the single pool referring to the default resource for each resource type. This command is a NO-OP when poolcfg operates directly on the kernel. See the -d option. You should avoid use of this command. The preferred method for creating a configuration is to export the dynamic configuration using pooladm(1M) with the -s option. rename entity-name to new-name Change the name of an entity on the system to its new name. Property Lists The property list is specified by: ( proptype name = value [ ; proptype name = value ]* ) where the last definition in the sequence for a given proptype, name pair is the one that holds. For property deletion, use ~ proptype name. Resource Lists A resource list is specified by: ( resourcetype name [ ; resourcetype name ]* ) where the last specification in the sequence for a resource is the one that holds. There is no deletion syntax for resource lists. Component Lists A component list is specified by: ( componenttype name [ ; componenttype name ]* ) where the last specification in the sequence for a resource is the one that holds. There is no deletion syntax for component lists. Recognized Entities system Machine level entity pool Named collection of resource associations Resource Types pset Processor set resource Property Types boolean Takes one of two values true or false. int A 64-bit signed integer value. uint A 64-bit unsigned integer value. string Strings are delimited by quotes ("), and support the character escape sequences defined in formats(5). float Scientific notation is not supported. Example 1: Writing a poolcfg Script The following poolcfg script creates a pool named Accounting, and a processor set, small-1. The processor set is created first, then the pool is created and associated with the set. create pset small-1 ( uint pset.min = 1 ; uint pset.max = 4) create pool Accounting associate pool Accounting ( pset small-1 ) Example 2: Reporting on pool_0 The following command reports on pool_0 to standard output in human readable form: # poolcfg -c 'info pool pool_0' /etc/pooladm.conf Example 3: Destroying pool_0 and Its Associations The following command destroys pool_0 and associations, but not the formerly associated resources: # poolcfg -c 'destroy pool pool_0' /etc/pooladm.conf Example 4: Displaying the Current Configuration The following command displays the current configuration: $ poolcfg -c 'info' /etc/pooladm.conf system example_system int system.version 1 boolean system.bind-default true string system.comment Discovered by libpool pool pool_default boolean pool.default true boolean pool.active true int pool.importance 5 string pool.comment string.pool.scheduler FSS pset pset_default pset pset_default int pset.sys_id -1 string pset.units population boolean pset.default true uint pset.max 4294967295 uint pset.min 1 string pset.comment boolean pset.escapable false uint pset.load 0 uint pset.size 2 cpu int cpu.sys_id 0 string cpu.comment cpu int cpu.sys_id 2 string cpu.comment Example 5: Moving cpu with ID 2 to Processor Set pset1 in the Kernel The following command moves cpu with ID 2 to processor set pset1 in the kernel: # poolcfg -dc 'transfer to pset pset1 ( cpu 2 )' Example 6: Moving 2 cpus from Processor Set pset1 to Processor Set pset2 in the Kernel The following command moves 2 cpus from processor set pset1 to processor set pset2 in the kernel: # poolcfg -dc 'transfer 2 from pset pset1 to pset2' See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpool | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ The invocation is Evolving. The output is Unstable. pooladm(1M), poolbind(1M), libpool(3LIB), attributes(5), formats(5) 15 Feb 2005 poolcfg(1M)
All times are GMT -4. The time now is 08:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy