Sponsored Content
The Lounge What is on Your Mind? How to start in System Administration? Post 302877554 by postcd on Monday 2nd of December 2013 07:12:05 AM
Old 12-02-2013
Ask yourself a question, why should i do it?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

System Administration

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. HP-UX

Hp-UX system administration exam ( HP0-002).

Hi, I would like to know some details about Hp-UX system administration exam ( HP0-002). I want to know 1. What is the passing percentage 2. How touch is the exam. I am reading Rehman's book thru and thru. I need to know if any other studies are required. I have some 4 years of Unix hands... (3 Replies)
Discussion started by: vikas_sri
3 Replies

3. HP-UX

HP0-002 system administration certification

Hi, I would like to know some details about Hp-UX system administration exam ( HP0-002). I want to know 1. What is the passing percentage 2. How touch is the exam. I am reading Rehman's book thru and thru. I need to know if any other studies are required. I have some 4 years of Unix hands... (1 Reply)
Discussion started by: vikas_sri
1 Replies

4. UNIX for Dummies Questions & Answers

HP-UX system & Network Administration II.PDF

Dear all, I plan to take HP-UX cert. EXAM. But, I cannot find hp-ux system & network administration II.pdf file Do you know where can I download?? Do you have? can you send to me? Thank you! (2 Replies)
Discussion started by: hkpcman
2 Replies

5. Solaris

System Administration Certification

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

6. UNIX for Dummies Questions & Answers

Information about Unix System Administration

I'm a newbie so I'm not sure if I'm posting this in the right section... if I didn't, please forgive me :) I've been looking all over the web for information on system administration. I'd like to become a Unix System Administrator but I want to find some more info about the job. Can someone please... (54 Replies)
Discussion started by: hpicracing
54 Replies

7. Solaris

Various System Administration Questions

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. UNIX for Advanced & Expert Users

System/Network Administration Tools

Sorry for making this post so generic. I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example: - NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies

9. What is on Your Mind?

Learning System Administration: What to focus on?

In the fall I am taking courses in System Admin and Networking Admin, along with Cisco classes. Sometime next year I hope to get Red Hat and CCNA certifications, then try to get some experience and a job. I am wondering what I can focus on in the meantime (and in my spare time) that will... (1 Reply)
Discussion started by: ScottLew
1 Replies
MADVISE(2)						      BSD System Calls Manual							MADVISE(2)

NAME
madvise, posix_madvise -- give advice about use of memory SYNOPSIS
#include <sys/mman.h> int madvise(void *addr, size_t len, int advice); int posix_madvise(void *addr, size_t len, int advice); DESCRIPTION
The madvise() system call allows a process that has knowledge of its memory behavior to describe it to the system. The advice passed in may be used by the system to alter its virtual memory paging strategy. This advice may improve application and system performance. The behavior specified in advice can only be one of the following values: MADV_NORMAL Indicates that the application has no advice to give on its behavior in the specified address range. This is the system default behavior. This is used with madvise() system call. POSIX_MADV_NORMAL Same as MADV_NORMAL but used with posix_madvise() system call. MADV_SEQUENTIAL Indicates that the application expects to access this address range in a sequential manner. This is used with madvise() system call. POSIX_MADV_SEQUENTIAL Same as MADV_SEQUENTIAL but used with posix_madvise() system call. MADV_RANDOM Indicates that the application expects to access this address range in a random manner. This is used with madvise() system call. POSIX_MADV_RANDOM Same as MADV_RANDOM but used with posix_madvise() system call. MADV_WILLNEED Indicates that the application expects to access this address range soon. This is used with madvise() system call. POSIX_MADV_WILLNEED Same as MADV_WILLNEED but used with posix_madvise() system call. MADV_DONTNEED Indicates that the application is not expecting to access this address range soon. This is used with madvise() system call. POSIX_MADV_DONTNEED Same as MADV_DONTNEED but used with posix_madvise() system call. MADV_FREE Indicates that the application will not need the information contained in this address range, so the pages may be reused right away. The address range will remain valid. This is used with madvise() system call. MADV_ZERO_WIRED_PAGES Indicates that the application would like the wired pages in this address range to be zeroed out if the address range is deallocated without first unwiring the pages (i.e. a munmap(2) without a preceding munlock(2) or the application quits). This is used with madvise() system call. The posix_madvise() behaves same as madvise() except that it uses values with POSIX_ prefix for the advice system call argument. RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
madvise() fails if one or more of the following are true: [EINVAL] The value of advice is incorrect. [EINVAL] The address range includes unallocated regions. [ENOMEM] The virtual address range specified by the addr and len are outside the range allowed for the address space. LEGACY SYNOPSIS
#include <sys/types.h> #include <sys/mman.h> int madvise(caddr_t addr, size_t len, int advice); int posix_madvise(caddr_t addr, size_t len, int advice); The include file <sys/types.h> is necessary. The type of addr has changed. SEE ALSO
mincore(2), minherit(2), mprotect(2), msync(2), munmap(2), compat(5) HISTORY
The madvise function first appeared in 4.4BSD. The posix_madvise function is part of IEEE 1003.1-2001 and was first implemented in Mac OS X 10.2. BSD
June 9, 1993 BSD
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy