Sponsored Content
Top Forums UNIX for Dummies Questions & Answers While finding compare the result with given string Post 302188768 by Dave Miller on Thursday 24th of April 2008 08:01:43 AM
Old 04-24-2008
Sounds like homework. Read the TOS.

If it's not homework, care to elaborate?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Compare 2 files and output result in pop up window

Need help ! how do i compare 2 files and if there is a difference, output a massage in a pop up window? the script meant to run using crontab. (2 Replies)
Discussion started by: hongsh
2 Replies

2. Shell Programming and Scripting

How to compare result lpstat with hostsfile

Hi there all, I got a long list of printers installed and a longer list of printers in my hosts file. In the hosts file I got a even longer list of printers in the hosts file I got the IP adress of all printers next to the printer name. How can I get a script working to get the printers... (0 Replies)
Discussion started by: draco
0 Replies

3. UNIX for Dummies Questions & Answers

find common lines using just one column to compare and result with all columns

Hi. If we have this file A B C 7 8 9 1 2 10 and this other file A C D F 7 9 2 3 9 2 3 4 The result i´m looking for is intersection with A B C D F so the answer here will be (10 Replies)
Discussion started by: alcalina
10 Replies

4. Shell Programming and Scripting

compare two files, diff the result

Hi Everyone, 1.txt 00:01:01 asdf 00:33:33 1234 00:33:33 0987 00:33:33 12 00:33:33 444 2.txt vvvv|ee 444|dd33|ee dddd|ee 12|ee 3ciur|fdd the output should be: (6 Replies)
Discussion started by: jimmy_y
6 Replies

5. Shell Programming and Scripting

Compare 2 result sets using a script

select colname from syscat.columns where tabname='t' and tableschema='s' output is columnnames which are in part of primary key PK1 PK2 PK3 PK4 PK5 select colname from syscat.columns where tabname ='t1' and tableschema='s' output is columnnames which are in part of primary key for... (3 Replies)
Discussion started by: kanakaraju
3 Replies

6. Shell Programming and Scripting

How to compare two files to get correct result.see example?

Hello, I have two files A and B .A file consist of the words that user will put whereas file B consist of all user's LDAP a/c.I want here that if user don't mention LDAP a/c in comment than it will exit otherwise success. File A.I have a solution that I will modify the file A ...just save the... (9 Replies)
Discussion started by: anuragpgtgerman
9 Replies

7. Shell Programming and Scripting

Compare 2 file and write result

Hi friends...I have 2 files, file1.txt and reference.txt I could able to find difference using diff and following command awk 'NR == FNR { A=1; next } !A' reference.txt file1.txt above command listing data which is not in reference.txt 12.12 87 11.95 88 11.83 89 12.55 84... (12 Replies)
Discussion started by: Akshay Hegde
12 Replies

8. Shell Programming and Scripting

How to compare the current result with previous line result.?

Hi Gurus, I have requirement to compare current result with previous reuslt. The sample case is below. 1 job1 1 1 job2 2 1 job3 3 2 job_a1 1 2 job_a2 2 2 job_a3 3 3 job_b1 1 3 job_b2 2 for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies

9. Shell Programming and Scripting

Compare 2 columns from the same file and print a value depending on the result

Hello Unix gurus, I have a file with this format (example values): label1 1 0 label2 1 0 label3 0.4 0.6 label4 0.5 0.5 label5 0.1 0.9 label6 0.9 0.1 in which: column 1 is a row label column 2 and 3 are values I would like to do a simple operation on this table and get the... (8 Replies)
Discussion started by: ksennin
8 Replies

10. UNIX for Beginners Questions & Answers

Sort by record column, Compare with conditons and export the result

Hello, I am new to Unix and would like to seek a help, please. I have 2 files (file_1 and file_2), I need to perform the following actions. 1 ) Sort the both file by the column 26-36 (which is Invoice number) what is sort command with the column sort? 2) Compare the file_1.sorted and... (3 Replies)
Discussion started by: Usagi
3 Replies
filebench(1)							   User Commands						      filebench(1)

NAME
filebench - framework of workloads to measure and compare filesystem performance SYNOPSIS
/usr/benchmarks/filebench/bin/filebench profile /usr/benchmarks/filebench/bin/filebench -c stats_dir... DESCRIPTION
filebench runs workloads to measure and compare filesystem performance. Full documentation can be found at the performance community at: http://www.opensolaris.org OPTIONS
The following options are supported: -c stats_dir... Generates a HTML file (index.html) that is a comparison of the specified directories. stats_dir specifies the directory or directories in which the results are stored. OPERANDS
The following operands are supported: profile Specifies the name of the configuration file ending in .prof. The configuration file specifies: o what workloads to run, o what parameters to run, o the directory path on which to operate, and o the directory path in which to store the results. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. 2 Invalid command line options were specified. EXAMPLES
Example 1 Running the Multi-stream Sequential Read Workload The following example runs the workloads described in the configuration file named sqread.prof: # filebench sqread Example 2 Comparing Multiple Runs The following example compares the results of two previous runs. This example assumes that the results from the two previous filebench runs were located in the directories: /stats/wombat-zfs-noel- Jun_27_2007-15h_45m_33s and /stats/wombat-ufs-noel-Jun_27_2007-15h_52m_11s. This example generates a HTML file named index.html in your current working directory. # filebench -c /stats/wombat-zfs-noel-Jun_27_2007-15h_45m_33s /stats/wombat-ufs-noel-Jun_27_2007-15h_52m_11s ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfilebench | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.11 9 Oct 2007 filebench(1)
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy