What does 'U<s' mean in ps output on Mac? [closed] - macos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I see the following ps output. What does U<s mean? How to force it running?
root 3531 0.0 0.4 4737660 34172 ?? U<s Wed09AM 189:36.15 /System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd

U is uninterruptible wait
< is high priority
s is session leader
The last 2 are in common with other systems; I've never seen U before (uninterruptible wait is usually 'D' since disk I/O is a common case).
It can't be "forced" to run except by completion of whatever it's waiting for, which is not apparent from just the state.
How do you know it's not running? I imagine that a backup process is I/O bound so it will quite likely be in an I/O wait when you look at it - but that doesn't mean it's been waiting all alone; it could be flipping between waiting and running quite rapidly.

Related

Activity Monitor, what does %CPU represent exactly? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Here is what I see in MacOS Activity Monitor, note %CPU column.
First item (Xcode process) shows 122.4 value. Any idea what it represents? If it is 122.4% then percent of what exactly?
The %Cpu usually represents the % usage of a single core on your processor. If you have a quad-core, you have a total usage possibility of 400%.
Your first process in your list has 28 threads spread accross more than one core which are using more execution than a full single core.

Transferring big files with cp command in terminal and see want to see process [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I used the "cp" command to copy and paste a big directory (>300GB) to an external disk.
Now i want to see the process because it is running for almost 12 hours.
I pressed ctrl + t because someone else recommended it. And the output was:
load: 3.10 cmd: cp 2343 uninterruptible 13.31u 1051.85s
What does this output mean?
From the stty(1) page:
The status line consists of the system load average, the
current
rent command name, its process ID, the event the process is waiting on (or the status of
the process), the user and system times, percent cpu, and current memory usage.
Therefore;
System load average is 3.10
The current command running is "cp" with a Process ID of 2343, and it is uninterruptible.
I assume 13.31u means 13 hours of user time, and 1051.85s is the system time. There is no CPU percentage or RAM usage details however.
I'm not sure ctrl + t is the solution you're looking for..

Elasticsearch getting http request performance [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have 10 ES Servers each one with 32Cores Cpu, 256G memory and 10Gb NIC. The ES cluster will face about 9000 times request(index or query) per second. Do you think this would be a problem, or any optimization I should do please.
It depends on the index structure, data amount and the queries you're doing. Hardware alone does not guarantee anything. I have seen clusters two times less powerful than yours which were capable to handle 10k/sec. However I can easily imagine queries and aggregations that will take some time to run on your cluster.

top output, relationship between virt and mem% for a process [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
my computer has ubuntu 14 installed. There are a total of 40 CPUs, and 260G memory.
I use top command line to check the status of the processes. I was expecting that for each individual process, the virt value should be approximately equal to 260 * mem%. However, it is not.
Could you anyone help me to figure out why?
Thanks for any input:))
The MEM% column shows the amount of physical memory that is being used by a process. This amount is called the "Resident Set Size" (RSS) and is given in the RES column. The amount of virtual memory on a system is effectively unlimited due to the fact that each process has their own LDT (on x86; other architectures' MMUs have their own equivalents).

Why does process terminate on time overrun? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am reading Operating Systems by William Stallings. I came across the line below while reading reasons for process termination,
Time Overrun:
The process has waited longer than a specified maximum for a certain event
to occur.
For example, a program wants to take input from the user so its in the blocked state. Now if the user does not provide any input in a particular time period, according to this statement the program should go to exit state. This is impractical. None of the programs seem to do so. Please guide. Thanks
The reason may be given by the book is starvation. When a process needs execution of a certain task and it cannot be performed, this situation is called starvation. So, the process is made to terminate, if it reaches the dead line.

Resources