Sponsored Content
Top Forums UNIX for Dummies Questions & Answers To find processor speed & memory in HP Unix 10.2 Post 14262 by augustinep on Tuesday 29th of January 2002 04:36:25 PM
Old 01-29-2002
Could you advise me which option under SAM, I can get this, as I could not figure it out.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix & Processor compatibility

subject is self explanitory... can i install Unix on a system w/ and AMD processor (1 Reply)
Discussion started by: goliath3021
1 Replies

2. UNIX Desktop Questions & Answers

Where can I find a Unix OS that will run on a 386 processor?

Hey, can anyone recommend a URL (or website) where I can download a basic (or old) UNIX OS that will run on an ancient laptop that has a 386 processor, 4MB of RAM and a 40MB harddrive? Your help and suggestions are much appreciated! :confused: (4 Replies)
Discussion started by: methudrez
4 Replies

3. Solaris

processor speed in mHZ

how do i tell the processor speed on solaris 8? (2 Replies)
Discussion started by: csaunders
2 Replies

4. Solaris

Processor and memory supports

HI i'am Giancarlo D. Jabon student from AMA Computer University is anyone among all of you who knows the maximum processor and memory supports in Sun Solaris 10 Thanks !!!! (3 Replies)
Discussion started by: giancarlodjabon
3 Replies

5. HP-UX

How to find the memory in HP-Unix?

Hi, I have a HP-Unix server, version B.11.23. Can someone tell me how to find out the physical memory & virtual memory (swap) in my server? & what is Page fault? & is there any limitation for page fault? Thank you. Your help is appreciated. (7 Replies)
Discussion started by: Amol21
7 Replies

6. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

7. UNIX for Advanced & Expert Users

How to find out memory & cpu usage of a process

Hi, By using time command we can determine the execution time of a process or command. bash-2.04$ time ls -l total 0 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2 real 0m0.002s user 0m0.000s sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies

8. Solaris

Check Solaris Zones Processor & Memory allocations

Hi, I am a newbee in the solaris administration. My question is how to 1. Check the total CPU and memory of a global zone. 2. Check the allocated CPU and memory for each of the residing non-global zones. I have already tried prtconf which gives the following output /usr/sbin/prtconf... (4 Replies)
Discussion started by: poga
4 Replies
pset_bind(2)							System Calls Manual						      pset_bind(2)

NAME
pset_bind() - bind process or thread to a processor set SYNOPSIS
DESCRIPTION
The function binds thread(s) or process(es) specified by idtype and id to the processor set pset. If idtype is then id specifies the pid of the process to be assigned, and the binding affects all threads of the process. If idtype is then id specifies the lwpid of the thread to be assigned, and the binding affects only the specified thread. You cannot spec- ify a pthread ID for pthreads in id, an lwpid is required. See in pthread_processor_bind_np(3T) for information on binding pthreads to processor sets. If idtype is then id specifies the effective user ID of all processes to be assigned, and the binding affects all threads in these pro- cesses. The operation is not a "success is all or none" type, because it rebinds as many processes as possible without error. If idtype is then id specifies the process group ID of all processes to be assigned, and the binding affects all threads in these pro- cesses. The operation is not a "success is all or none" type, because it rebinds as many processes as possible without error. All pro- cesses in a process group need not have same access permissions to target processor set. If opset is not it contains the previous processor set binding of the specified thread or process upon successful operation. However, opset is ignored if idtype is or All threads of a process need not be assigned to the same processor set. If id is then idtype identifies the target process(es) or thread(s) to be assigned to pset. The identifies the calling process, whereas identifies the calling thread. The identifies all processes with the effective user ID of the calling process, and identifies all pro- cesses in the process group of the calling process. If pset is or the system default processor set is the target processor set. If pset is the processor set binding is not changed, the current processor set's processor set ID is returned in opset. If idtype is or request has no meaning. No special access privileges are needed for operation. If pset is the same as the current processor set for the specified process or thread, the operation is considered a request. The system daemon processes are not restricted to any user defined processor sets. They may execute on any processor in the system irre- spective of the processor set configuration a user may have set up. The processor set binding of system daemon processes may not be changed. The operation on system daemon processes returns a special processor set ID of to indicate they are treated differently. Note: The system daemon processes are created in the kernel for kernel activities, and not the user daemon processes that execute in user space. A user with the privilege, or a user with EXEC permission for the processor set pset may affect the binding change. The and functions may be used to set and query the processor set access permissions. See pset_getattr(2)). If the thread or process being assigned to pset has binding to a processor or a locality domain in its current processor set, the binding is reassigned to a processor or locality domain in the new processor set pset. If pset is empty (no processors are assigned as yet), the behavior of function depends on the value of attribute. The default behavior on an attempt to bind a thread or a process to an empty processor set is to fail the request. The child process and its first thread created by a or function inherits the processor set binding from the parent process. The new threads in the multi-threaded process inherits their processor set binding from the creator thread. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. RETURN VALUE
returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
sets to one of the following values if the corresponding condition occurs. The memory location pointed to by opset is not writable by the user. pset is not valid. idtype or id is not valid. pset is empty and the current setting of processor set attributes does not allow this operation on an empty processor set. The memory location pointed to by opset is NULL and the operation is requested. The processor set functionality is not supported by the underlying HP-UX version. User does not have necessary permissions to bind a thread or a process to specified processor set. The specified thread or process is a system daemon. The specified thread, process, user ID, or process group does not exist. EXAMPLES
Migrate the current thread to another processor set new_pset, and retrive its current processor set in old_pset. SEE ALSO
psrset(1M), fork(2), pset_assign(2), pset_create(2), pset_ctl(2), pset_destroy(2), pset_getattr(2), pset_setattr(2), vfork(2), privgrp(4), privileges(5). pset_bind(2)
All times are GMT -4. The time now is 02:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy