8 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
2. Shell Programming and Scripting
Hi,
I need to resolve IP to names in a text file. I was thinking of using some unix commands. Ksh.
Text in file contains a lot of these entries:
..
20 6 <166>%ASA-6-302013: Built inbound TCP connection 12690562 for inside2:10.86.6.20/3678 (10.86.6.20/3678) to inside:10.107.22.12/1947... (3 Replies)
Discussion started by: hasselhaven
3 Replies
3. IP Networking
Hi All,
I know that getaddrinfo() return the multiple IP addresses (if present) for a hostname. But, I want to know how to get the TTL value for this list from DNS. I want to get this TTL value and cache this IP address list for that much time and then again go for DNS resolution if TTL expires.
... (2 Replies)
Discussion started by: softindia
2 Replies
4. Solaris
Hello Gurus,
I got a system reboot due to "unix: BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0" on SUNW,Netra-CP2300. I guess it is caused by HW fault but not very sure, and don't know which part should be relaced incase it is HW reason really. Sincerely appreciate for your... (7 Replies)
Discussion started by: fangfang
7 Replies
5. UNIX for Advanced & Expert Users
Hi,
I'm running a COBOL process (with subroutines in standard C accessing an oracle database using OCI calls, using shared memories and sem etc....) on an AIX 5.1 machine.
Under unusually heavy conditions (millions of loops in the process) I've got the following error:
Execution error : file... (0 Replies)
Discussion started by: Isax50
0 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I am a newbie of setting up DNS server. Everything went fine except one thing.
When I do "nslookup", my server name apears as "my_server.1.131.10.in-addr.arpa" rather than "my_server.my_domian.com" on my clients. Do you know how to fix it? Thanks. (2 Replies)
Discussion started by: stancwong
2 Replies
7. Programming
Hello,
If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit.
How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies
8. UNIX for Dummies Questions & Answers
im ultra new at unix and was wondering if its possible to create aliases of the write command that send messeges to users using an ip address. i was thinking to use the '|awk' with the command finger but as i've said im a total newbie. thanks a lot in advance. (2 Replies)
Discussion started by: swag:þ
2 Replies
mincore(2) System Calls Manual mincore(2)
NAME
mincore() - determine residency of memory pages
SYNOPSIS
DESCRIPTION
The function determines the residency of the memory pages specified by the range [addr, addr+len]. The status is returned as a character-
per-page in the character array referenced by vec. The least significant bit of each character is set to 1 to indicate the referenced page
is in memory and to 0 to indicate that it is not. The settings of other bits in each character are undefined and may contain other informa-
tion about a page in future implementations.
This system call returns the status of memory pages at page boundaries that encompass the range from addr to addr+len. The addr parameter
is automatically rounded down to the nearest page size as returned by system call. If the len value is not a multiple of the page size as
returned by the system call, the length of the range is rounded up to the next multiple of the page size.
The vector vec must be large enough to contain this number of bytes:
Warnings
Because the status of a page can change between the time checks and returns the information, returned information might be outdated. Only
locked pages are guaranteed to remain in memory. See mlock(2).
RETURN VALUE
Upon successful completion, returns Otherwise, it returns and sets to indicate the error.
ERRORS
The function will fail if:
The vec argument points to an illegal address or an address for which the caller does not have write mode access.
len argument has a value less than or equal to 0 or (addr+len) exceeds the architected virtual address space of the
application.
Addresses in the range
[addr, addr+len] are invalid for the address space of a process, or one or more pages in the address range are not
mapped.
SEE ALSO
mmap(2), mlock(2), plock(2), sysconf(2), <sys/mman.h>.
mincore(2)