Originally posted by AppleMatt
***jumps up and down***
Someone answer my question, is it normal for it to say "2 users", like in mine and maradong's uptimes?
Huff
impatient AppleMatt
Originally posted by übergeek
type in "who" in terminal and you'll find out why there are two (or more) users. my uptime is: up 1 day, 2:15, 2 users, load averages: 0.32 0.36 0.33
i guess panther really is preventing me from reaching those 15+ day uptimes again
dumb betas lol![]()
Originally posted by vniow
Anyhoo...
This is not accurate information. All modern Unix kernels use any available memory as cache for the filesystem. Top will correctly report your system not having much memory free because:Originally posted by AmbitiousLemon
not entirely true. a poorly coded app won't release its ram. but good apps will. launch photoshop and quit it and you can a couple hundred megs. launch iphoto and quit and ive gained as much as 400megs. if you run crappy network intensive apps (like itunes when sharing) your ram will disappear and new apps will pageout. but if you launch a new app like photoshop or iphoto and quit they are smart enough to use unused memory from other apps and then release it when they are done. there are also shareware apps to scrub ram. i usually just launch and quit iphoto when running low. an instant 200 to 400meg gain everytime. this means i only restart when installing something that requires a restart or a power outage or electrical storm (which we have had a lot of lately... grrrr).
also if you use a lot of lil crappy shareware type apps you may be leaking memory. i make sure all my third party apps are leak free (or if they leak i learn what causes the leak and avoid it)
say, thanks for that info. i was wondering why my GB of RAM would slowly fill up over a few days. i found that rather than running an app and exiting it, i would simply run "sh /etc/weekly" and daily and monthly in terminal and that tended to clear things out. but i guess one need not gauge by the free RAM...Originally posted by illumin8
This is not accurate information. All modern Unix kernels use any available memory as cache for the filesystem. Top will correctly report your system not having much memory free because:
A. Your programs are taking a big chunk.
B. The filesystem cache is taking the rest.
When you open a program with a large footprint like Photoshop, you are forcing the kernel to flush a lot of it's excess memory that's being used for cache and allocate it to Photoshop. If you then exit Photoshop, sure you'll have a lot of memory free for a little while, but you're not making your computer run any faster. You're just defeating the whole purpose of having a large filesystem cache: to speed up the computer.
Over time you'll notice that your memory fills up again. This is just because as you read data off of disk, your kernel is once again filling remaining memory with cached data from the hard drive.
I hope this makes sense. Modern Unix kernels are smart enough to manage their memory better than you can manually. Just let it do it's job...![]()
I believe the weekly and monthly scripts do some other useful things like clean out your /tmp. A lot of software places temporary files in /tmp which is actually a RAM disk. If the program doesn't shutdown properly or clean up after itself these files occupy RAM, so it is a good idea to run those scripts occasionally, especially if you seem to be thrashing on your disk a lot.Originally posted by Shadowfax
say, thanks for that info. i was wondering why my GB of RAM would slowly fill up over a few days. i found that rather than running an app and exiting it, i would simply run "sh /etc/weekly" and daily and monthly in terminal and that tended to clear things out. but i guess one need not gauge by the free RAM...
Originally posted by Doctor Q
The "who" command shows you the console and a list of one or more pseudo terminals (those devices named ttypn, for some n), so we just have to figure out what determines the number of pseudo terminals in use. I would have thought it would be the number of Terminal windows you have open, but that doesn't match on my system. With two Terminal windows open, I sometimes have 3 ttyp's and sometimes 4.
Therefore, uptime's number of users will be one more than the number of pseudo terminals, but that is not one more than the number of Terminal windows open.
Hmmm...