I copy pasted my top out put below. Not sure if that was a good idea or not. My question is why is it showing 58Megs of ram being used but the % memory usuage barely adds up to 30% also could someoone guide me in understanding what the pri ni and such are thanks 2:38am up 23 days, 15:25, 2 users, load average: 0.00, 0.00, 0.00 42 processes: 41 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 0.7% system, 0.0% nice, 98.4% idle Mem: 61992K av, 58900K used, 3092K free, 0K shrd, 13432K buff Swap: 192740K av, 9364K used, 183376K free 22804K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 1227 wwwrun 9 0 5568 2260 1972 S 0.0 3.6 0:09 httpd 804 wwwrun 9 0 5360 2088 2068 S 0.0 3.3 0:10 httpd 26105 ***** 11 0 2104 2060 1872 S 0.0 3.3 0:01 sshd 26103 root 9 0 1732 1672 1504 S 0.0 2.6 0:00 sshd 26122 root 9 0 1640 1640 1252 S 0.0 2.6 0:00 bash 26106 ***** 9 0 1544 1544 1168 S 0.0 2.4 0:00 bash 26121 root 9 0 1116 1116 792 S 0.0 1.8 0:00 su 421 root 9 0 1056 1036 412 S 0.0 1.6 0:12 klogd 805 root 9 0 1208 1028 988 S 0.0 1.6 0:00 bash 26174 root 14 0 976 976 776 R 1.3 1.5 0:03 top 937 root 9 0 1332 876 748 S 0.0 1.4 0:14 nmbd 533 root 9 0 852 700 664 S 0.0 1.1 0:14 sshd 596 root 9 0 1308 688 572 S 0.0 1.1 0:00 sendmail 590 mail 9 0 1192 684 596 S 0.0 1.1 0:00 sendmail 938 root 8 0 1068 576 496 S 0.0 0.9 0:00 smbd 418 root 9 0 580 560 468 S 0.0 0.9 0:03 syslogd 802 root 8 0 4232 548 532 S 0.0 0.8 0:02 httpd 796 root 9 0 872 508 508 S 0.0 0.8 0:00 login 733 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 734 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 735 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 736 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 737 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 738 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 739 root 9 0 536 496 396 S 0.0 0.8 0:00 nscd 6891 root 8 0 492 436 416 S 0.0 0.7 0:00 inetd 713 root 8 0 484 424 384 S 0.0 0.6 0:00 cron 557 at 9 0 432 380 344 S 0.0 0.6 0:00 atd 798 root 9 0 448 380 380 S 0.0 0.6 0:00 mingetty 799 root 9 0 448 380 380 S 0.0 0.6 0:00 mingetty 800 root 9 0 448 380 380 S 0.0 0.6 0:00 mingetty 801 root 9 0 448 380 380 S 0.0 0.6 0:00 mingetty 803 root 9 0 448 380 380 S 0.0 0.6 0:00 mingetty 500 bin 9 0 432 348 348 S 0.0 0.5 0:00 portmap 765 root 8 0 504 248 232 S 0.0 0.4 0:00 smpppd 1 root 8 0 76 64 44 S 0.0 0.1 0:05 init 2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd 3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0 4 root 9 0 0 0 0 SW 0.0 0.0 0:13 kswapd 5 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush 6 root 9 0 0 0 0 SW 0.0 0.0 0:12 kupdated 9 root 9 0 0 0 0 SW 0.0 0.0 0:00 kreiserfsd Rowan Reid Job Captain, Systems Administrator STUDIO 3 ARCHITECTS 909 982 1717
On Tue, 17 Oct 2000, Rowan Reid wrote:
I copy pasted my top out put below. Not sure if that was a good idea or not. My question is why is it showing 58Megs of ram being used but the % memory usuage barely adds up to 30% also could someoone guide me in understanding what the pri ni and such are thanks
"man top" will explain these fields.
2:38am up 23 days, 15:25, 2 users, load average: 0.00, 0.00, 0.00 42 processes: 41 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 0.7% system, 0.0% nice, 98.4% idle Mem: 61992K av, 58900K used, 3092K free, 0K shrd, 13432K buff Swap: 192740K av, 9364K used, 183376K free 22804K cached
Linux uses free memory for buffers to speed access to recently used disk data. Whenever programs require additional memory, the kernel will release buffers to free memory. This question has been asked many times and it HAS to be part of a FAQ somewhere. I spent about 10 minutes looking and didn't find a good one. Anybody have a URL they want to share? Jim
On Thu, 17 Oct 2002, Jim Cunning wrote:
On Tue, 17 Oct 2000, Rowan Reid wrote:
2:38am up 23 days, 15:25, 2 users, load average: 0.00, 0.00, 0.00 42 processes: 41 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 0.7% system, 0.0% nice, 98.4% idle Mem: 61992K av, 58900K used, 3092K free, 0K shrd, 13432K buff Swap: 192740K av, 9364K used, 183376K free 22804K cached
Linux uses free memory for buffers to speed access to recently used disk data. Whenever programs require additional memory, the kernel will release buffers to free memory.
This question has been asked many times and it HAS to be part of a FAQ somewhere. I spent about 10 minutes looking and didn't find a good one. Anybody have a URL they want to share?
I searched a bit without finding anything relevant, but this is a part of the official SuSE FAQ, which is found inside the CD cover. In my 7.2 Pro, it is the second last item in the FAQ list. If you look at the output from free, the amount of memory available for programs is the second number in the free column. Regards Ole
participants (3)
-
Jim Cunning
-
Ole Kofoed Hansen
-
Rowan Reid