10 More Discussions You Might Find Interesting
1. AIX
Hello,
in which situations should I use smitty alt_mksysb ? What is the general purpose of this tool.
Thanks for help,
p (1 Reply)
Discussion started by: pitmod
1 Replies
2. AIX
i'm using smitty to create user...what happen is it prompt me "failed" with error
3004-703 Check "/etc/security/login.cfg" file.
3004-691 Error changing "shell".
3004-703 Check "/usr/lib/security/mkuser.default" file.
3004-721 Could not create user.
3004-703 Check... (13 Replies)
Discussion started by: thecobra151
13 Replies
3. AIX
In "smitty mktcpip", the last item you can change is the "START Now". Does any one change this to "yes" when setting the IP? If so, what agrument would you use to convice others to use it also? (1 Reply)
Discussion started by: kah00na
1 Replies
4. AIX
Hello everyone
I have a question.
Its possible to type smitty mksysb using sudo ?
I have a partition and install sudo I create a user for use sudo.
I make a test with sudo and command line for the mksysb and its ok
sudo mksysb -i /dev/rmt0 and I can make my mksysb.
My question... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
5. AIX
In the several backups we do, we do a "smitty savevg" on about 15 different servers at the same time. Typing all the options on the savg screen is kind of long.
Is it possible to invoke the "smitty savevg" backups as command line (aix 4.2) but using all the options we always enter ?
It would... (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. HP-UX
i need to change OS level parameter like number of user
how to change system environment variable ???
equivalent to smitty in IBM (1 Reply)
Discussion started by: oracle_rajesh_k
1 Replies
7. AIX
hi all:cool:
was just wonderin..by the way im new here..hi all:D...was just wonderin if i smitty fs backup a file system to tape if the permissions and ownership of the files and dir are retained?:confused:
o.s is AIX 5.3L
thanks all (12 Replies)
Discussion started by: redmanshogun
12 Replies
8. AIX
Hello
I need to make a mksysb, I try with smitty but I get the next message
0512-017 mksysb: Cannot write to the device /dev/rmt3.
Either write protected or in use.
My tape are ready to write ( dont get protection)
I use the clean tape
and I try with other tapes but I... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies
9. AIX
I want to change my ip by not using smitty, could please help me and what to edit files. So that everytime i will restart my server it will not change. (10 Replies)
Discussion started by: kenshinhimura
10 Replies
10. AIX
I have a couple systems that are acting strangely. In 'smitty tcpip' everything is displayed twice. Even going into the submenus (like minimum configuration and startup) everything is displayed twice. Has anyone seen this? Know how to fix it?
Thanks (3 Replies)
Discussion started by: pmmill2
3 Replies
posix_madvise(3C) Standard C Library Functions posix_madvise(3C)
NAME
posix_madvise - memory advisory information
SYNOPSIS
#include <sys/mman.h>
int posix_madvise(void *addr, size_t len, int advice);
DESCRIPTION
The posix_madvise() function advises the system on the expected behavior of the application with respect to the data in the memory starting
at address addr, and continuing for len bytes. The system may use this information to optimize handling of the specified data. The
posix_madvise() function has no effect on the semantics of access to memory in the specified range, although it may affect the performance
of access.
The advice to be applied to the memory range is specified by the advice parameter and may be one of the following values:
POSIX_MADV_NORMAL Specifies that the application has no advice to give on its behavior with respect to the specified range. It is
the default characteristic if no advice is given for a range of memory.
POSIX_MADV_SEQUENTIAL Specifies that the application expects to access the specified range sequentially from lower addresses to higher
addresses.
POSIX_MADV_RANDOM Specifies that the application expects to access the specified range in a random order.
POSIX_MADV_WILLNEED Specifies that the application expects to access the specified range in the near future.
POSIX_MADV_DONTNEED Specifies that the application expects that it will not access the specified range in the near future.
These values are defined in <sys/mman.h>
RETURN VALUES
Upon successful completion, posix_madvise() returns zero. Otherwise, an error number is returned to indicate the error.
ERRORS
The posix_madvise() function will fail if:
EINVAL The value of advice is invalid.
ENOMEM Addresses in the range starting at addr and continuing for len bytes are partly or completely outside the range allowed for the
address space of the calling process.
The posix_madvise() function may fail if:
EINVAL The value of len is zero.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
|Standard |See standards(5). |
+-----------------------------+-----------------------------+
SEE ALSO
mmap(2), madvise(3C), posix_madvise(3C), attributes(5), standards(5)
SunOS 5.11 14 Jul 2008 posix_madvise(3C)