03-03-2020
Many thanks to all. I was using an older version of AWK. I installed the new version and got the results.
10 More Discussions You Might Find Interesting
1. AIX
Hello Everyone,
I received the following (root) email. Does anyone know what causes this and how I can find the offending printer?
Thanks in advance.
Jim
Message 2:
From daemon Wed Nov 30 09:51:07 2005
Date: Wed, 30 Nov 2005 09:51:07 -0800
From: daemon
To: root (2 Replies)
Discussion started by: jlslhills
2 Replies
2. Programming
Hi,
According to my understanding..
When message queues are used, when a process post a message in the queue and if another process reads it from the queue then the queue will be empty unlike shared memory where n number of processess can access the shared memory and still the contents remain... (2 Replies)
Discussion started by: rvan
2 Replies
3. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
4. Shell Programming and Scripting
Hi I wrote a script
#!/usr/bin/ksh
#set -x
for fs in `df -k|awk '{print $1}'|sed -n "3,14 p"`
do
x=`df -kl | grep $fs | awk '{ print $5 }'`
y=50%
if
then
message="File System `df -k |grep $fs |awk '{print $6\", \"$5}'`... (1 Reply)
Discussion started by: namishtiwari
1 Replies
5. 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
6. Programming
Hi,
I'm trying to learn how to manage memory when I have to deal with lots of data.
Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that
holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at
once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies
7. Solaris
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies
8. Programming
Hi,
I wanted to know whether the POSIX message queues are statically allocated memory by the kernel based on the parameters specified in the open or as and when we send messages, memory are allocated?
Does the kernel reserve the specified memory for the message queue irrespective of whether... (1 Reply)
Discussion started by: sumtata
1 Replies
9. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
10. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
LEARN ABOUT OSX
elf_version
elf_version(3ELF) ELF Library Functions elf_version(3ELF)
NAME
elf_version - coordinate ELF library and application versions
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include <libelf.h>
unsigned elf_version(unsigned ver);
DESCRIPTION
As elf(3ELF) explains, the program, the library, and an object file have independent notions of the latest ELF version. elf_version() lets
a program query the ELF library's internal version. It further lets the program specify what memory types it uses by giving its own working
version, ver, to the library. Every program that uses the ELF library must coordinate versions as described below.
The header <libelf.h> supplies the version to the program with the macro EV_CURRENT. If the library's internal version (the highest version
known to the library) is lower than that known by the program itself, the library may lack semantic knowledge assumed by the program.
Accordingly, elf_version() will not accept a working version unknown to the library.
Passing ver equal to EV_NONE causes elf_version() to return the library's internal version, without altering the working version. If ver is
a version known to the library, elf_version() returns the previous (or initial) working version number. Otherwise, the working version
remains unchanged and elf_version() returns EV_NONE.
EXAMPLES
Example 1: A sample display of using the elf_version() function.
The following excerpt from an application program protects itself from using an older library:
if (elf_version(EV_CURRENT) == EV_NONE) {
/* library out of date */
/* recover from error */
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
elf(3ELF), elf32_xlatetof(3ELF), elf_begin(3ELF), libelf(3LIB), attributes(5)
NOTES
The working version should be the same for all operations on a particular ELF descriptor. Changing the version between operations on a
descriptor will probably not give the expected results.
SunOS 5.10 11 Jul 2001 elf_version(3ELF)