03-15-2009
Thanks for The advice incredible
10 More Discussions You Might Find Interesting
1. Solaris
Hi, I'm trying to get cpu fru information for a Netra CP3060 machine. I used prtdiag to get some info. prtconf does not help much for cpu's all it says is something like this:cpu (driver not attached).
I need to find out the manufacture date,location, sun part no, etc. I used prtfru -c on an N-440... (1 Reply)
Discussion started by: mk2339
1 Replies
2. Solaris
I have one Sun Netra T2000 Server. The ALOM SC admin password of this server is not known. Could you anyone help and tell me how can i reset the SC admin account password??
Thanks in advance.. (2 Replies)
Discussion started by: sudhir_shet
2 Replies
3. What is on Your Mind?
guys - not sure where to post this one but i figured this was the likely spot.
i need a sun dvd slimline for netra t1. hcl matrix has this for production/manufac. number: X7288A / 540-5014.
anyone have a good spot to get this stuff? does anyone have an extra laying around to sell? i hate going... (2 Replies)
Discussion started by: pupp
2 Replies
4. Solaris
Hello Everybody
I want to that can we configure hardware domain on netra 1280 server as I could not able to find any document regarding this server. If yes could anyone send me link regarding this.
I could not able find any proper document related to LOM. Could any provide me the link... (1 Reply)
Discussion started by: amity
1 Replies
5. Solaris
Hello,
I wrote a script which monitor the keyswitch state repeatedly each 10 minutes.
I'm extracting the keyswitch status by using prtdiag.
The script works fine for Netra v440 , but I found that prtdiag under Netra 1290 don't give keyswitch status.
unlike Netra 440 server , I found that... (2 Replies)
Discussion started by: Alalush
2 Replies
6. Solaris
Hi All,
I'm trying to telnet to my alom port, as I need to drop the box & carry out some changes in single user. But the connection appears to be dead. I get this far:
Connected to server1-co
Escape character is '^]'.
and the connection just appears to hang there. I can ssh to the box... (1 Reply)
Discussion started by: badoshi
1 Replies
7. Solaris
In my Solaris 10 - Netra CP3060, the following particular script is not running:
lrc:/etc/rc2_d/S00set-tmp-permissions
lrc:/etc/rc2_d/S07set-tmp-permissions
Above script is to set the default permission of /tmp & /var/tmp while rebooting if it found any inconsistencies. I changed the file... (4 Replies)
Discussion started by: ramnagaraj
4 Replies
8. Solaris
I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies
9. Solaris
Hi
i am accessing the server remotly. i want to replace bad dvd writer. how do i know the part number of the dvd drive for raising a spare.
thanks (3 Replies)
Discussion started by: sunnybee
3 Replies
10. Solaris
Hi All,
I hope I'm posting this in the right forum, apologies if not.
I have a Netra 440 server which has been showing an amber maintenance light for some time now. It first appeared when I upgraded the memory modules, but the new memory is working fine. All other components seem OK and the... (10 Replies)
Discussion started by: DouggieC
10 Replies
LEARN ABOUT MOJAVE
posix_madvise
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