Sponsored Content
Operating Systems HP-UX How to find the memory in HP-Unix? Post 302220314 by Ikon on Thursday 31st of July 2008 11:51:35 AM
Old 07-31-2008
its eaiser on older HP-UX but here is what I came up with on 11.23

This gets you the Physical Memory.

Code:
#!/usr/bin/perl

$cmd = "print_manifest | grep -i memory";
$q = `$cmd`;

$q =~ m/\s+Main Memory:\s+(\d+)\s+\S+/;
$mem = $1 * 1000;
print "physmem=$mem";

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies

2. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

3. Filesystems, Disks and Memory

how to find memory capacity.

Hi, In Sun solaris o/s how can i find the memory space available,Swap space. By giving df command i can get the disc space. I want RAM space & swap space. If anybody assist me.that is great. Thanks (2 Replies)
Discussion started by: Mar1006
2 Replies

4. UNIX for Advanced & Expert Users

How to find memory and other resources in AIX

Hi, Im trying to find memory and other resources in IBM AIX. Please let me know how to do this. (3 Replies)
Discussion started by: R00tSc0rpi0n
3 Replies

5. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

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

6. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

7. Solaris

Unable to find 8 gb of memory

I 've one box with 16gb of RAM and top, vmstat showing 8712M free , i 'm unable to find which process is eating up rest of the memory , the system is not running anything at the moment. (14 Replies)
Discussion started by: fugitive
14 Replies

8. Red Hat

how to find out free memory?

hi, I have done the below, but am confused as to how much memory is "free" please help thanks $ free total used free shared buffers cached Mem: 132033488 48827536 83205952 0 1007696 45404632 -/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies

9. AIX

How to find AIX Free Memory?

All, AIX: 6.1 64 bits How to find out Free memory available on AIX 6.1 64 bits When I used : svmon -G size inuse free pin virtual mmode memory 1048576 612109 191151 215969 549824 Ded-E pg space 4325376 ... (1 Reply)
Discussion started by: a1_win
1 Replies

10. HP-UX

How to find the used memory in HP-UX?

Hi all, Can any please provide how to calculate the cpu and memory usage of HP-UX server. Thanks in advance. (6 Replies)
Discussion started by: ssk250
6 Replies
HEXEDITOR(1)						      General Commands Manual						      HEXEDITOR(1)

NAME
hexeditor - Full screen curses Hex editor SYNOPSIS
hexeditor [ -8abdfgqrv ] [ filename ] DESCRIPTION
Hexeditor is an editor to edit binary (or any) files or disks. The Display consists of the current offset from 0 (the first byte), the next sixteen bytes (aligned by bytes or 32-bit words), and its ASCII or EBCDIC text representation. OPTIONS
-h, --help Display help -8, --highbit Display 8-bit text -a, --alltext Display all text regardless that you know better -b, --buffer Buffer the entire file into memory. Faster, and enables insert and delete. -d, --disk File editing is a disk. OpenBSD and Linux only. -f, --force Force editing of a disk. Need this option to enable writing to disks. -q, --quiet Quiet Mode; Turn off all beeping. -r, --readonly Do not allow modifying the file -v, --version Display version number Commands and keys ^A Insert byte Insert Insert byte ^D Delete byte Delete Delete byte ^E viEw as text dump ^F Page down ^V Page down Page Down Page down ^B Page Up ^Y Page Up Alt-V Page Up Page Up Page Up Tab Switch from hex to text representation ^I Switch from hex to text representation ^T goTo offset ^G Get help ^L Redraw screen ^C Quit without saving ^O Save ^X Save and Quit ^W Search (text/hex) ^N find Next ^U Undo ^R ASCII <=> EBCDIC ^P Switch Spacings ^+ Binary Calculator Author Adam Rogoyski <apoc@laker.net> See Also od (1) BUGS
Editing disks is only supported in Linux and OpenBSD. Please email Adam Rogoyski <apoc@laker.net> with any bugs you might find. This man page is intentionally brief. Please Read the included documentation in Texinfo format for additional information HEXEDITOR(1)
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy