05-30-2006
Easy one : command listing total memory
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info.
Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
2. UNIX for Dummies Questions & Answers
Hello all
im using the ps -ef "args vsz" | some.exe
but the result is in kb , is there some kind of way or flag ( didnt found in the ps man )
to convert me this data to GB or MG in human readable format ?
Thanks (1 Reply)
Discussion started by: umen
1 Replies
3. UNIX for Dummies Questions & Answers
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
4 Replies
4. Solaris
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies
5. Shell Programming and Scripting
Hi,
When running top on linux redhat machine , i see that i have 16gb of memory
in my machine and about 14.5gb of memory are in use:
Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers
Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached
How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies
6. Programming
Hi guys , i need to get the total virtual memory in ubuntu but i need to write a C++ code for that, any idea on how to go about doing it? any references? or website that i can refer to ? (6 Replies)
Discussion started by: xiaojesus
6 Replies
7. Red Hat
Hi,
I have a strange issue where the total memory on the server is showing low.
At the moment 8 GB of memory is installed and only 3 GB is showing on the shell prompt. I am using the commands free -m and vmstat to check the memory. Please help me out in identifying the issue.
With regards... (3 Replies)
Discussion started by: shabu
3 Replies
8. Shell Programming and Scripting
file 1
voucher DOB amount name type
====== ======= ======= ================== ===
37836452 1/13/1961 125000 ASHUTOSH 65
37836505 1/13/1961 500000 ASHUTOSH 49
37836455 1/13/1961 100000 ASHUTOSH 65
37836488 1/13/1961 250000 ASHUTOSH 75... (11 Replies)
Discussion started by: vakharia Mahesh
11 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB.
if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb...
Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies
10. Shell Programming and Scripting
Hi
I am trying to calculate memory used by Linux System
free -m
total used free shared buffers cached
Mem: 32109 31010 1099 0 3600 7287
-/+ buffers/cache: 20121 11987
Swap: 10239 1282 8957
Now according to my requirement Im calculating memory using below cmd
free -m | awk 'NR==3{printf... (2 Replies)
Discussion started by: sam@sam
2 Replies
LEARN ABOUT DEBIAN
rdebsums
RDEBSUMS(1) Recursive debsums RDEBSUMS(1)
NAME
rdebsums - a recursive debsums
SYNOPSIS
rdebsums --help | [ debsum options ] [ --others ] package
DESCRIPTION
rdebsums runs debsums(1) over a given package and all its dependencies. It can be used to make sure a problem with a package is not due to
file corruption.
All but the last element of the command-line and options understood by rdebsums are sent to debsums(1).
OPTIONS
--help Prints a short help text
--others
Also runs debsums on Recommended and Suggested packages.
EXAMPLES
Check the package aptitude and all its dependencies:
rdebsums aptitude
The same while being significantly less verbose
rdebsums -s aptitude
BUGS
rdebsums is quite slow - essentially due to dpkg-query not being extremely fast.
Currently, rdebsums will be confused by virtual packages.
--others is actually nearly useless, as you often end up checking nearly all packages. You'll most probably win time by running debsums
without arguments.
AUTHOR
rdebsums was written by Vincent Fourmond <fourmond@debian.org>
SEE ALSO
debsums(1), dpkg-query(1)
Version 0.1 2007-03-29 RDEBSUMS(1)