Search Results

Search: Posts Made By: 60doses
4,932
Posted By 60doses
Backing up virtual machines - opinions/suggestions needed.
Hi,

I was required to do a backup of a virtual machine that runs on vmware. The guest operating system is windows, and the host is windows too. I have to backup the whole directory of the virtual...
13,448
Posted By 60doses
danmero, radoulov, cfajohnson: All solutions...
danmero, radoulov, cfajohnson:

All solutions worked :D

Thank you so much!
13,448
Posted By 60doses
Copy files listed in a text file - whitespace problem.
Hi,

Say I have this text file <copy.out> that contains a list of files/directories to be copied out to a different location.

$ more copy.out
dir1/file1
dir1/file2
dir1/file3
"dir1/white...
14,795
Posted By 60doses
Yep Yep. Thanks again. p.s. Yea, my shift...
Yep Yep. Thanks again.

p.s. Yea, my shift buttons are back :cool:
14,795
Posted By 60doses
Tried nmon on CentOS 5 and yea it's a neat tool....
Tried nmon on CentOS 5 and yea it's a neat tool. But as I've read from some sites, I'll need the nmon analyzer in order to generate a nice 'report with graph and stuff' based on the nmon result....
14,795
Posted By 60doses
Ah.. thanks a lot for the advice! :D
Ah.. thanks a lot for the advice! :D
14,795
Posted By 60doses
Thanks zaxxon. Guess it'll be fine if I were to...
Thanks zaxxon. Guess it'll be fine if I were to run it with 5 sec intervals for about a minute before and during the peak time? That'll be 12 counts altogether in a run.

The vmstat flags aren't...
14,795
Posted By 60doses
Thanks, I've not used nmon before, but I'll try...
Thanks, I've not used nmon before, but I'll try it out.
14,795
Posted By 60doses
sar and iostat recommended interval/count values.
Hi,

I got a request from a client to check on their server's cpu, memory and disk utilization. Am planning to use the sar and iostat commands to achieve this. The server is used for sending and...
8,663
Posted By 60doses
uhmm.. it did finish up.. no error. so, all's...
uhmm.. it did finish up.. no error. so, all's good then i supposed? well anyways i'll compare the result data with the original's.
8,663
Posted By 60doses
Limit of number of lines for awk and sed.
Hi,

I'm using awk and sed to extract some data out from a text file. The text file consists of data over a million (prolly millions) of lines.

Question: Is there a limit of number of lines for...
7,496
Posted By 60doses
Thanks to this thread,...
Thanks to this thread, https://www.unix.com/shell-programming-scripting/29760-awk-need-extract-line-before-pattern.html I finally managed to extract out the data that I wanted.

awk '$0~/Start...
7,496
Posted By 60doses
So uhmm.. I only have to extract the time (i.e....
So uhmm.. I only have to extract the time (i.e. 19:04:46) which is located few lines before the pattern 'send messages'. Am trying couple of commands but it doesn't work :confused:

Help, anyone?
...
7,496
Posted By 60doses
awk '/LogEvent ID="Timer Start"/ {print} BEGIN...
awk '/LogEvent ID="Timer Start"/ {print} BEGIN {i=0} /LogEvent ID="Timer Start"/ {while (i<20) {getline; print $0; i++} i=0}' firstRun1_1905_131207.rtpar


Let me know if there's better solution....
7,496
Posted By 60doses
Yea.. just got the stuff in the morning, and I...
Yea.. just got the stuff in the morning, and I only have merely 12hours before submitting the report. Gah.

Thanks for your reply, but your code is nice enough to extract out the time, and I won't...
7,496
Posted By 60doses
Uhmm.. forgot another thing.. I will only need to...
Uhmm.. forgot another thing.. I will only need to take the start time if the status is 'send messages', and not 'submit messages'.

Here's another portion from the file:

<LogEvent ID="Timer...
7,496
Posted By 60doses
Some points to add.. There are 3 other Log...
Some points to add..

There are 3 other Log Event IDs that contains the word 'Start':

[root@sysh /home/share/gfsu]# more firstRun1_1905_131207.rtpar |grep "LogEvent ID" | grep Start | more
...
7,496
Posted By 60doses
extract specific data from xml format file.
Hi,

I need to extract the start time value (bold, red font) under the '<LogEvent ID="Timer Start">' tag (black bold) from a file with the following pattern. There are other LogEventIDs listed in...
Showing results 1 to 18 of 18

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