07-22-2008
Hi All,
Please find the details asked by you:
Is my system running on a x86 platform? Yes..
• what processor or h/w? 2 Pentium III processors
• MPRAS version? 3.03 (As I am using MPRAS not solaris)
• output of OS level and current kernel patch level 03.03.02.15
Commands I used to measure free memory and swap :
[ app001-0 root:/ ] sar -r 1 10
app001-0 app001-0 4.2 3.3 SDS2 06/03/08
06:56:32 freemem freeswp
06:56:33 513222 10197
06:56:34 513205 10197
06:56:35 513210 10197
06:56:36 513210 10197
06:56:37 513231 10197
06:56:38 513271 10197
06:56:39 513271 10197
06:56:40 513268 10197
06:56:41 513258 10197
06:56:42 513258 10197
Thanks & Regards,
Ritesh
Last edited by Ritesh Kumar; 07-22-2008 at 03:34 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,:)
In my application malloc is returning NULL even though there is sufficient amount of free memory available but the swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?
Few details:
... (4 Replies)
Discussion started by: Ritesh Kumar
4 Replies
2. Shell Programming and Scripting
on the file Ftp'd from the mainframe ,do we have any UNIX command to replace mainframe low and values to space or null.
i tried using tr and it doesn't work ...
Thanks (1 Reply)
Discussion started by: rlmadhav
1 Replies
3. Shell Programming and Scripting
Is it possible to have a bash script pick the highest and lowest values of four variables? I've been googling for this but haven't come up with anything. I have a script that assigns variables ($c0, $c1, $c2, and $c3) based on the coretemps from grep/sed statements of sensors. I'd like to also... (5 Replies)
Discussion started by: graysky
5 Replies
4. Shell Programming and Scripting
Hi guys,
i have a question about spliting a binary file into 2 chunks.
First chunk with all high bytes and the second one with all low bytes.
What unix tools can i use? And how can this be performed?
I looked in manpages of split and dd but this does not help.
Thanks (2 Replies)
Discussion started by: basta
2 Replies
5. UNIX for Dummies Questions & Answers
Need some clarification on this....
1. how are kernel/ user spaces and high/low memory related?
2. What do they all mean when i have the kernel command line as:
"console=ttyS0,115200 root=/dev/sda2 rw mem=exactmap memmap=1M@0 memmap=96M@1M irqpoll"
or
2. what do mem and memmap mean in... (3 Replies)
Discussion started by: dragonpoint
3 Replies
6. UNIX for Advanced & Expert Users
OS : Solaris 10
When I try to get the "echo" service port, getservbyname is returning null.
I checked - /etc/services having an entry for echo -
echo 7/tcp (But still getservbyname returning null)
Any other config required to consider? (1 Reply)
Discussion started by: satish@123
1 Replies
7. AIX
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
8. Red Hat
Hi team
I have three physical servers running on Red Hat Enterprise Linux Server release 6.2 with the following memory conditions:
# cat /proc/meminfo | grep -i mem
MemTotal: 8062888 kB
MemFree: 184540 kB
Shmem: 516 kB
and the following swap conditions:
... (6 Replies)
Discussion started by: hedkandi
6 Replies
9. Programming
Hi All,
I am using malloc function for allocating dynamic memory.
When I am using below code on Linux server its working fine, but When I am trying the same code on HP UNIX server its returning NULL.
below is a fragment of code in which it is giving problem.
tmp = (format_tree... (4 Replies)
Discussion started by: Taher Saifuddin
4 Replies
10. Shell Programming and Scripting
Hi all,
i have a binary file splitted into 2 chunks, first part with all high bytes and the second part with all low bytes.
I need to combine the two chunks into one binary file like (eg. exactly the reverse of the splitting method solved in the thread # 130940)
Hi bytes file content:... (7 Replies)
Discussion started by: mzs
7 Replies
LEARN ABOUT OPENSOLARIS
cpc_event
cpc_event(3CPC) CPU Performance Counters Library Functions cpc_event(3CPC)
NAME
cpc_event - data structure to describe CPU performance counters
SYNOPSIS
#include <libcpc.h>
DESCRIPTION
The libcpc interfaces manipulate CPU performance counters using the cpc_event_t data structure. This structure contains several fields that
are common to all processors, and some that are processor-dependent. These structures can be declared by a consumer of the API, thus the
size and offsets of the fields and the entire data structure are fixed per processor for any particular version of the library. See
cpc_version(3CPC) for details of library versioning.
SPARC
For UltraSPARC, the structure contains the following members:
typedef struct {
int ce_cpuver;
hrtime_t ce_hrt;
uint64_t ce_tick;
uint64_t ce_pic[2];
uint64_t ce_pcr;
} cpc_event_t;
x86
For Pentium, the structure contains the following members:
typedef struct {
int ce_cpuver;
hrtime_t ce_hrt;
uint64_t ce_tsc;
uint64_t ce_pic[2];
uint32_t ce_pes[2];
#define ce_cesr ce_pes[0]
} cpc_event_t;
The APIs are used to manipulate the highly processor-dependent control registers (the ce_pcr, ce_cesr, and ce_pes fields); the programmer
is strongly advised not to reference those fields directly in portable code. The ce_pic array elements contain 64-bit accumulated counter
values. The hardware registers are virtualized to 64-bit quantities even though the underlying hardware only supports 32-bits (UltraSPARC)
or 40-bits (Pentium) before overflow.
The ce_hrt field is a high resolution timestamp taken at the time the counters were sampled by the kernel. This uses the same timebase as
gethrtime(3C).
On SPARC V9 machines, the number of cycles spent running on the processor is computed from samples of the processor-dependent %tick regis-
ter, and placed in the ce_tick field. On Pentium processors, the processor-dependent time-stamp counter register is similarly sampled and
placed in the ce_tsc field.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
gethrtime(3C), cpc(3CPC), cpc_version(3CPC), libcpc(3LIB), attributes(5)
SunOS 5.11 12 May 2003 cpc_event(3CPC)