12-19-2016
The -x option is specific to HP-UX and makes a wider output, similar to the w option in the BSD ps.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
let's say $numbers = "324 350 587" an so on...
what i'm trying to do is this:
awk -v numbers="$numbers" '{if (numbers ~ /$2/) print $0, "bla bla"}' file
# file looks like this:
214 .....
215 ...
216 ....
250
...
324
325
...
350 something ...
...
587 ... (4 Replies)
Discussion started by: someone123
4 Replies
2. Shell Programming and Scripting
Hello Friends,
My script gives an output like below:- but i only want the red part to be displayed. how to i do that. I am enclosing my shell script after that.
id='CCRCWebServerINSTALLDIR'
id='AdministrationTools-CINSTALLDIR'
id='AdministrationTools-ent-CINSTALLDIR'... (3 Replies)
Discussion started by: asirohi
3 Replies
3. Shell Programming and Scripting
Hi,
I know how to use awk to search some expressions like five consecutive numbers, , this is easy.
However, how do I make awk print the pattern that is been matched?
For example:
input: usa,canada99292,japan222,france59664,egypt223
output:99292,59664 (6 Replies)
Discussion started by: grossgermany
6 Replies
4. UNIX for Dummies Questions & Answers
Hi.
How can I write this differently:
awk '$3 ~ /0001/{print}'
Is there a way to write 0001 differently. I am looking for the pattern 01, with 3 or more 0 and 3 or more 1 in a pattern.
Thanks. (12 Replies)
Discussion started by: danieladna
12 Replies
5. Shell Programming and Scripting
guys !
I want to search .com,.html files .....
how do I match pattern...?
here's wht I hv written
if ( $i ~ /.com/ )
even escaping it doesn't help
if ( $i ~ /\.com/ ) (2 Replies)
Discussion started by: shreeprabha
2 Replies
6. Shell Programming and Scripting
Hi, I have 2 files that I have modified to basically match each other, however I want to determine what (if any) line in file 1 does not exist in file 2. I need to match column $1 and $2 as a single string in file1 to $1 and $2 in file2 as these two columns create a match.
I'm stuck in an AWK... (9 Replies)
Discussion started by: right_coaster
9 Replies
7. Shell Programming and Scripting
Hello Guyz
I have been following this forum for a while and the solutions provided are super useful. I currently have a scenario where i need to search for a pattern and start searching by keeping the first pattern as a baseline
ABC
DEF
LMN
EFG
HIJ
LMN
OPQ
In the above text i need to... (8 Replies)
Discussion started by: RickCharles
8 Replies
8. Shell Programming and Scripting
I want to read from file 1 and pattern match in file two and print field two from the next line.
File 1:
user1
user2
user3
File 2:
name=user1
gud=12345
name=user2
gud=32456
I have this pattern hardcoded but can't work out how to pass file 1 to the pattern match: (6 Replies)
Discussion started by: u20sr
6 Replies
9. Shell Programming and Scripting
I need to grep for the pattern text inside the square brackets which are in red and not in green..my current code greps patterns both of them, which i don't want
Input fileref|XP_002371341.1| oxoacyl-ACP reductase, putative gb|EPT24759.1| 3-ketoacyl-(acyl-carrier-protein) reductase ... (2 Replies)
Discussion started by: selvankj
2 Replies
10. Shell Programming and Scripting
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
PAE(4) BSD/i386 Kernel Interfaces Manual PAE(4)
NAME
PAE -- Physical Address Extensions
SYNOPSIS
options PAE
DESCRIPTION
The PAE option provides support for the physical address extensions capability of the Intel Pentium Pro and above CPUs, and allows for up to
64 gigabytes of memory to be used in systems capable of supporting it. With the PAE option, memory above 4 gigabytes is simply added to the
general page pool. The system makes no distinction between memory above or below 4 gigabytes, and no specific facility is provided for a
process or the kernel to access more memory than they would otherwise be able to access, through a sliding window or otherwise.
SEE ALSO
smp(4), tuning(7), config(8), bus_dma(9)
HISTORY
The PAE option first appeared in FreeBSD 4.9 and FreeBSD 5.1.
AUTHORS
Jake Burkholder <jake@FreeBSD.org>
BUGS
Since KLD modules are not compiled with the same options headers that the kernel is compiled with, they must not be loaded into a kernel com-
piled with the PAE option.
Many devices or their device drivers are not capable of direct memory access to physical addresses above 4 gigabytes. In order to make use
of direct memory access IO in a system with more than 4 gigabytes of memory when the PAE option is used, these drivers must use a facility
for remapping or substituting physical memory which is not accessible to the device. One such facility is provided by the busdma interface.
Device drivers which do not account for such devices will not work reliably in a system with more than 4 gigabytes of memory when the PAE
option is used, and may cause data corruption. The PAE kernel configuration file includes the PAE option, and explicitly excludes all device
drivers which are known to not work or have not been tested in a system with the PAE option and more than 4 gigabytes of memory.
Many parameters which determine how memory is used in the kernel are based on the amount of physical memory. The formulas used to determine
the values of these parameters for specific memory configurations may not take into account the fact there may be more than 4 gigabytes of
memory, and may not scale well to these memory configurations. In particular, it may be necessary to increase the amount of virtual address
space available to the kernel, or to reduce the amount of a specific resource that is heavily used, in order to avoid running out of virtual
address space. The KVA_PAGES option may be used to increase the kernel virtual address space, and the kern.maxvnodes sysctl(8) may be used
to decrease the number of vnodes allowed, an example of a resource that the kernel is likely to overallocate in large memory configurations.
For optimal performance and stability it may be necessary to consult the tuning(7) manual page, and make adjustments to the parameters docu-
mented there.
BSD
April 8, 2003 BSD