Search Results

Search: Posts Made By: Prateek007
3,258
Posted By Prateek007
UNIX with GUI
Dear Experts,

My application is running on linux, which makes me connect to lot of different servers manually through putty, and execute the commands.

Is there a way, i can create a GUI, or...
7,756
Posted By Prateek007
Parsing of TOP output
Hi ,
i am trying to set up an alert, when CPU usage (0.2%us in below output) is more than 40%
top | head | grep '^Cpu'
Cpu(s): 0.2%us, 0.2%sy, 0.0%ni, 99.1%id, 0.6%wa, 0.0%hi, 0.0%si, ...
5,355
Posted By Prateek007
grep : Argument list too long
Hi,

i am having some trouble with the below command, can some one suggest me the better way to do it.

grep -l 'ReturnCode=1' `find $Log -newer /tmp/Failed.tmp -print | xargs ls -ld | egrep...
7,098
Posted By Prateek007
i am sorry dint understnad what "w" and last...
i am sorry dint understnad what "w" and last meant

May i request you to elaborate pls. thx
7,098
Posted By Prateek007
Checking concurrent SSHD connections
Hi Guys

i am facing an issue when SSH connections are overflowing on my server, i get connections from thousands of servers, out of which few does not close them after sending a file.

i want...
1,132
Posted By Prateek007
yes grep -o is supported, but catch here...
yes grep -o is supported,

but catch here is, the last column can have any special character not only [^_] , it can have dot, hyphen, underscore or hash, how to catch all of them?
1,132
Posted By Prateek007
Grep problem
Hi Guys

i have a file with hundreds of lines like this
alerts.log2011-29:08/29/2011 12:47:56 XYZ_1234 ABSCTT One Failed File Push To Remote Server Failed ABC.DEF.1234...
2,241
Posted By Prateek007
OK, thats good information to have, thank you, ...
OK, thats good information to have, thank you,

What process defines this access time value which could be taking this as Zero? Could it be because OS?

Thanks much

---------- Post updated...
2,241
Posted By Prateek007
Please find the answers to above questions: ...
Please find the answers to above questions:

GNU/Linux #1 SMP
Files are coming from external systems
They are not extracted from Archives
File system is NFS mounted

Have a look at these stats...
2,241
Posted By Prateek007
Old time stamp being updated for new files
Hello Friends

I am facing a weird problem :confused:, we receive thousands of files in my system on a daily basis, access time stamp on some of the files are being updated as old time stamp like...
4,035
Posted By Prateek007
I hear you Thanks for all your help guys,...
I hear you

Thanks for all your help guys, much appreciated :)
4,035
Posted By Prateek007
Thanks much This way i have to go with two...
Thanks much

This way i have to go with two crons, was trying to figure out if thats possible with one cron?? Any ideas?
4,035
Posted By Prateek007
Crontab to skip only one entry in a day???
Hello Friends,

I have a cron tab like this:

10,40 1-23 * * * /script

i want to skip only one execution at 00:10, so basically i want it to execute every hour at 10th and 40th minute, except...
1,832
Posted By Prateek007
Help in locating a word in huge files
hi

i receive about 5000 files per day in my system. Each of them are like:

cat ABC.april24.dat
ABH00001990 01993 409009092 0909 INI iop 9033
AAB0000237893784 8430900 898383 AUS 34349089008...
3,870
Posted By Prateek007
Thank you so much Guys ... :)
Thank you so much Guys ... :)
3,870
Posted By Prateek007
How to add the contents of a file?
Hi

I have a file named Data

cat Data

1797548295
2420652689
513068908
1426750759
3229436285
2710691077


i want to sum all these lines, can we use any direct command for that in...
2,175
Posted By Prateek007
Script is showing abnormal behavior...
Hi,

facing unusual problem, below are 2 same scripts, one is working and other is not. please help

--- THIS SCRIPT IS WORKING FINE!!!!
#! /bin/sh
phone=`grep "<phone>" data.xml | sed...
6,704
Posted By Prateek007
Files are not coming in attachement by any command
Hi All

I want to send a file thru a mail with an attachment.

i tried using uuencode , but it says

"bash: uuencode: command not found"

and the same i am getting for mutt as well:
...
1,355
Posted By Prateek007
is sed useful here?
hi all,

i have a file named VAL

cat VAL
@905544|0|{5|1|-1|-1|-1|1247559121|}

the value which changes in this is 905544.

i want to replace this '905544' value by other value say...
1,436
Posted By Prateek007
Problem in making itration
Hi,

I have a file which keeps on appending the data continuously, i that i am looking for a particular pattern, if i dont find that pattern i want to wait for 30 seconds to check it again.
...
2,024
Posted By Prateek007
not working
nope, :(

i am getting

tail: cannot open input
2,024
Posted By Prateek007
Help on splitting this huge file
Hi ,

i have files coming in my system which are very huge in MB and GBs, all these files are in a single line, there is no newline character.

I need to get only last 700 bytes of these...
2,297
Posted By Prateek007
it works , :) thanks so much
it works , :)

thanks so much
2,297
Posted By Prateek007
How to come out of this
Hi,

i have to search for all files named FILE in my particular directory, which is /abc.

when i am using 'find /abc -newer file2 -print | xargs ls -ld | grep 'FILE'

this gives me all the...
59,564
Posted By Prateek007
How to stop the script which is running in background
Hi

I have a script, which i ran in background, can someone please help in stopping this.

i gave this command:

ksh abc.ksh &

this script sends me a mail every 30 seconds. i have...
Showing results 1 to 25 of 34

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