03-22-2007
sounds like you having fun with your 6core niagara Tx000
but yes, and that's the reason why i am using pools.... with the solaris resource management you can start processes inside a project and that project can use a defined pool with the "project.pool" attribute and that pool is associated to a processor set...
but why don't you use zones/container? that would be the best way to isolate the processes against each other and bind the CPUs to their environment...
gP
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Can anybody solve this query?
A parent process forks 2 child processes. How does the child process know it's PID without the parent process sending it.
Apart from the "ps-ef" option, what other options are there if any? (2 Replies)
Discussion started by: skannan
2 Replies
2. Shell Programming and Scripting
Hi Friends :p
I have a little problem please help me out. I have a Unix based OS Sun Server having oracle 8i as database on it. The server has one client with windows OS. The client uses developer 2000 (GUI) to run query and run processes. I want to know how can I know the PID of a process run... (3 Replies)
Discussion started by: vanand420
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this.
Thanks in advance,
Amudha (7 Replies)
Discussion started by: samudha
7 Replies
4. Shell Programming and Scripting
Hi
I have written a shell script to find and kill the particular process. Here in shell script i have written the code like
cnt = $(ps -ef | grep Shree)
echo $cnt
I am getting the output
root 2326 2317 0 14:39:46 pts/1 0:28 Shree -f fdc.fbconf FDCapp.fbapp
Here I want to... (2 Replies)
Discussion started by: Shreedhar Naik
2 Replies
5. Shell Programming and Scripting
Hi all,
i was able to redirect pid of process to a file in the following way
ps aux|awk '$11 == "/Applications/ProjectX/DServer" >> /Applications/ProjectX/DServer.pid
it works fine but if one folder name caontains space its not working like below
ps aux|awk '$11 == "/Applications/Project\... (1 Reply)
Discussion started by: kirankumars
1 Replies
6. Programming
Hi
I use linux OS.
I've already written a function that allow me to get the process name by pid. (searching in /proc). Now I'd like to perform the inverse task.I mean get the process pid by its name.
I could write a function that search in every folder in /proc for the process name, but i... (2 Replies)
Discussion started by: Dedalus
2 Replies
7. AIX
Hi All,
I searched other threads and could not find any relevant post about this.
I searched for process 0 in SUN OS and could find the sched/swapper process listed.
root 0 0 0 Apr 25 ? 0:06 sched
but i couldnt not find the swapper process (PID 0) in AIX. Is that... (4 Replies)
Discussion started by: quintet
4 Replies
8. HP-UX
Hi all.
I need to get detailed information about a PID.
I have an app called Reflection X and it shows many things like Total CPU percent, User CPU (Nice) percent, FS Reads, etc.
My question is how can I get all that information on console?
Is there an archive with the detailed... (9 Replies)
Discussion started by: the0m3n
9 Replies
9. AIX
Hi
I would like to know more about swapper process..
I knew that swapper is the first process with PID#0, used to perform process swap operations. It used to swap entire processes
But sometimes I find swapper process with PID#264
So my doubt is how many swapper process can exist in a system?... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
10. AIX
HI,
i used
ps -ef | grep 3539052 | grep -v grep
and i got a output like ths
root 3539052 3407918 0 May 07 - 709:31 /usr/sbin/syslogd
but what i need is instead of full path /usr/sbin/syslogd i want only the process name that is 'syslogd' here. (3 Replies)
Discussion started by: sumanthupar
3 Replies
LEARN ABOUT OPENSOLARIS
poolbind
poolbind(1M) System Administration Commands poolbind(1M)
NAME
poolbind - bind processes, tasks, or projects or query binding of processes to resource pools
SYNOPSIS
/usr/sbin/poolbind -p poolname -e command [arguments]...
/usr/sbin/poolbind -p poolname [-i idtype] id...
/usr/sbin/poolbind -q pid...
/usr/sbin/poolbind -Q pid...
DESCRIPTION
The poolbind command allows an authorized user to bind zones, projects, tasks, and processes to pools. With the -e option (see below), it
can execute a command you specify, placing the executed command in a specified pool. It can also enable you to query a process to determine
which pool a process is bound to.
OPTIONS
The following options are supported:
-e command [arguments...] Executes command, bound to the pool you specify with -p.
-i idtype This option, together with the idlist arguments, specifies one or more processes to which the poolbind command
is to apply. The interpretation of idlist depends on the value of idtype. The valid idtype arguments and cor-
responding interpretations of idlist are as follows:
pid idlist is a list of process IDs. Binds the specified processes to the specified pool. This is the
default behavior if no idtype is specified.
taskid idlist is a list of task IDs. Bind all processes within the list of task IDs to the specified pool.
projid idlist is a list of project IDs. Bind all processes within the list of projects to the specified
pool. Each project ID can be specified as either a project name or a numerical project ID. See
project(4).
zoneid idlist is a list of zone IDs. Bind all processes within the list of zones to the specified pool.
Each zone ID can be specified as either a zone name or a numerical zone ID. See zones(5).
-p poolname Specifies the name of a pool to which the specified zone, project, tasks, or processes are to be bound.
-q pid ... Queries the pool bindings for a given list of process IDs. If the collection of resources associated with the
process does not correspond to any currently existing pool, or if there are multiple pools with the set of
resources that the process is bound to, the query fails for that particular process ID.
-Q pid ... Queries the resource bindings for a given list of process IDs. The resource bindings are each reported on a
separate line.
EXAMPLES
Example 1 Binding All Processes
The following command binds all processes in projects 5 and 7 to the pool web_app:
example# /usr/sbin/poolbind -p web_app -i projid 5 7
Example 2 Binding the Running Shell
The following command binds the running shell to the pool web_app:
example# /usr/sbin/poolbind -p web_app $$
Example 3 Querying the Pool Bindings
The following command queries the bindings to verify that the shell is bound to the given pool:
example# /usr/sbin/poolbind -q $$
Example 4 Querying the Resource Bindings
The following command queries the bindings to verify that the shell is bound to the given resources:
example# /usr/sbin/poolbind -Q $$
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 Requested operation could not be completed.
2 Invalid command line options were specified.
ATTRIBUTES
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.
SEE ALSO
pooladm(1M), poolcfg(1M), libpool(3LIB), project(4), attributes(5), zones(5)
SunOS 5.11 9 Feb 2005 poolbind(1M)