What's your system? I can't make sense of your 'free' output. That "+/- buffers/cache" line is particularly baffling. If you have a lot of buffers, that's almost the opposite of being out of memory.
I typed PS -l as your guide but I got below result.
the system is Redhat 5.5
Last edited by Don Cragun; 05-17-2017 at 02:05 AM..
Reason: Remove duplicated text.
Hi all,
I tried to output memory usage information while the process is
executing at a particular time. I found out some people
suggesting calling the ioctl. I followed it and wrote a test example:
#include <unistd.h>
#include <stdlib.h>
#include <iostream.h>
#include <fcntl.h>
#include... (2 Replies)
we are running red hat ES4 and i would like to know if there is anyway of restrcting the maximum amount of memory that a process can get? I have a single preocess that is taking >13GB.
Thanks,
Frank (4 Replies)
hi all,
i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM.
dose anybody have a sample script or an idea how i can make it ?
PROCCESSES="snmpd sendmail"
for myVar in $PROCCESSES
do
... (7 Replies)
I use pstat API to get Process Infomation
I would like to get a process
1.process owner
2.how many physical memory and virtual memory and total memory used(KB) and usage(%)
3.a process excution file create time
4.a process excution file access time
I do't know which attribute it i need
... (3 Replies)
Hi Guys,
I work on a AIX environment and I'm trying to write a script where I can collect all the memory used by a process. Basically I'm executing the command 'ps -fu userid' to get all the process ids and then executing the 'ps v PID' to get all the memory allocated by PPID. My question is... (2 Replies)
hello,
I have purchased VPS from one webhosting company. VPS comes with Virtuozzo power panel. It has 512MB gurranted RAM and dynamic RAM 2048 MB.
I have hosted single domain with 50MB database and wordpress installation.
But I am getting resource alerts. It goes sometime in yellow... (8 Replies)
Hi all,
I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process.
According to the manual, something like
# time nmon -t -C cron -s 5 -c 2 -F outfile
real 0m0.98s
user 0m0.03s
sys 0m0.04s
should print out at least the process... (15 Replies)
Hello Friends,
I need to check memory usage & availability before I could run a program if there is enough memory is left or not, so how could i achieve this? Which command output i should rely on? I have diplayed outputs of SAR, VMstat and PRstat commands below, But how could i check memory... (8 Replies)
hi all gurus:
I want to find out Solaris process memory usage, but got a bit confused, see if any one can provide me some guidance.
i tend to use prstat -a to get total memory consumption by user (I know prstat likely have a bug that simply sum up the memory, regardless if the memory being... (5 Replies)
I have multiple oracle databases on one server. All the database are running from the same user i.e. oraent.
The process for each database can be distinguished by the ps -ef command
Eg : ps -ef | grep oraentThe Output :
oraent 5361 1 0 20:58:05 ? 0:00 oracledb1... (11 Replies)
Discussion started by: yashreads
11 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)