This is for an Oracle journal import. I was using a pl/sql package and oracle API's. Oracle added invoker rights to their API's and now my package won't run. I didn't want to use their API's anyway. The only reason i was using pl/sql and the API's (just a package) was to utilize a cursor. How... (2 Replies)
Hi , I have below command to that outputs from variables..
command:
echo $INSTANCE $DATAB $status $TSLastBackup| awk '{printf("%-8s %-8s \t \n",$1,$2,$3,$4)}' | tee $LOGF
the ouput is now:
INSTANCE DATABSE BACKUP_STATUS BACKUPTIMESTAMP
------- -------- -------- ... (1 Reply)
Hi
I need to assign the ouput of a awk statement to two variables; below is a example of the txt file i have which I use awk against
sample file
testval,USA,loc2,testing02
testval1,GB,loc4,testing01
awk statement
awk -F , '{print $2,$3}'
USA loc2
GB loc4
I need a method where... (6 Replies)
Hello Experts,
Below is the record i have:
sample data attached
I want this record of each row to be in single line and there are multiple rowise unixtime mentioned e.g 11996327 , This needs to be converted to Human readdable data and time from multiple rows
Can you help me , it will be... (10 Replies)
Hello,
I would like to ask for help with csh script.
An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
I would like to join two files when two columns in each file matches with each other and then produce an output when taking multiple columns.
Like I have file A
1234,ABCD,23,JOHN,NJ,USA
2345,ABCD,24,SAM,NY,USA
5678,GHIJ,24,TOM,NY,USA
5678,WXYZ,27,MAT,NJ,USA
and file B
... (2 Replies)
I have several problems with my problems: I hope you can help me.
1) the If else statement I am getting an error message. My syntax must be incorrect because the entire statement is throwing an error.
For example in filew.log if these items don't exist Memsize, SASFoundation and also if... (0 Replies)
Discussion started by: dellanicholson
0 Replies
LEARN ABOUT NETBSD
fincore
FINCORE(1) BSD General Commands Manual FINCORE(1)NAME
fincore -- query in-core status of file pages
SYNOPSIS
fincore [-qs] file ...
DESCRIPTION
The fincore utility queries and displays in-core status of specified files.
Note that the result can already be stale when being output due to other activities in the system. Thus it should be used only for advisory
purposes.
The fincore utility accepts the following options.
-q The quiet mode. Outputs nothing unless the file has in-core pages.
-s The summary mode. Only shows number of pages.
EXAMPLES
The following example shows that /bin/cat and /bin/cp are fully cached in-core while the other executables are not in-core. numbers shown in
the default output are page indexes in the file of each in-core pages.
% fincore /bin/c*
/bin/cat: 0 1 2 3
/bin/chio:
/bin/chmod:
/bin/cp: 0 1 2 3 4 5
/bin/cpio:
/bin/csh:
% fincore -s /bin/c*
/bin/cat: 4 / 4 in-core pages (100.00%)
/bin/chio: 0 / 5 in-core pages (0.00%)
/bin/chmod: 0 / 3 in-core pages (0.00%)
/bin/cp: 6 / 6 in-core pages (100.00%)
/bin/cpio: 0 / 36 in-core pages (0.00%)
/bin/csh: 0 / 41 in-core pages (0.00%)
SEE ALSO mincore(2)AUTHORS
The fincore utility is written by YAMAMOTO Takashi.
CAVEATS
The concept of page cache is an implementation detail of the kernel. The fincore utility works using some assumptions on the current imple-
mentation. Thus it might stop working in a future version of NetBSD.
BUGS
The amount of CPU time the current implementation of fincore utility would take is roughly proportional to the file sizes. Ideally it should
be proportional to the number of in-core pages.
BSD January 5, 2012 BSD