Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi,
I need a way to grab the total combines since inception, total pages read from webalizer on my centos server or any other location (as long as since inception) and display the result live on my website
So with each visit it would be increasing, or perhaps live (ajax) not sure
But can... (0 Replies)
Hi We have a redhat 4 with 8GB ram in it
but free -m only recognises 3 GB of total ram
please could some one help me why this happens
HP syetems insight manager showing 4* 2 GB RAMS
# free -m
total used free shared buffers cached
Mem: 3290... (6 Replies)
Discussion started by: robo
6 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)