Hi,
This is my text file I'm trying to Grep.
Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End
My Grep command:
grep only--matching 'Location.*Received'
e.
Because the keyword Received appears twice, the Grep command will stop at the last... (0 Replies)
Hi,
This is my text file I'm trying to Grep.
Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End
My Grep command:
grep only--matching 'Location.*Received'
Because the keyword Received appears twice, the Grep command will stop at the last... (3 Replies)
My goal is to make a script to find/replace the variable "PORT" with a unique number.
Like the following
<VirtualHost 174.120.36.236:PORT>
ServerName architect.com.ph
ServerAlias www.architect.com.ph
DocumentRoot /home/architec/public_html
ServerAdmin... (16 Replies)
i have a file like below. how can i printout the digits followed by the pattern -bwout and -bwin. say i run the script by entering line number 145 (the fourth line), then the o/p should be like
5000000 1024000
8 test1 -ipprot erp -ppsout 500 -ppsin 500 -bwout 300000 -bwin 300000 -statsdevice... (7 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 Replies)
Hi community,
one of my zone is having issue and while i issue svs -a, i am getting below error
"svcs: failed to iterate over instances: server has insufficient resources"
none on the services are working including ssh/telnet.
please help me to fix this issue
thanks & Regards,... (1 Reply)
hi, i am trying to run :
# poolcfg -c 'create pset dbPset_set(uint pset.min=4;uint pset.max=4)'
and i got this error message:
poolcfg: cannot load configuration from /etc/pooladm.conf: No such file or directory
These two services are enable:
svc:/system/pools:default... (2 Replies)
Discussion started by: lythuongkiet
2 Replies
LEARN ABOUT V7
pooladm
pooladm(1M)pooladm(1M)NAME
pooladm - activate and deactivate the resource pools facility
SYNOPSIS
/usr/sbin/pooladm [-n] [-s] [-c] [filename] | -x
/usr/sbin/pooladm [-d | -e]
The pooladm command provides administrative operations on pools and sets. pooladm reads the specified filename and attempts to activate the
pool configuration contained in it.
Before updating the current pool run-time configuration, pooladm validates the configuration for correctness.
Without options, pooladm prints out the current running pools configuration.
The following options are supported:
-c Instantiate the configuration at the given location. If a filename is not specified, it defaults to /etc/pooladm.conf.
-d Disable the pools facility so that pools can no longer be manipulated.
-e Enable the pools facility so that pools can be manipulated.
-n Validate the configuration without actually updating the current active files. Checks that there are no syntactic errors
and that the configuration can be instantiated on the current system. No validation of application specific properties is
performed.
-s Update the specified location with the details of the current dynamic configuration.
This option requires update permission to the configuration that you are going to instantiate. If you use this option with
the -c option, the dynamic configuration is updated before the static location.
-x Remove the currently active pool configuration. Destroy all defined resources, and return all formerly partitioned compo-
nents to their default resources.
The following operands are supported:
filename Use the configuration contained within this file.
Example 1: Instantiating a Configuration
The following command instantiates the configuration contained at /home/admin/newconfig:
example# /usr/sbin/pooladm -c /home/admin/newconfig
Example 2: Validating the Configuration Without Instantiating It
The following command attempts to instantiate the configuration contained at /home/admin/newconfig. It displays any error conditions that
it encounters, but does not actually modify the active configuration.
example# /usr/sbin/pooladm -n -c /home/admin/newconfig
Example 3: Removing the Current Configuration
The following command removes the current pool configuration:
example# /usr/sbin/pooladm -x
Example 4: Enabling the Pools Facility
The following command enables the pool facility:
example# /usr/sbin/pooladm -e
Example 5: Saving the Active Configuration to a Specified Location
The following command saves the active configuration to /tmp/state.backup:
example# /usr/sbin/pooladm -s /tmp/state.backup
/etc/pooladm.conf
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.
poolcfg(1M), poolbind(1M), psrset(1M), pset_destroy(2), libpool(3LIB), attributes(5)
Resource bindings that are not presented in the form of a binding to a partitionable resource, such as the scheduling class, are not neces-
sarily modified in a pooladm -x operation.
The pools facility is not active by default when Solaris starts. pooladm -e explicitly activates the pools facility. The behavior of cer-
tain APIs related to processor partitioning and process binding are modified when pools is active. See libpool(3LIB).
You cannot enable the pools facility on a system where processor sets have been created. Use the psrset(1M) command or pset_destroy(2) to
destroy processor sets manually before you enable the pools facility.
15 Feb 2005 pooladm(1M)