07-09-2008
my logs in the file (test) are like this.....
06/26/08:02:54:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3
06/26/08:02:55:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.8
06/26/08:02:56:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.2
06/26/08:02:57:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.1
06/26/08:02:58:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.5
06/26/08:02:59:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 2.7
06/26/08:03:00:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.2
06/26/08:03:01:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 1 0 0 3.3
06/26/08:03:02:00 68% 79% 15% 1585860 429604 597756 332576 409324 1205156 499724 442288 2 221144 355136 1 355136 255400 1 255400 273744 2 136872 529948 1 529948 0 0 293032 1 293032 769272 2 384636 294600 1 294600 53% 0 0 0 0 3.4
and even the above given solution doesnt work...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Edit your /etc/modules.conf file to either remove or comment out the two lines :
alias sound-slot-0 snd-card-intel8x0
above snd-card-intel8x0 snd-pcm-oss
...and replace them with the following line:
alias sound i810_audio
....viola! After saving and rebooting, now I gots da sound!... (0 Replies)
Discussion started by: DownSouthMoe
0 Replies
2. Shell Programming and Scripting
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (4 Replies)
Discussion started by: mmiller99
4 Replies
3. Shell Programming and Scripting
i have a log file while looks like this
++
user_a blabla
blabla nas_b blabla user_d
this is a user_a
junk line
another junk line
user_c nas_m blabla
++
basically most of the lines contain a "user" keywords, and the rest of the lines do not have "user" at all.
So I have the... (17 Replies)
Discussion started by: fedora
17 Replies
4. Windows & DOS: Issues & Discussions
Hi,
I'm currently tinkering with a script that uses the for command to process all *.gif files in the current folder.
I marked the spot where it exits out with an error by adding a "pause"
The error message given is:
convert.exe: unable to open image `%x': No such file or directory @... (2 Replies)
Discussion started by: pasc
2 Replies
5. UNIX for Dummies Questions & Answers
Good morning, fellows. I would need to ask for your help in editing my awk script. Here is the original version:
BEGIN { printf ("CRYST1 200.000 200.000 200.000 90.00 90.00 90.00 P 1 1\n")
maxatoms=1000
natom=0
found_struct = 0
found_bond = 0
}
{
if( NF == 5 )
{
foundff=0
natom++... (9 Replies)
Discussion started by: snysmumrik
9 Replies
6. Shell Programming and Scripting
Hello,
I am using IMDB bot file for my movie site..
But I get this message like this---Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in... (2 Replies)
Discussion started by: lg2013
2 Replies
7. Shell Programming and Scripting
Hi ,
I'd like to give you a little bit idea about my script which is used to get any generated file from remote server using ftp session then organized those file into directories based on their date ( at the end I supposed to have 1 months directories 20130401 20130402 ....20130430 ,... (27 Replies)
Discussion started by: arm
27 Replies
8. UNIX for Dummies Questions & Answers
Hello,
i have:
# python -V
Python 2.7.6
But original for my CentOS is 2.3 or 2.4
my python folder:
/root/python2.7.6
(inside are folders like lib, include, bin, share)
I launched app iotop:
# iotop -od 6
Traceback (most recent call last):
File "/usr/bin/iotop", line 16, in... (3 Replies)
Discussion started by: postcd
3 Replies
9. Shell Programming and Scripting
Gents,
Can you please help me to fix the following script in order to get complete data as desired. I am missing some data in output.
the complete input file is attached.
The script I am using is
awk '{\
status=substr($0,91,2)\
ind=substr($0,26,1);\
... (10 Replies)
Discussion started by: jiam912
10 Replies
LEARN ABOUT OPENDARWIN
script
SCRIPT(1) BSD General Commands Manual SCRIPT(1)
NAME
script -- make typescript of terminal session
SYNOPSIS
script [-a] [-k] [-q] [-t time] [file [command ...]]
DESCRIPTION
The script utility makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an
interactive session as proof of an assignment, as the typescript file can be printed out later with lpr(1).
If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript.
If the argument command ... is given, script will run the specified command with an optional argument vector instead of an interactive shell.
Options:
-a Append the output to file or typescript, retaining the prior contents.
-k Log keys sent to program as well as output.
-q Run in quiet mode, omit the start and stop status messages.
-t time Specify time interval between flushing script output file. A value of 0 causes script to flush for every character I/O event. The
default interval is 30 seconds.
The script ends when the forked shell (or command) exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if
ignoreeof is not set) for the C-shell, csh(1)).
Certain interactive commands, such as vi(1), create garbage in the typescript file. The script utility works best with commands that do not
manipulate the screen. The results are meant to emulate a hardcopy terminal, not an addressable one.
ENVIRONMENT
The following environment variable is utilized by script:
SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most
shells set this variable automatically).
SEE ALSO
csh(1) (for the history mechanism).
HISTORY
The script command appeared in 3.0BSD.
BUGS
The script utility places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects.
It is not possible to specify a command without also naming the script file because of argument parsing compatibility issues.
When running in -k mode, echo cancelling is far from ideal. The slave terminal mode is checked for ECHO mode to check when to avoid manual
echo logging. This does not work when in a raw mode where the program being run is doing manual echo.
BSD
June 6, 1993 BSD