I will add : SMIT is GUI ( X11...) smitty is vtXXX text graphics and expects to have a window size equivalent to a terminal ( 80 X 25? I forgot now.. columns X lines ) So I really think that smit is a better option for someone new to AIX as smitty is really helpful when you know its shortcuts, without its more complicated... e.g.
good luck and welcome
Last edited by vbe; 07-16-2018 at 05:21 AM..
Reason: wow my english... pffff, and typos and missing words, I was really bad that day...
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT OPENSOLARIS
posix_fadvise
posix_fadvise(3C) Standard C Library Functions posix_fadvise(3C)NAME
posix_fadvise - file advisory information
SYNOPSIS
#include <fcntl.h>
int posix_fadvise(int fd, off_t offset, off_t len, int advice);
DESCRIPTION
The posix_fadvise() function advises the system on the expected behavior of the application with respect to the data in the file associated
with the open file descriptor, fd, starting at offset and continuing for len bytes. The specified range need not currently exist in the
file. If len is zero, all data following offset is specified. The system may use this information to optimize handling of the specified
data. The posix_fadvise() function has no effect on the semantics of other operations on the specified data, although it may affect the
performance of other operations.
The advice to be applied to the data is specified by the advice parameter and may be one of the following values:
POSIX_FADV_NORMAL Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the
default characteristic if no advice is given for an open file.
POSIX_FADV_SEQUENTIAL Specifies that the application expects to access the specified data sequentially from lower offsets to higher off-
sets.
POSIX_FADV_RANDOM Specifies that the application expects to access the specified data in a random order.
POSIX_FADV_WILLNEED Specifies that the application expects to access the specified data in the near future.
POSIX_FADV_DONTNEED Specifies that the application expects that it will not access the specified data in the near future.
POSIX_FADV_NOREUSE Specifies that the application expects to access the specified data once and then not reuse it thereafter.
These values are defined in <fcntl.h>
RETURN VALUES
Upon successful completion, posix_fadvise() returns zero. Otherwise, an error number is returned to indicate the error.
ERRORS
The posix_fadvise() function will fail if:
EBADF The fd argument is not a valid file descriptor.
EINVAL The value of advice is invalid, or the value of len is less than zero.
ESPIPE The fd argument is associated with a pipe or FIFO.
USAGE
The posix_fadvise() function has a transitional interface for 64-bit file offsets. See lf64(5).
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 posix_madvise(3C), attributes(5), standards(5)SunOS 5.11 14 Jul 2008 posix_fadvise(3C)