Could someone please help, I am new to unix and I am trying to do the following:
o Each password must have at least eight characters.
Only the first eight characters are significant.
PASSLENGTH is found in /etc/default/passwd and is set
to 6.
... (1 Reply)
Hi
I have to construct a rectangular matrix with 6012 rows and 2221 columns.
Here the rows and columns were given by alphanumeric ids in a file named row.txt and column.txt respectively. with this row nd column ids I have to construct a matrix ie 6012*2221 and compare the column ids with... (0 Replies)
I am trying to construct a regular expression that will filter a log file containing the following table:
aP
mP
mC,mI
oP
oC
oF
oI
tP
tI
hP
... (8 Replies)
Hello,
Actually I am not sure how to ask this question, which is about the technique advance on website construction/design. Compared with HTML/CSS, which ones are the most popular for website construction? My colleague recommends Drupal for Linux platform. Any other? Thanks!
Yifang (4 Replies)
hello,
i'm trying to get some deeper view into the shell. at the moment I have following problem with the bash:
I read some numbers via some awk scripts
A=`awk '/id="identifier/ {......}`
which works fine,
then I want to make an if statement whth some calculations. but then it does... (4 Replies)
Hi,
I have an array variable "arr" that reads string from a file "vari.txt". Thus, the array will be of variable length depending how many entries are present in "vari.txt"
I use a for loop to traverse through the array.
However, i need a grep command to grep for a file "output.txt" and... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT OPENDARWIN
migratepages
MIGRATEPAGES(8) Linux Administrator's Manual MIGRATEPAGES(8)NAME
migratepages - Migrate the physical location a processes pages
SYNOPSIS
migratepages pid from-nodes to-nodes
DESCRIPTION
migratepages moves the physical location of a processes pages without any changes of the virtual address space of the process. Moving the
pages allows one to change the distances of a process to its memory. Performance may be optimized by moving a processes pages to the node
where it is executing.
If multiple nodes are specified for from-nodes or to-nodes then an attempt is made to preserve the relative location of each page in each
nodeset.
For example if we move from nodes 2-5 to 7,9,12-13 then the preferred mode of operation is to move pages from 2->7, 3->9, 4->12 and 5->13.
However, this is only posssible if enough memory is available.
Valid node specifiers
all All nodes
number Node number
number1{,number2} Node number1 and Node number2
number1-number2 Nodes from number1 to number2
! nodes Invert selection of the following specification.
NOTES
Requires an NUMA policy aware kernel with support for page migration (linux 2.6.16 and later).
migratepages will only move pages that are not shared with other processes if called by a user without administrative priviledges (but with
the right to modify the process).
migratepages will move all pages if invoked from root (or a user with administrative priviledges).
FILES
/proc/<pid>/numa_maps for information about the NUMA memory use of a process.
COPYRIGHT
Copyright 2005-2006 Christoph Lameter, Silicon Graphics, Inc. migratepages is under the GNU General Public License, v.2
SEE ALSO numactl(8) , set_mempolicy(2) , get_mempolicy(2) , mbind(2) , sched_setaffinity(2) , sched_getaffinity(2) , proc(5) , ftok(3) , shmat(2) ,
taskset(1)SGI Jan 2005 MIGRATEPAGES(8)