02-02-2011
Nice explanation
The piece by ZXMAUS is one of the best explanations of comp / non-comp memory on AIX I have ever seen.
7 More Discussions You Might Find Interesting
1. AIX
hi,
how can i diplay:
- the ammount RAM used /free
- ammount of ram used from a pid or prozess
we have the problem, that malloc is returing a NULL pointer errno = 12 ( not enough space).
but i think there is still ram free.
nmon : shows all memory used ?
Memory Use Physical Virtual... (7 Replies)
Discussion started by: Lazzar
7 Replies
2. UNIX for Advanced & Expert Users
Hi !
I have been trying to install IMSL Computational Tool Kit on a server.
It is a Lunix Redhat V.4 with Intel pentium d processor and Intel fortran compiler 8.1 and the type of command shell we run is bash.
I dont know if the problem is with the Installation or the Lunix system.
I have... (1 Reply)
Discussion started by: dsmv
1 Replies
3. Cybersecurity
This is a general question about the practical use of computational complexity in security. Wikipedia has a good article about the theoretical background of computational complexity. In the course of conversation with colleagues, a topic that is brought up occassionally is the security of any... (2 Replies)
Discussion started by: gratuitous_arp
2 Replies
4. Emergency UNIX and Linux Support
Hi,
I have two files say file 1 file 2
File1
1
2
4
5
File 2
asdf
adf
How to get the ouput something like
asdf1
adf1
asdf2
adf2
asdf4
adf4
asdf5 (5 Replies)
Discussion started by: ecearund
5 Replies
5. AIX
Hi,
I'm planning to write a script to monitor the memory utilization and so decided to use topas. i'm not familiar with this command
Could anyone help me with an idea on how to display the Memory section alone in the topas... :)
It will be very helpful if you could specify the command... (2 Replies)
Discussion started by: kaushik_87
2 Replies
6. Shell Programming and Scripting
Hi Friends,
How to capture the value of %Comp and %Noncomp values from AIX using topas command. I tried lot, but i cannot capture the value. (4 Replies)
Discussion started by: Nowshath
4 Replies
7. Shell Programming and Scripting
Dear,
How to calculate %computational memory and %non computational memory from AIX server.
What command used to find out %computational memory and % non computational memory except topas.
Regards
Nowshath (1 Reply)
Discussion started by: Nowshath
1 Replies
LEARN ABOUT SUNOS
wsreg_get_location
wsreg_set_location(3WSREG) Product Install Registry Library Functions wsreg_set_location(3WSREG)
NAME
wsreg_set_location, wsreg_get_location - set or get the location of a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_set_location(Wsreg_component *comp, const char *location);
char *wsreg_get_location(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_location() function sets the location specified by location into the component specified by comp. Every component must have
a location before being registered. If a location has already been set into the specified component, the resources associated with the
previously set location are released.
The wsreg_get_location() function gets the location string from the component specified by comp. The resulting string must be released by
the caller.
RETURN VALUES
The wsreg_set_location() function returns a non-zero value if the location was set correctly; otherwise 0 is returned.
The wsreg_get_location() function returns a copy of the location from the specified component.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
wsreg_initialize(3WSREG), attributes(5)
SunOS 5.10 22 Sep 2000 wsreg_set_location(3WSREG)