Sponsored Content
Top Forums Shell Programming and Scripting Egrep: conflicting matchers specified Post 303043706 by edstevens on Tuesday 4th of February 2020 02:41:00 PM
Old 02-04-2020
Missing pipe was it. I figured it would be something simple where I just needed another set of eyes. Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Egrep Help

I'm writing a small script thats purpose is to validate a single command line argument to make sure it is an integer. Also acceptable are a leading "+" or "-", but no more than one. Example: "5" "-2" "+4" are all valid If its invalid I simply print out a message saying so, otherwise I... (2 Replies)
Discussion started by: FuzzyNips
2 Replies

2. HP-UX

why does my program runs in conflicting mode?

my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well. when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies

3. Solaris

Conflicting 'typedef' error - Which gcc switch to use?

I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error. ----------------------------------------------------------------- mach.h error: conflicting types for `typedef vx_u32_t... (0 Replies)
Discussion started by: amitc
0 Replies

4. UNIX for Dummies Questions & Answers

Egrep cheat sheet anywhere? Looking for meaning of egrep -c

Hi I've been searching google and have not found what egrep -c means. Does anyone know where I can get a cheat sheet or what that -c means? thanks, Linda (2 Replies)
Discussion started by: leelm
2 Replies

5. Shell Programming and Scripting

ls and egrep together

Hello, Why is this not returning files containing the string in the var $files? files=`ls /dir1/dir_level2/dir_level3 | egrep "catch \["` files=`ls /dir1/dir_level2/dir_level3` this by itself returns a list of files which I thought could be sent through grep or egrep to look for matches. ... (5 Replies)
Discussion started by: gio001
5 Replies

6. UNIX for Dummies Questions & Answers

search ")" with egrep - egrep: syntax error

Hi Guys, we have a shell script which basically query the Database which retrieves huge data and use the data with "egrep" . Now there is some data which contains characters like "abc)" and the same is used like below : "egrep (.+\|GDPRAB16\|GDPR/11702 96 abc)\|$ temp.txt" now while... (7 Replies)
Discussion started by: sagarjani
7 Replies

7. UNIX for Dummies Questions & Answers

help on egrep

HI, I have two files filea, fileeb filea z283110z67 xx65686377 xx654681zz xx652836xx xx653881zz xx65480z11 xx654z5466 xx65510000 xx65670000 xx656z0000 xx656z1822 fileb (3 Replies)
Discussion started by: krao
3 Replies

8. Shell Programming and Scripting

Egrep

Hi I am trying to run CMD that combining EGREP and PERL in multiple files cat *07:00.22-12-13.txt | egrep" NAME| perl -ne 'print if /^sid9/ .. /^!/' " I need the see the NAME and the text from sid9 to ! how can I use the EGERP in parallel to the PERL ? This is one file Qqq... (2 Replies)
Discussion started by: sharong
2 Replies

9. UNIX for Dummies Questions & Answers

Conflicting GID in group and passwd files.

Hi guys, I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies

10. Shell Programming and Scripting

Parallel RM and FIND commands conflicting

Hi all. Long time!! Hope you're doing well.. I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution. We are running an rm and find command simultaneously from two different Unix sessions of the same user(let's say USER01) and on the same... (3 Replies)
Discussion started by: kumarjt
3 Replies
PERF-BENCH(1)							    perf Manual 						     PERF-BENCH(1)

NAME
perf-bench - General framework for benchmark suites SYNOPSIS
perf bench [<common options>] <subsystem> <suite> [<options>] DESCRIPTION
This perf bench command is a general framework for benchmark suites. COMMON OPTIONS
-f, --format= Specify format style. Current available format styles are: default Default style. This is mainly for human reading. .ft C % perf bench sched pipe # with no style specified (executing 1000000 pipe operations between two tasks) Total time:5.855 sec 5.855061 usecs/op 170792 ops/sec .ft simple This simple style is friendly for automated processing by scripts. .ft C % perf bench --format=simple sched pipe # specified simple 5.988 .ft SUBSYSTEM
sched Scheduler and IPC mechanisms. mem Memory access performance. all All benchmark subsystems. SUITES FOR sched messaging Suite for evaluating performance of scheduler and IPC mechanisms. Based on hackbench by Rusty Russell. Options of messaging -p, --pipe Use pipe() instead of socketpair() -t, --thread Be multi thread instead of multi process -g, --group= Specify number of groups -l, --loop= Specify number of loops Example of messaging .ft C % perf bench sched messaging # run with default options (20 sender and receiver processes per group) (10 groups == 400 processes run) Total time:0.308 sec % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups (20 sender and receiver threads per group) (20 groups == 800 threads run) Total time:0.582 sec .ft pipe Suite for pipe() system call. Based on pipe-test-1m.c by Ingo Molnar. Options of pipe -l, --loop= Specify number of loops. Example of pipe .ft C % perf bench sched pipe (executing 1000000 pipe operations between two tasks) Total time:8.091 sec 8.091833 usecs/op 123581 ops/sec % perf bench sched pipe -l 1000 # loop 1000 (executing 1000 pipe operations between two tasks) Total time:0.016 sec 16.948000 usecs/op 59004 ops/sec .ft SUITES FOR mem memcpy Suite for evaluating performance of simple memory copy in various ways. Options of memcpy -l, --length Specify length of memory to copy (default: 1MB). Available units are B, KB, MB, GB and TB (case insensitive). -r, --routine Specify routine to copy (default: default). Available routines are depend on the architecture. On x86-64, x86-64-unrolled, x86-64-movsq and x86-64-movsb are supported. -i, --iterations Repeat memcpy invocation this number of times. -c, --cycle Use perf's cpu-cycles event instead of gettimeofday syscall. -o, --only-prefault Show only the result with page faults before memcpy. -n, --no-prefault Show only the result without page faults before memcpy. memset Suite for evaluating performance of simple memory set in various ways. Options of memset -l, --length Specify length of memory to set (default: 1MB). Available units are B, KB, MB, GB and TB (case insensitive). -r, --routine Specify routine to set (default: default). Available routines are depend on the architecture. On x86-64, x86-64-unrolled, x86-64-stosq and x86-64-stosb are supported. -i, --iterations Repeat memset invocation this number of times. -c, --cycle Use perf's cpu-cycles event instead of gettimeofday syscall. -o, --only-prefault Show only the result with page faults before memset. -n, --no-prefault Show only the result without page faults before memset. SEE ALSO
perf(1) perf 06/30/2014 PERF-BENCH(1)
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy