03-16-2006
unix top command (memory usage)
in unix when i use top
i get an output like this:
load averages: 0.64, 0.57, 0.53 14:04:42
347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped
CPU states: 16.4% user, 2.8% nice, 7.6% system, 73.0% idle
Memory: Real: 1532M/3964M act/tot Virtual: 7767M/45341M use/tot Free: 75M
my question is why we dont get the total memory when we add Free memory
to actual memory?
1532(act)+75(free)!=3964 (total)
and
7767(use)+75(free)!=45431(total)
and my second question is:
what kind of information we can get from the first line
(load averages: 0.64, 0.57, 0.53 )
and lastly:
i have a system>> Compaq Tru64 UNIX V5.1B
how can i get information about swap activity?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
im working on sunos machine that dont have the top installed and can't be
install , now i need to get information similar to what top gives me about the cpu usage and so
can it be done somehow else where ? (3 Replies)
Discussion started by: umen
3 Replies
2. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
3. UNIX for Dummies Questions & Answers
Hi there. I was looking at the output from running top and for short amounts of time, when I see all the process running and add up the values in the %CPU column the value exceeds 100% (I just add them quickly in my head). I assume that if I were to add up all my processes in the entire list,... (2 Replies)
Discussion started by: Carl1976
2 Replies
4. UNIX for Dummies Questions & Answers
Ok, so I am using the Top command on my linux VPS to try and see the processes using the most CPU %.
I hit the P to sort by CPU % but it wants to sort them from lowest to highest (ascending). My Telnet-SSH screen is only about 60 rows high so the processes with the highest CPU % usage are at the... (6 Replies)
Discussion started by: davemehta
6 Replies
5. Shell Programming and Scripting
Hi all,
I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command.
Thanks in advance.
Thanks,
Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies
6. Solaris
Hi all,
I have a server running an Oracle database that is part of a Solaris M5000 container. Presumably this is referred to as a zone within a cluster, not sure if I get the terminology right.
Anyway, a third-party manages the zone and unfortunately is not "helpful/friendly" to assist me on... (1 Reply)
Discussion started by: newbie_01
1 Replies
7. Solaris
Hi all,
OS Version:
SunOS <hostname> 5.10 Generic_142900-13 sun4v sparc SUNW,Sun-Blade-T6340
I need some expert guidance on investigating memory usage on Solaris. I want to know whether am interpreting the output from ps -efl correctly and whether the command top is showing the right... (3 Replies)
Discussion started by: newbie_01
3 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Is it possible to get total memory usage and free memory usage without top? By Googling I found for total memory usage, use vmstat, for CPU, use mpstat, for disk I/O use iostat, is this correct? Will using sar gives the same result as ALL of these three (3) commands?
What about if I... (2 Replies)
Discussion started by: newbie_01
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
10. Linux
Hi,
Yersterday I started monitoring my homeserver memory consumition due some errors found in the system (network hangs). I've detected almost all the memory used (~10 MB free from 1GB).
First I thought it was because of the MySQL configuration, so I monitored it with top and found it wasn't... (6 Replies)
Discussion started by: nefeli
6 Replies
LEARN ABOUT DEBIAN
xsysinfo
XSYSINFO(1x) Debian GNU/Linux XSYSINFO(1x)
NAME
xsysinfo - Display Linux kernel parameters in graphical form
SYNOPSIS
xsysinfo [-help] [-update n] [-[no]title] [-[no]labels] [-[no]loadavg] [-[no]load] [-[no]mem] [-[no]swap] [-[no]smp]
DESCRIPTION
Xsysinfo is an X application to display some Linux kernel parameters in graphical form. It is like a mix of top, free and xload with the
difference that the values are shown in form of a horizontal bar. The displayed values are: CPU load average, CPU load, memory and swap
sizes (details see below).
OPTIONS
-update n
Set update rate to n milli-seconds
-title Show title string
-notitle
Don't show title string
-labels
Show gauge labels
-nolabels
Don't show gauge labels
-loadavg
Show CPU load average value
-noloadavg
Don't show CPU load average value
-load Show CPU load value
-noload
Don't show CPU load value
-smp Show separate SMP loads
-nosmp Don't show separate SMP loads.
-mem Show memory info
-nomem Don't show memory info
-swap Show swap info
-noswap
Don't show swap info
-help Display options
DISPLAY
Xsysinfo display the following values:
CPU load average
CPU load average between 0.000-8.000. The gauge's bar is subdivided into segments, where one segment represents a load value of 1.0.
The bar's full length is automatically scaled, depending on the displayed value.
CPU load
percentage CPU load time to CPU idle time subdivided in three segments: user load, system load and nice load. On an SMP system the
-smp option replaces the single total load meter with a separate meter for each processor.
Memory The memory gauge's bar is subdivided into two segments with the amount of physical memory, which is used by processes on the left
and physical memory used for the page and buffer cache on the right. The length of the whole bar, which is the sum of these two val-
ues, shows the amount of physical memory currently used by the system.
Swap The percentage of swap space used by the system to total amount of swap space.
AUTHORS
Xsyinfo is written by Gabor Herr <herr@iti.informatik.th-darmstadt.de> and currently maintained by Ronald Wahl <ronald.wahl@informatik.tu-
chemnitz.de>.
This manual page was created by Roland Rosenfeld <roland@spinnaker.de> for the Debian GNU/Linux system (but may be used by others).
Debian Project December 2005 XSYSINFO(1x)