10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am developing one script which will take log file name, output file name, date, hour and minute as an argument and based on these inputs, the script will scan and capture all the error(s) that have been triggered from a given time. Example: script should capture all the error after 13:50 on Jan... (2 Replies)
Discussion started by: ROMA3
2 Replies
2. UNIX for Advanced & Expert Users
hi all
find /folder1 -mtime 1 >folder1
with the above command , I can get the output of all the files which are modified(within folders and sub folders of folder1) in the last 24 hours.
but the listed files output , does not contain the time stamp with it.
I request you to give... (4 Replies)
Discussion started by: sidharthmellam
4 Replies
3. Shell Programming and Scripting
I have a log file which wrote time stamp like this
2013-02-11 00:46:40.389037
2013-02-12 11:46:40.197045
can any one help me to get the time stamp difference of these two line in seconds. (4 Replies)
Discussion started by: netdbaind
4 Replies
4. Shell Programming and Scripting
Hi All,
This is my first post!! :)
How to store huge data in a single variable in csh.
Right now i can store upto ~700kb of data. I still want to store more data and i dont want to use perl.
Is there any method to store like that...Please let me know..
Thanks (3 Replies)
Discussion started by: vickra
3 Replies
5. Solaris
On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help
here is what i get when i check for system date
infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date
Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
Discussion started by: karghum
4 Replies
6. Shell Programming and Scripting
Here is two time I have:
Jul 12 16:02:01
Jul 13 01:02:01
and how can I do a simple match to get difference between two time which is 09:00:00
Thanks in advance. (3 Replies)
Discussion started by: ford99
3 Replies
7. Shell Programming and Scripting
hi everyone
i am facing a strange problem here
suppose content of my file is
a=1,2,3
b=2,3,4
c=4,5,6
time=
now the problem is i want to add value in front of time variable
and the value should be i format only "HHMMSS"
so it should be like this
a=1,2,3
b=2,3,4
c=4,5,6... (3 Replies)
Discussion started by: aishsimplesweet
3 Replies
8. Shell Programming and Scripting
hi,
Do anybody know, how to list out all the commands & scripts used by the user & root along with the timestamps under ksh & csh shells.
Thanks in advance
Regards
BS (1 Reply)
Discussion started by: raghunsi
1 Replies
9. Shell Programming and Scripting
Hey guys - I have made this script and for some reason, I dont see time stamp as "Month-Day-YYYY Hours-Mins" - all i see is Month and Day.
Also, my file size is approximated. For example, if the size is 19,606KB - the script shows as 20M. Is there a way to see the exact file size?
How do i... (2 Replies)
Discussion started by: DallasT
2 Replies
10. Shell Programming and Scripting
Hi all,
I want to grep a file name with time stamp as 30 minutes how can i??.
Ex
I will getting outputs in a file every minutes
I want to grep it by a time intervals of 30 and show it . Any help will be great !
Thanks,
Arun. (1 Reply)
Discussion started by: arunkumar_mca
1 Replies