Above is the output of 'free -m' from my linux machine. I did some searching on the internet and some of the articles point that linux is memory hungry ( not that it use up memory very fast, but it will use what is available). In my case, what is the free RAM i have? 46M or 518M. I highly do not think that its 46M + 518M.
The used and free Mem adds up to 1010 ( 963 + 46)
I am quite buffled by the -/+ buffers/cache value, the used and free values also adds up to 1010.
so linux is telling me it has used up 963MB of ram and 46MB is still available but on the other hand, it has 491 used in the buffer and 518 in the buffer is free... *confused and curious*
My total physical ram is 1GB. Would appreciate if anyone can explain and 'de-mysterifiy' me.
when /var directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /var is still 85% full.
It can detect the actual disk space only after I restart the machine. Is there a way to force df to reflect actual free space without... (1 Reply)
Hi All,
I have a pair of sun ultra 5_10 with SunOS 5.5.1.
Both are almost equally patched and set up with simillar applications.
host# uname -a
SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10
Even though both have
same amount of RAM ( 512 Mb ) ,
... (1 Reply)
What's the best way to find out how much memory is being used/available? I tried using free, but I didn't quite understand the output. Can someone explain it?
$ free
total used free shared buffers cached
Mem: 16304536 16256376 48160 0 ... (6 Replies)
I am trying to write a small (and rather simple) script to gather some info about the system and piping it to dzen2
first, i want to explain some things.
I know i could have used conky, but my intention was to expand my knowledge of bash, pipes and redirections inside a script, and to have fun... (14 Replies)
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)
Hi all,
I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
I recently started working with Linux and wrote my first device driver for a hardware chip controlled by a host CPU running Linux 2.6.x kernel.
1. The user space process makes an IOCTL call with pointer to a user memory buffer.
2. The kernel device driver in the big switch-case of IOCTL,... (1 Reply)
hi , I have a problem about getgroups usage on linux. getgroups can get supplementary groups of a process but if i run a process with root account and I want to get supplementary groups of nobody then what i should do to realize that. (4 Replies)
Hi,
I'm looking into doing a few performance tweaks by adjusting my max memory on a few lpars.
I would to create a time stamp script so i could review it for a week and determine how much space i can lower my max memory to so i could reclaim and allocate that memory to where it is needed the... (2 Replies)
Discussion started by: vpundit
2 Replies
LEARN ABOUT DEBIAN
vzcalc
vzcalc(8) Containers vzcalc(8)NAME
vzcalc - calculate resource usage of a container
SYNOPSIS
vzcalc [-v] CTID
DESCRIPTION
This utility displays the share of the host system resources a particular container is using. If the container is running, the current
usage is displayed. High utilization values (>100%) mean the system is overloaded (or the container has an invalid configuration).
Current
Shows the amount of the resources consumed by the container at a given time.
Promised
Shows the resources soft limit values "promised" for a given container.
Max Shows the resources hard limit values "promised" for a given container.
If the -v option is specified, the following additional information is also displayed:
Low Mem
The part of memory residing at lower addresses and directly accessed by the kernel (only makes sense for 32-bit architectures).
Total RAM
Total memory.
Mem+Swap
Amount of memory available for applications (both RAM and swap space).
Alloc Mem
Standard memory allocations made for applications in a container. This is a more "virtual" system resource than RAM or RAM and
swap.
Num. Proc
Number of processes.
OPTIONS -v Display additional information.
EXIT STATUS
Normally, the exit status is 0. On error, the exit status is 1.
LICENSE
Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL.
OpenVZ 10 Dec 2009 vzcalc(8)