Sponsored Content
Operating Systems Linux Unkown memory usage, top doesn't know Post 302538327 by neutronscott on Tuesday 12th of July 2011 02:53:04 PM
Old 07-12-2011
Code:
[mute@geek ~]$ free
             total       used       free     shared    buffers     cached
Mem:        255636     239268      16368          0      57724      97476
-/+ buffers/cache:      84068     171568
Swap:       262136      40868     221268

Let's see this output first... See, even though my processes only take up about 83MB, there is only about 13MB free of 256MB.. That's because the kernel will cache and buffer things...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

2. UNIX for Dummies Questions & Answers

How to get system memory usage like top

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

3. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

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

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

6. Solaris

Memory usage, free and used, using sar, top and vmstat in Solaris zone/container

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

HELP - memory usage on Solaris : ps -efl and top

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

HOWTO - Total memory and CPU usage ... without top?

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

Command to display the space usage (memory usage) of a specific directory.

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. Shell Programming and Scripting

Swap usage by top and free command doesn't match

Its rather confusing, the output of top command is below: The "swap" field of top is described by the manpage as: "The swapped out portion of a task's total virtual memory image." But the output of free command suggests something else and it does tally with the output of swapon... (3 Replies)
Discussion started by: proactiveaditya
3 Replies
nflocks(5)							File Formats Manual							nflocks(5)

NAME
nflocks - maximum number of file locks VALUES
Failsafe Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 1200. For systems with more than 1GB of memory, the default is 4096, or 4K. Allowed values The minimum value is 50. The maximum value is 0x1000000. Specify a positive integer value. DESCRIPTION
The tunable represents the maximum number of file locks that are available system-wide. Who Is Expected to Change This Tunable? This tunable should be changed on systems expected to run applications with large number of file locks. When changing this number note that one file may have several locks, and databases that use or may need an exceptionally large number of locks. Restrictions on Changing This tunable is dynamic (tuning will take effect immediately on the running system). When the value of is dynamically tuned it cannot be set to a value lower than the current number of file locks in the running kernel. When Should the Value of This Tunable Be Raised? The value should be increased when large numbers of file locks are expected to be used simultaneously. What are the Side Effects of Raising the Value? The kernel allocates a portion of memory proportional to the new value of and frees memory proportional to the old value. Additional mem- ory is consumed as new locks are created. When Should the Value of This Tunable Be Lowered? The value can be lowered to limit the number of available file locks on a system and reduce memory consumption. What are the Side Effects of Lowering the Value? The kernel allocates a portion of memory proportional to the new value of and frees memory proportional to the old value. Additional mem- ory may be released to the system to be used for other purposes if the usage was ever higher than this new value. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
Setting to the maximum value(0x1000000) will result in a large memory allocation (~.5GB). A request to change the value of will fail with set if there is either not enough free memory or the remaining free memory would be so small as to potentially hinder system performance. All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2), fcntl(2), lockf(2). Tunable Kernel Parameters nflocks(5)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy