Hi All,
read dif
echo `date +%Y%m%d`|./add $dif|./fmtdt %mon%dd
The above script is for adding days to current date to find the new date. This script divides the current date into 20060220(YYYYMMDD) format and pass this output to add script. The add script will add the days to the... (2 Replies)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Hi Experts,
I have a script like
$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set heading off
spool Schemaerrtmp.txt
select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Is there any best way to restrict some of the listed files when you do ls. In the output i am doing grep -v wanted to see if i can use a better command to get this output.
Command:
> ls -lrt wf_Load_25.log.INSTANCE_21_20072.*
-rw-r--r-- 1 infrmtca infrmtca 19373 Mar 12 14:14... (1 Reply)
Hi,
I have two files separated by bars at each line
File 1 :
A|4356|13456|23456
A|4356|2986|98732
A|8765|218|1432567
File 2:
B|12|13456|1234567
B|11|13456|123456789
B|33|2986|98732
B|11|2986|14578965
B|8765|218|147584
Common field is third field like 13456, 2986 and 218 in both... (5 Replies)
Like to have shell script to Read the given file contents into a merged one file with header of path+file name followed by file contents into a single output file.
While reading and merging the file contents into a single file, Like to keep the format of the source file.
... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT NETBSD
mremap
MREMAP(2) BSD System Calls Manual MREMAP(2)NAME
mremap -- re-map a virtual memory address
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/mman.h>
void *
mremap(void *oldp, size_t oldsize, void *newp, size_t newsize, int flags);
DESCRIPTION
The mremap() function resizes the mapped range (see mmap(2)) starting at oldp and having size oldsize to newsize. The following arguments
can be OR'ed together in the flags argument:
MAP_ALIGNED(n) The allocation should be aligned to the given boundary, i.e. ensure that the lowest n bits of the address are zero. The
parameter n should be the base 2 logarithm of the desired alignment (e.g., to request alignment to 16K, use 14 as the
value for n). The alignment must be equal to or greater than the platform's page size as returned by sysconf(3) with the
_SC_PAGESIZE request.
MAP_FIXED newp is tried and mremap() fails if that address can't be used as new base address for the range. Otherwise, oldp and
newp are used as hints for the position, factoring in the given alignment.
RETURN VALUES
mremap() returns the new address or MAP_FAILED, if the remap failed.
COMPATIBILITY
The semantics of mremap() differ from the one provided by glibc on Linux in that the newp argument was added and a different set of flags are
implemented.
SEE ALSO mmap(2), munmap(2)HISTORY
The mremap() system call appeared in NetBSD 5.0. It was based on the code that supports mremap() compatibility for Linux binaries.
BSD February 14, 2008 BSD