Sponsored Content
Full Discussion: Unix process states
Top Forums UNIX for Advanced & Expert Users Unix process states Post 302600802 by tinkerbeast on Wednesday 22nd of February 2012 05:15:07 AM
Old 02-22-2012
@methyl

I understand that there are a lot of variations. I was just wondering if the standard specifies / recommends / hints at any particular model.

The Linux man pages do give the above data. However the ps manual from the SUSv4 doesn't really say anything about process states. Checkout http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
 

8 More Discussions You Might Find Interesting

1. IP Networking

laymens terms for netstat states

Ok, I've read the manpages on netstat and it gives a good description of the state values such as CLOSE_WAIT, ESTABLISHED, SYN_RECEIVED, etc.. Can someone give me real world situations where you would get these states. LIke for example if I got SYN_RECEIVED what possible situations would be the... (1 Reply)
Discussion started by: eloquent99
1 Replies

2. Programming

How to get process name from process id in all Unix platforms?

Hi, i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux?? How can this be done? Is there any common solution to all platforms? On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this? ... (3 Replies)
Discussion started by: molu
3 Replies

3. Solaris

meaning of states in sun clusters

Hi Everybody, As I am new to Sun Clusters, Please help me what is "online but not monitored" state of resources and "online - service is online" in status message. Thank you. (1 Reply)
Discussion started by: mayahari
1 Replies

4. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

5. UNIX and Linux Applications

Where can I find UNIX training course in the United States?

Hi guys, Can you help me please to find an appropriate course of UNIX in the United States. Also, can you provide me some information about the schools or institutes that offer it in the U.S. Thanks, (0 Replies)
Discussion started by: Malik Dera
0 Replies

6. Shell Programming and Scripting

Count no of netstat states

netstat | awk '/server/ {for(i=1;i<2;i++) {getline;print}' Output: ESTABLISHED ESTABLISHED ESTABLISHED ESTABLISHED ESTABLISHED TIME_WAIT TIME_WAIT From the above command I'm getting all the states. I want to count the states and write to a file, like "Count of ESTABLISHED... (6 Replies)
Discussion started by: Roozo
6 Replies

7. Hardware

Hyperthreaded virtual cores, different C-States?

turbostat reports C-states of all CPU cores, and includes entries for each hyper-threaded core as well. Often enough the two logical cores on a single physical core will list different C state percentages. Does that make any sense? Is this reporting the c-states of the few duplicated parts... (8 Replies)
Discussion started by: agentrnge
8 Replies

8. Shell Programming and Scripting

Ps command showing different states for same process

I am using HP-UX,KSH $ jobs -l + 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 & $ ps -p 19377 -fl F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies
pstatectl(1M)															     pstatectl(1M)

NAME
pstatectl - control processor performance states SYNOPSIS
cpu] pstate| interval] DESCRIPTION
The command is used to control processor performance states (P-states). On systems with supported processors and firmware, processor per- formance states can reduce power consumption. A supported processor implements a series of performance states, numbered from P0 to Pn, where n is implementation dependent. Each subse- quent P-state consumes less power but offers less performance than the previous state. provides access to both static and dynamic performance state usage modes. In static mode, the system remains in a specified P-state, where power consumption and performance are reduced by a fixed amount. In dynamic mode, HP-UX will adjust the processors' P-states individually, in response to the workload running on the system. Enabling dynamic processor performance states will generally have a negligible effect on system performance, while at the same time reduc- ing power consumption when the system is not fully loaded. Options recognizes the following options: The operation will apply to the specified processor only. If is not specified, the operation applies to the whole system. The "status" operation will report detailed status for each processor. Otherwise, a summary of the system state is reported. Operands recognizes the following operands; only one operand at a time can be specified on the command line: Enable the dynamic P-states mode (processors will adjust performance to match the workload). Disable the P-states (processors will always be at maximum performance). Enable static mode (processors will always be in the specified P-state). If the specified state is higher than is supported, the highest supported state is used instead. The state may be specified as a number, or in P-state notation (for example, P0). Enable dynamic P-states mode within the range of states specified. and should be supplied as specified under the option. Report information about the system's P-state capabilities, the current P-state mode (static or dynamic), and whether HP-UX has control over processor P-states. If was speci- fied, each processor's current P-state and operating mode are displayed. Display a table listing the power consumption and relative performance of each P-state. Print the number of the highest implemented P-state on the system. If the system does not support P-states, the number is 0. Change the time interval between dynamic mode state changes to the specified duration. The minimum is 0.01 seconds, and the maximum is 600 seconds. EXTERNAL INFLUENCES
On some systems, the Onboard Administrator may take control of P-states away from the operating system (for instance, when iLO is used to place the system in Static High Performance or Static Low Power mode). If HP-UX does not have control over processor performance states, the command will still work normally. However, any changes made to P-state modes will have no effect until HP-UX regains control. The command will report whether HP-UX currently has control over P-states. RETURN VALUE
returns the following values: Successful completion. Command failed. DIAGNOSTICS
Make sure that the system has Itanium(R) 2 9100 series or later processors, and that the installed system firmware supports P- states. EXAMPLES
To enable dynamic P-states on the system: To disable dynamic P-states on the system (all processors will be in maximum performance mode): or To restrict the system to P0 and P1 only: DEPENDENCIES
Processor performance states require Itanium(R) 2 9100 series processors or later models. Some systems require a firmware update to use processor performance states. AUTHOR
was developed by HP. SEE ALSO
(Itanium(R)-based Systems Only) pstatectl(1M)
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy