04-01-2009
How many night shifts you're going to have depends IMO on your own ability and your company. Example: at our company we don't do any real night shifts, but only on-call (always three people), since we don't have a single point of failure. If an application has to be updated, only one of three servers for that job is (planned) down at the same time, so upgrades can be done during business hours.
As for the ability part: if you're really really good you can set up your systems in a way that they can handle anything but the most severe cases by themselves, even if it just means limping until normal office hours.
But in the end the decision is pretty simple: the deviation of your work hours from the usual is directly proportional to the deviation of complexity of your problems from the usual (read: the more complex the problems the higher the probability that they happen when you're not in the office)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been working with UNIX (HP-UX) now for a couple of years. Have become quite capable in shell scripting and general UNIX use. The local university offers a certification course in UNIX administration which I am considering taking. However, the certification is geared toward UNIX in general... (13 Replies)
Discussion started by: google
13 Replies
2. UNIX for Advanced & Expert Users
Hi,
Can somebody give me some information on System V & Berkley's Unix formats.
Any link will be helpful.
thanks (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
3. Solaris
I'm planning to take System Administration certification in SUN Solaris. Can some one suggest me if there are any links are URLs to find sample question papers.
Pharos (2 Replies)
Discussion started by: pharos467
2 Replies
4. Shell Programming and Scripting
I do not know UNIX shell scripting so as an alternative which language would you think is better for daily System Administration tasks. Perl or PHP? I know a little about both. (5 Replies)
Discussion started by: blackopus
5 Replies
5. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
6. UNIX for Dummies Questions & Answers
What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
7. Solaris
Sorry I'm kind of desperate here :wall:, there's a security audit coming next week :( and I can't seem to find solutions for the questions below :confused:.
1) I need to limit usage on account during non-working hours.
There's no /etc/security/time.conf file in my system should I create it?
... (0 Replies)
Discussion started by: ShouTenraku
0 Replies
8. Shell Programming and Scripting
Hi guys,
I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms.
I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas.
I want to be... (2 Replies)
Discussion started by: capitanui
2 Replies
9. What is on Your Mind?
Hi all,
I wonder if you guys could give me some advice on this. I have messed around with Linux for the last few years, and I'm at the point where I would like to become a system administrator - as a career.
I already have a bachelor's degree, but it is in the humanities (art history) so... (2 Replies)
Discussion started by: ScottLew
2 Replies
LEARN ABOUT LINUX
posix_fadvise
POSIX_FADVISE(P) POSIX Programmer's Manual POSIX_FADVISE(P)
NAME
posix_fadvise - file advisory information (ADVANCED REALTIME)
SYNOPSIS
#include <fcntl.h>
int posix_fadvise(int fd, off_t offset, size_t len, int advice);
DESCRIPTION
The posix_fadvise() function shall advise the implementation 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 implementation may use this information to optimize handling
of the specified data. The posix_fadvise() function shall have 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 charac-
teristic 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 offsets.
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 VALUE
Upon successful completion, posix_fadvise() shall return zero; otherwise, an error number shall be returned to indicate the error.
ERRORS
The posix_fadvise() function shall fail if:
EBADF The fd argument is not a valid file descriptor.
EINVAL The value of advice is invalid.
ESPIPE The fd argument is associated with a pipe or FIFO.
The following sections are informative.
EXAMPLES
None.
APPLICATION USAGE
The posix_fadvise() function is part of the Advisory Information option and need not be provided on all implementations.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
posix_madvise() , the Base Definitions volume of IEEE Std 1003.1-2001, <fcntl.h>
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 POSIX_FADVISE(P)