hi all,
i would like to search in a directory. all files they were found shoul be opend and looked about a keyword. if keyword is found i want to see the name of the file. i've rtfm of find and have a command like this :
find /etc -exec cat \{}\ | grep KEYWORD
but don't work, and :
find... (4 Replies)
Hi,
I want to compare two files. Files will look like as follows:
file1:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
file2:
ZXCVBVNM|0987654321234567
POLKIJUYH|1234789060985478
output file should be:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
Thnaks in advance (6 Replies)
Hi,
Iam having the two files as follows:
file1:
ASQWEDFR09876543121234512
POIUYTREW09876512345676788
ZXCVBNMKS1209888888888888
file2:
ASQWEDFR09876543121234516 asdcvfgbtg@abc.com 0000000-90-1239--2008 8990----
CXADFGTU09876543121234789 asdcvfgbtg@abc.com ... (14 Replies)
hi All,
my query...
1.I Have to search for the files in the root directory.
2.i have to search for a pattern in all the files in the root directory and then replace them with a new pattern.
3.Rename the file
Explanation:
if ABC is the root folder and has 3 subfolders and there are 15... (9 Replies)
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958 only in... (2 Replies)
Hello,
I want to search a string/substring from the second column in file in another file and append the first found record in second file to the end of the record in the first file. Both files are tab delimited.
All lines with KOG in col13 do not need to be searched as it will not be... (7 Replies)
Hi everyone,
I am new to Unix and need help writing a script that can ask user for an input, then search that input within a file
I know will have to use the read and grep commands, anyone can give me somewhere to start would help
Task: Write a script to display... (1 Reply)
Hi everyone,
I am new to Unix and need help writing a script that can ask user for an input, then search that input within a file
I know will have to use the read and grep commands, anyone can give me somewhere to start would help
Task: Write a script to display which volume pool a given... (1 Reply)
Hi Don, this is not homework question. I work for a Credit card company and my development goal this year is to learn Unix. I would love if others can help me get started, thanks.
Hi everyone
I am new to Unix and need help writing a script that can ask user for an input, then search that input... (2 Replies)
Discussion started by: 12ic11
2 Replies
LEARN ABOUT CENTOS
hwloc_get_next_bridge
Advanced I/O object traversal helpers(3) Hardware Locality (hwloc) Advanced I/O object traversal helpers(3)NAME
Advanced I/O object traversal helpers -
Functions
static inline hwloc_obj_t hwloc_get_non_io_ancestor_obj (hwloc_topology_t topology , hwloc_obj_t ioobj)
static inline hwloc_obj_t hwloc_get_next_pcidev (hwloc_topology_t topology, hwloc_obj_t prev)
static inline hwloc_obj_t hwloc_get_pcidev_by_busid (hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)
static inline hwloc_obj_t hwloc_get_pcidev_by_busidstring (hwloc_topology_t topology, const char *busid)
static inline hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_t topology, hwloc_obj_t prev)
static inline hwloc_obj_t hwloc_get_next_bridge (hwloc_topology_t topology, hwloc_obj_t prev)
static inline int hwloc_bridge_covers_pcibus (hwloc_obj_t bridge, unsigned domain, unsigned bus)
static inline hwloc_obj_t hwloc_get_hostbridge_by_pcibus (hwloc_topology_t topology, unsigned domain, unsigned bus)
Detailed DescriptionFunction Documentation
static inline int hwloc_bridge_covers_pcibus (hwloc_obj_tbridge, unsigneddomain, unsignedbus) [static]
static inline hwloc_obj_t hwloc_get_hostbridge_by_pcibus (hwloc_topology_ttopology, unsigneddomain, unsignedbus) [static]
Find the hostbridge that covers the given PCI bus. This is useful for finding the locality of a bus because it is the hostbridge parent
cpuset.
static inline hwloc_obj_t hwloc_get_next_bridge (hwloc_topology_ttopology, hwloc_obj_tprev) [static]
Get the next bridge in the system. Returns:
the first bridge if prev is NULL.
static inline hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_ttopology, hwloc_obj_tprev) [static]
Get the next OS device in the system. Returns:
the first OS device if prev is NULL.
static inline hwloc_obj_t hwloc_get_next_pcidev (hwloc_topology_ttopology, hwloc_obj_tprev) [static]
Get the next PCI device in the system. Returns:
the first PCI device if prev is NULL.
static inline hwloc_obj_t hwloc_get_non_io_ancestor_obj (hwloc_topology_t topology, hwloc_obj_tioobj) [static]
Get the first non-I/O ancestor object. Given the I/O object ioobj, find the smallest non-I/O ancestor object. This regular object may then
be used for binding because its locality is the same as ioobj.
static inline hwloc_obj_t hwloc_get_pcidev_by_busid (hwloc_topology_ttopology, unsigneddomain, unsignedbus, unsigneddev, unsignedfunc) [static]
Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id.
static inline hwloc_obj_t hwloc_get_pcidev_by_busidstring (hwloc_topology_ttopology, const char *busid) [static]
Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz.t or yy:zz.t.
Author
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 1.7 Sun Apr 7 2013 Advanced I/O object traversal helpers(3)