10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to collect logs from a system in expert mode. Where I login to system and then change mode to expert mode and issue command to collect the log. I have a script which works but It waits for 30 mins even though log collection is complete before that. I have two issues with existing... (4 Replies)
Discussion started by: shunya
4 Replies
2. Shell Programming and Scripting
Hi All
i have a file data like below format
A, B
2016-04-14 16:30:00,2016-04-14 16:31:17
2016-04-14 16:40:00,2016-04-14 16:41:10
2016-04-14 16:50:00,2016-04-14 16:50:41
2016-04-14 17:00:00,2016-04-14 17:00:35
2016-04-14 17:10:00,2016-04-14 17:11:48
2016-04-14 17:20:00,2016-04-14 17:20:37
i... (2 Replies)
Discussion started by: Tarak_nath
2 Replies
3. Shell Programming and Scripting
I am creating log monitoring script and stuck up to get the logs between two time stamp.
can you please help me to create the script to get the logs between two time stamp, for example, I need the complete logs between # Time: 150328 1:30:10 and # Time: 150328 19:10:57
OS : Cent OS 6.x... (8 Replies)
Discussion started by: zenkarthi
8 Replies
4. Red Hat
Hi,
I have two questions,first of all is where can I collect more error logs(the log under /var/log/messages), also give the corresponding explain is grateful.The second one is the log under various versions(such as red hat,suse,etc) is the same or not.
Thanks for answers. (1 Reply)
Discussion started by: zhaoyy
1 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
How do i collect Date & Time from Different Directories in a script
The script iam using for a single directory is :
ls -l | grep awk '{print $8}' (2 Replies)
Discussion started by: laknar
2 Replies
9. Shell Programming and Scripting
How do i collect date and time for list of files in a directory using AWK Command (4 Replies)
Discussion started by: laknar
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I am working on a korn shell script.
i have a file such as:
DS.PETSCO.20060601203514.20060531.ctl_20060717124431
i have 2 problems here.
1) i have to capture the time stamp from
the above file i.e this number 20060717124431.
format of time stamp is YYYYMMDDHHMMSS.
can... (4 Replies)
Discussion started by: pavan_test
4 Replies