Search Results

Search: Posts Made By: Lestat
2,602
Posted By Lestat
I have solved the problem thanx any way...
I have solved the problem thanx any way...
2,602
Posted By Lestat
Problems with Telnet
Hi everybody

I already have installed Linux Red Hat FC4 in two machines into the same net using DHCP in both of them, the network interface are working fine cuz i can surf in Internet in those...
2,129
Posted By Lestat
Problems sending Mail
Hello everybody

I already read all the posts about "how to send email" but i dont find the solution, i need to send a mail via commands. Into the mail i need to attach a file.txt how can i do...
2,472
Posted By Lestat
I use Digital Unix, and when i need something...
I use Digital Unix, and when i need something like you i do this:



$ cd /usr/local/bin
& top



And this show me all the CPU usage from the higest to the lowest, maybe you can send this to...
4,639
Posted By Lestat
It works but it is still slow... there is not a...
It works but it is still slow... there is not a way to do it with 'tail whatever'?
1,875
Posted By Lestat
If you always want to get the last part after '_'...
If you always want to get the last part after '_' do this



ls -1 | cut -d "_" -f2
6,556
Posted By Lestat
Another thing, i dont understanw well the part of...
Another thing, i dont understanw well the part of "but it displays the 3 first letters of all lines" that you post, please tell me exactly what kind of files do you have and what exactly you want as...
6,556
Posted By Lestat
i dont speak english well but i think you need es...
i dont speak english well but i think you need es to get the 3 first letters of a list of files right?

like in your first post, if the 4th letter is '_' do this:



ls -1 | cut -d "_" -f1 >...
4,639
Posted By Lestat
the problem is that i cannot alter those file cuz...
the problem is that i cannot alter those file cuz is used to generate statistics
4,639
Posted By Lestat
The script is: wc -l file1 | grep...
The script is:



wc -l file1 | grep EXACTO > my_file
sleep5
wc -l file1 | grep EXACTO >> my_file



so in my_file i get the number of lines, the difference between those are what i need...
4,639
Posted By Lestat
At first time i try to get whe num of lines...
At first time i try to get whe num of lines actual, then the num of lines in 5 seconds then the difference between they, but in 'file1' i have thousand of lines and a 'wc -l file1' take to much...
4,639
Posted By Lestat
pixelbeat it still dont work, 'tail -f -s5 file1...
pixelbeat it still dont work, 'tail -f -s5 file1 works' but not just 5 seconds, it works like 'tail -f file1'
4,639
Posted By Lestat
Get lines in 5 seconds
Hello everybody, how i can get how many lines are writed in a file in the last 5 seconds?

For ezample i have 'file1' that is filled by a process automatically and i neet to know how many lines...
47,301
Posted By Lestat
Amit, your post help me, I just have to add some...
Amit, your post help me, I just have to add some characters and at the end the solution was:

kill -9 `ps -aef | grep 'monitoreo start' | grep -v grep | awk '{print $2}'`


Thanx
20,522
Posted By Lestat
use | more after your 'grep' commands
use

| more

after your 'grep' commands
47,301
Posted By Lestat
Script to kill process
Hello guys,

I have a process named monitoreo, with 'monitoreo start' my process start until i kill them, now i want to do 'monitoreo stop' to kill them.

After 'monitoreo start' i have this...
2,129
Posted By Lestat
Maybe i need to explain better what i have and...
Maybe i need to explain better what i have and what i need.

In 'errores.log' i have a lot of transactions logs, succesfull and with errors, another process fill this file in real time.

i want...
2,129
Posted By Lestat
vgersh please could you explain me better your...
vgersh please could you explain me better your command? i maen, can i do:

tee -a <source> <new> ???
2,129
Posted By Lestat
problem with a script
Hello again,

I have a script to read the last line writed in a file, make a grep and if the grep match, write this line into another file (that is what i want)

script
tail -f...
4,840
Posted By Lestat
Part of my 'borrar' file: [2005-06-10...
Part of my 'borrar' file:

[2005-06-10 07:28:11]{12}: [R-> PBRX1] DELIVER_SM_RESP [seqno: 79774][trans_id: 23914495 ][cmd_status: 0x00000064]
[2005-06-10 07:28:11]{13}: [R-> PBRX2] DELIVER_SM_RESP...
19,042
Posted By Lestat
Radhika that's right u might use in crontab: ...
Radhika that's right u might use in crontab:

00,30 * *.......
4,840
Posted By Lestat
Thanx criglerj your solutions works too, but now...
Thanx criglerj your solutions works too, but now i have a new problem, the file borrar.log have 2537051 lines and this process is taking 30 seconds, and i need this information for bein showed each...
4,840
Posted By Lestat
i got it.... nawk -f prueba.awk borrar ...
i got it....

nawk -f prueba.awk borrar

Thanx my friend vgersh99!!!!!!!!
4,840
Posted By Lestat
Not yet, i still have problems: example#...
Not yet, i still have problems:

example# nawk prueba.awk borrar

nawk: syntax error at source line 1
context is
>>> prueba. <<< awk
nawk: bailing out at source line 1
4,840
Posted By Lestat
I don't know too much of awk, i just know that...
I don't know too much of awk, i just know that awk is powerfull as another, when i run the following script u have this problem:

awk: syntax error near line 1
awk: bailing out near line 1


...
Showing results 1 to 25 of 66

 
All times are GMT -4. The time now is 01:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy