Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Hi,
I want to encrypt a unix file using the des3 algorithm. Seems that there are no standard unix utilities readily available. Can you please suggest how I can encrypt a unix file using des3 ? (2 Replies)
Disk is: c0t1d0
partition> print
Current partition table (original):
Total disk cylinders available: 38307 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 38306 74.53GB (38307/0/0) 156292560
1 unassigned... (3 Replies)
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Hi everyone,
We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue.
SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v
Update:
--------
I... (9 Replies)
Hi experts,
This is a production server.
Host information's are below
SunOS hostname_srv 5.10 Generic_150400-09 sun4v sparc sun4v
Now issue with ntp service, This host have zone in it with 9 hosts, Every hosts have ntp service issue. While i check for the service status it's in... (3 Replies)
Hi,
This command works
ggrep -v -F -x -f app1.txt app2.txt But, I don't have ggrep on SunOS Sparc so I tried using grep instead but it errors out
grep: illegal option -- F bash-2.03$ uname -a
SunOS mymac 5.8 Generic_Virtual sun4v sparc sun4v Can you help me with a grep command that... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT HPUX
elf_rand
elf_rand(3E)elf_rand(3E)NAME
elf_rand - random archive member access
SYNOPSIS
[flag... ] file... [library] ...
DESCRIPTION
and manipulate simple object files and archives. elf is an ELF descriptor previously returned from
provides random archive processing, preparing elf to access an arbitrary archive member. elf must be a descriptor for the archive itself,
not a member within the archive. offset gives the byte offset from the beginning of the archive to the archive header of the desired mem-
ber. See elf_getarsym(3E) for more information about archive member offsets. When works, it returns offset. Otherwise it returns 0,
because an error occurred, elf was null, or the file was not an archive (no archive member can have a zero offset). A program may mix ran-
dom and sequential archive processing.
EXAMPLES
An archive starts with a ``magic string'' that has bytes; the initial archive member follows immediately. An application could thus pro-
vide the following function to rewind an archive (the function returns -1 for errors and 0 otherwise).
#include <ar.h>
#include <libelf.h>
int
rewindelf(Elf *elf)
{
if (elf_rand(elf, (size_t)SARMAG) == SARMAG)
return 0;
return -1;
}
SEE ALSO ar(4), elf(3E), elf_begin(3E), elf_getarsym(3E), elf_next(3E).
elf_rand(3E)