Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Activity Monitor


Post Reply New Thread Subscribe

 
Thread Tools
Le Fumeur

 
Le Fumeur's Avatar
 
Member Since: Jul 03, 2006
Posts: 76
Le Fumeur is on a distinguished road

Le Fumeur is offline
On Activity Monitor, on the CPU moving bar graphs, one category of CPU usage type is "Nice." What does that mean?
QUOTE Thanks
novicew

 
novicew's Avatar
 
Member Since: Jan 04, 2006
Location: Hamburg, Germany
Posts: 1,385
novicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to all
Mac Specs: MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)

novicew is offline
I don't seems to have that. Can you give us some more details?
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
Nice is a unix feature that lets processes give cpu cycles to other processes.

So if Mail is nice 5 and iTunes is nice 8, if mail isn't using all its allocated cpu time, it will donate the spare cycles to iTunes.

I think that's basically what its about, I might have the numbers the wrong way round though.
QUOTE Thanks
nemonicx

 
Member Since: Jul 21, 2006
Posts: 25
nemonicx is an unknown at this point

nemonicx is offline
tight. I was wondering the exact same thing. And "nice" pretty much self explanatory.
QUOTE Thanks
cazabam

 
cazabam's Avatar
 
Member Since: Jun 06, 2006
Posts: 1,153
cazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of light
Mac Specs: MacBook 2.0GHz White, 512MB RAM, 60GB HDD

cazabam is offline
Aptmunich is correct, it's the process priority. The way it works is this:

In user space, nice 20 is the lowest priority, nice 10 is the default and nice 0 is the highest priority a normal user can set their process (to change the nice value, you need to check `man nice` at a terminal). The root user (or any administrator user via the `sudo` command) can also access special nice values of -1 to -20, which get progressively higher and higher in priority until they pretty much use up all the CPU time.

IIRC, the reason it's called `nice` and the back-to-front scale is a silly developer pun. If a process has a nice value of 20, it means that it is a very nice process and will give up its processor cycles to others. If it has a nice value of 0, then it's not very nice at all and will hog the processor if it can
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
I read it is also because back in the day, multiple users would be logged into one computer via terminals. If your work wasn't high priority, you could decide to be "nice" to the other users and speed up their work.
QUOTE Thanks
OneWorld22

 
OneWorld22's Avatar
 
Member Since: Jul 28, 2006
Location: Dublin, Ireland
Posts: 75
OneWorld22 is on a distinguished road
Mac Specs: iMac 20in 2.0GHZ Intel Core Duo 2GB Ram

OneWorld22 is offline
On a related issue regarding activity monitor, I was looking at it today and gasped at how much memory Safari takes....
Especially when i also ran Camino.....It uses nearly a 10th of the resources that Safari does. How can that be?? I'm actually happy with Safari it seems to be almost as quick as Camino and is nice to use. I have loads of apps running now as a test, mail, browsers, office apps, iPhoto etc open and I still have 600mb of the 2GB of RAM free.
QUOTE Thanks
Jabjabs

 
Member Since: Feb 02, 2006
Location: Melbourne, Australia
Posts: 168
Jabjabs is on a distinguished road
Mac Specs: 1.25Ghz Mini, 512MB, 40GB

Jabjabs is offline
I'm not sure but i think Safari has a memory leak or is just keeping everything it uses in RAM until something else needs it. Ether way it is a resource hog unfortunately.

Mac Life - Apple Mac computers news, forums and more...

http://www.finiteloops.com
QUOTE Thanks
cazabam

 
cazabam's Avatar
 
Member Since: Jun 06, 2006
Posts: 1,153
cazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of light
Mac Specs: MacBook 2.0GHz White, 512MB RAM, 60GB HDD

cazabam is offline
It may well be the caching facility that's taking up the memory. When FireFox 1.5 was released there was outcry at the amount of RAM it built up over time, but it was only because it was caching pre-rendered pages to provide faster switching between tabs or through the history.
QUOTE Thanks
MacWill

 
MacWill's Avatar
 
Member Since: Jul 20, 2006
Posts: 124
MacWill is an unknown at this point

MacWill is offline
Quote:
Originally Posted by OneWorld22
On a related issue regarding activity monitor, I was looking at it today and gasped at how much memory Safari takes....
Especially when i also ran Camino.....It uses nearly a 10th of the resources that Safari does. How can that be?? I'm actually happy with Safari it seems to be almost as quick as Camino and is nice to use. I have loads of apps running now as a test, mail, browsers, office apps, iPhoto etc open and I still have 600mb of the 2GB of RAM free.
This is something I hope Apple fixes in the future.

I love the Safari browser but the Activity Monitor really did open my eyes to truely how gross the amount that they use.

I still use it though but really hope it does something about it in Lepoard.
QUOTE Thanks

Post Reply New Thread Subscribe


« First Post on my new IMAC!!! | Password problems »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Activity monitor is screwed Everett OS X - Operating System 2 07-23-2006 09:27 AM
Activity Monitor %nice coach_z OS X - Operating System 5 03-22-2006 02:54 PM
kernel_task in activity monitor skolar Apple Notebooks 2 09-09-2005 10:28 PM
Activity Monitor won't start hardran3 OS X - Operating System 2 08-17-2005 04:55 AM
Activity Monitor tabasko OS X - Operating System 3 03-01-2004 09:50 AM

All times are GMT -4. The time now is 11:10 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?