Sponsored Content
Top Forums Shell Programming and Scripting Help with filtering trace file through grep Post 302455399 by saqibshah on Tuesday 21st of September 2010 01:21:18 PM
Old 09-21-2010
@ everyone...thanks a bunch to all of you for replying so fast!

bartus11`s code worked perfectly so i didnt try the rest but i`m pretty sure they all work fine!! thank again!!
 

10 More Discussions You Might Find Interesting

1. Programming

Core file without a readable stack trace

I am using gdb to examine a core file but the output contains only the method addresses in hex. Is there anyway to translate these addresses to a human-readable form? :confused: (0 Replies)
Discussion started by: ciregbu
0 Replies

2. AIX

How to trace file sytem size change?

I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

3. UNIX for Dummies Questions & Answers

Filtering a file

I have a list of directories looking something like; /usr/local/1/in /usr/local/1/out /usr/local/1/archive /usr/local/2/in /usr/local/2/out /usr/local/2/archive /usr/local/3/in /usr/local/3/out /usr/local/3/archive Is there a way I can filter the out and archive directories so I... (5 Replies)
Discussion started by: JayC89
5 Replies

4. Shell Programming and Scripting

grep filtering problem

I'm working on writing a shell script that logs out whenever I have a firefox process running during certain times of the day (1 am - 8 am). I'll put it in crontab when it runs properly unless someone knows of a different and better way to do this. Here it is so far. if ps ax | grep... (4 Replies)
Discussion started by: cokedude
4 Replies

5. Shell Programming and Scripting

filtering awk not using grep

hallow all i have question about awk i want indexing last key (in BOLD number) ex: input.txt 1 252468812 52468812 1281268819 1252468812 1252468923 468812 1252468812 so output will like this output text 1:252468812 2:52468812 4:1252468812 6:468812 7:1252468812 output get... (8 Replies)
Discussion started by: zvtral
8 Replies

6. UNIX for Dummies Questions & Answers

Filtering records from 1 file based on some manipulation doen on second file

Hi, I am looking for an awk script which should help me to meet the following requirement: File1 has records in following format INF: FAILEd RECORD AB1234 INF: FAILEd RECORD PQ1145 INF: FAILEd RECORD AB3215 INF: FAILEd RECORD AB6114 ............................ (2 Replies)
Discussion started by: mintu41
2 Replies

7. UNIX for Dummies Questions & Answers

Grep filtering issue

Hi, I am on uname -a HP-UX mymachine B.11.31 U ia64 3223107173 unlimited-user license ps -exx| grep java | grep -i "GrafiteEventsInterfaces*" 19955 ? 55:22 /opt/app/app1/jdk150_07/bin/IA64N/java -server -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m... (2 Replies)
Discussion started by: mohtashims
2 Replies

8. UNIX for Dummies Questions & Answers

Help with trace file

Hi, I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC... (4 Replies)
Discussion started by: dollypee
4 Replies

9. UNIX for Beginners Questions & Answers

awk script to find repeated IP adress from trace file (.tr)

+ 8.00747 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 63 id 0 protocol 17 offset (bytes) 0 flags length: 540 10.1.3.3 > 10.1.2.4) ns3::UdpHeader (length: 520 49153 >... (11 Replies)
Discussion started by: Nipa
11 Replies

10. UNIX for Beginners Questions & Answers

Some trace file to track timings of a process

I will initiate a process from Server1 and the flow is as follow Server1 --> Web server --> Application server --> DB Server Note all seperate unix servers. Now I need to put a trace for that process to track the timings from each server. Like the below trace should be there: ... (5 Replies)
Discussion started by: saraperu
5 Replies
g32pbm(1)						       mgetty+sendfax manual							 g32pbm(1)

NAME
g32pbm - convert a Group 3 fax file into a portable bitmap SYNOPSIS
g32pbm [-reversebits] [-stretch] [g3file] DESCRIPTION
Reads a Group 3 fax file (raw or digifax) as input. If no filename is given, stdin is used. Produces a portable bitmap as output. OPTIONS
-r Tells g32pbm to interpret bits least-significant first, instead of the default most-significant first ("-reversebits"). Some fax modems do it one way and others do it the other way. If you get a whole bunch of "invalid code" messages (nearly one per line), try using this flag. -s Double each horizontal row of the fax file in the pbm file ("-stretch)". You can use this to adjust the aspect ratio of a "normal resolution" fax file to match that of a "fine resolution" fax file. This might not seem like it belongs here, but it's much faster than using pnmscale|pgmtopbm later. -s is activated automatically if the file is specified on the command line and its name starts with "fn..." (fax/normal). -l(aserjet) Instead of a portable bitmap (PBM), output HP laserjet files, suitable for direct printing on a HP laserjet or desjket. -d <dpi> Scale output to <dpi> dots per inch before printing. Normal FAX resolution is 204x196 dpi (fine mode), or 204x98 dpi (normal mode). In LaerJet mode, only the values 75, 150 and 300 are allowed for <dpi>. -t turn image by 90 degrees clockwise. Multiple -t commands increase angle, that is, -t -t will turn it upside down, and so on. -? Print a short command syntax. REFERENCES
The standard for Group 3 fax is defined in CCITT Recommendation T.4. BUGS
g32pbm could be smarter about the image width, at the moment, the maximum width is 1728 pixels, and the maximum height is 4300 lines. Everything bigger is just cut off. Only 'raw' pbm files are created. Scaling is too slow. Turning is too slow (and not yet fully implemented either). SEE ALSO
pbm2g3(1), pbm(5), g3cat(1), sendfax(8), mgetty(1) AUTHOR
g32pbm is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>. It is similar to the g3topbm program in Jef Poskanzers pbmplus pack- age, but it's a complete re-write. No code is copied. greenie 27 Oct 93 g32pbm(1)
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy