Solved

Linux CPU nice

Posted on 2012-03-22
3
339 Views
Last Modified: 2012-03-22
Regarding mpstat

what is nice
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 37754033
From man page:
%nice
              Show the percentage of CPU utilization that occurred while  exe-
              cuting at the user level with nice priority.
       %system

Basically you can do nice or renice to change priority of your process to a lower priority in order to give other processes preference over your process.

Some more information for you.
http://www.nixtutor.com/linux/changing-priority-on-linux-processes/
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 37754057
I.e. this is used for scheduling/priority assignment.
-20 preferred, +20 least preferred.
0
 
LVL 7

Expert Comment

by:torakeshb
ID: 37754098
mpstat -  %nice is the percentage of CPU utilization that occurred while executing at the user level with nice priority.  

(a) when you issue a command with "nice +7 rpm -ivh ***.rpm"  it will increment the priority of rpm installation by 7 and there by may increase the CPU utilization for the rpm command.

based on you prioritizing a process with nice command the %CPU utilization will change in mpstat.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question