10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to calculate duration for below file in this format
SID | Date | Starttime |Date |End time
O/p should be like this:
SID | Date | Starttime |Date |Endtime... (4 Replies)
Discussion started by: anupmishra
2. Shell Programming and Scripting
I have a script which does report the cpu usuage, there are few output parameter/fields displayed from the script. My problem is I have monitor the output and decide
which cpu number (column 2) has maximum value (column 6).
Since the output is displayed/updated every seconds, it's very... (1 Reply)
Discussion started by: Optimus81
3. Shell Programming and Scripting
Hi - I am looking for a little help to read in 2 date fields from a file in format:
yyyymmddhhmmss.tenths of a second
So i want to:
1. Read in the 1st date from the file
2. Read in the second date from the file
3. Calculate the difference in minutes (or seconds)
4. ... (5 Replies)
Discussion started by: Newbie2012
4. Shell Programming and Scripting
I've a master file which will contain 100 file names, The script should read file name from a master file and format the file as below in AIX.
Filename|This is a test file
Thanks in advance
for file in $FileList; do (5 Replies)
Discussion started by: udayakumar
5. Shell Programming and Scripting
I have a txt file which now has the following output
Sat Mar 6 04:00:01
Sat Mar 6 04:02:09
Sat Mar 6 17:00:01
Sat Mar 6 17:00:58
Sun Mar 7 04:00:01
Sun Mar 7 04:00:51
Sun Mar 7 17:00:01
Sun Mar 7 17:00:41
I want output as... (1 Reply)
Discussion started by: gubbu
6. Shell Programming and Scripting
I was very sad after a long way but still cannot figure out the duration between two date.
The output will be "001241".
I did the following tries, like print localtime(UnixDate(ParseDate("20090812 23:48:56"),"%s"));... (2 Replies)
Discussion started by: jimmy_y
7. Shell Programming and Scripting
I have come across a small problem. It would be great if any of you could help me in resolving the issue.
one file named dummy.txt will be ftped to Unix machine twice daily. If i receive it second time in a day i need to do some processing with the file.
How to find the... (2 Replies)
Discussion started by: RSC1985
8. Shell Programming and Scripting
I want to call a concurrent request set from a shell script. I am getting the syntax error "syntax error at line 417 : `(' unexpected" in the below script.
v_request_id=fnd_request.submit_request(application => 'APPL_SHORT_NAME'
,program => 'PROGRAM_SHORT_NAME'
... (4 Replies)
Discussion started by: swatipevekar
9. Shell Programming and Scripting
i recieve a file from other server, on a daily basis .... but the time of arrival is unpredictable ....
i need to move this file to another directory before the next file arrives ...
i have written a script that does this op and performs some manipulations on the data...
but i... (2 Replies)
Discussion started by: sais
10. Shell Programming and Scripting
could you please find a solution for this
a complex command using pipes to Calculate the number of hits per client in Squid log file (access.log), the command should display most active hosts first.
1197979501.787 1 10.1.14.62 TCP_NEGATIVE_HIT/404 1463 GET http://url
The... (0 Replies)
Discussion started by: anything