?
Solved

Linux CPU nice

Posted on 2012-03-22
3
Medium Priority
?
354 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 80

Accepted Solution

by:
arnold earned 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

650 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