Search Results

Search: Posts Made By: EnioMarques
9,276
Posted By EnioMarques
Sorry for the long delay to respond. Looks...
Sorry for the long delay to respond.

Looks like after the logs rotated, they went back to normal. It's happening only after the server boot, but get to work properly after it rotates.

Thanks!
9,276
Posted By EnioMarques
[AIX] Binary file warning for text file.
Hello guys,

We had to move from a DC to another, and we are now facing an "issue" with some text files.

Looks like that some of our log files are set as binary:

file TuxConnectorURA.20121012...
4,102
Posted By EnioMarques
Merging the PS and TOP output
Hey guys,


I'm trying to merge the output from the ps and top commands; since I need the full command used (only showed in the ps), and the cpu usage with some decimal numbers (i.e.: 0.05%, only...
11,352
Posted By EnioMarques
you can use sar for that i.e.: sar 2 2 ...
you can use sar for that


i.e.: sar 2 2

this will do the cpu test 2 times in a 2 secs interval
2,426
Posted By EnioMarques
cat getusagesummarywrongmatch | grep -iv...
cat getusagesummarywrongmatch | grep -iv MOU2GRTObject | cut -d'|' -f4,14 | grep -i chargeamount | cut -d' ' -f2 | awk
-F':' '{cnt[$1]++} {arr[$1]+=$4} END {for(i in arr) printf("Hour: %d ...
2,426
Posted By EnioMarques
[question] hard exercise, help needed
Hello guys.

Well, on this exercise i need the average "chargeAmount" per hour (for each hour).

with this code :
cat getusagesummarywrongmatch | grep -iv MOU2GRTObject | cut -d'|' -f4,14 | grep...
2,946
Posted By EnioMarques
thanks again vgersh :) well, now i'm stucked...
thanks again vgersh :)

well, now i'm stucked on another one,this is kinda complicated for me =/
3.1- Total transactions per hour
3.2- Total transactions per business hour

the date/time is the...
2,946
Posted By EnioMarques
ya i know, but i need to complement that A)...
ya i know, but i need to complement that A) exercise.

when i use vgersh99's code i get like :
[SubMethod1] appeared 100 times
[SubMethod3] appeared 123 times
[SubMethod2] appeared 15 times ...
2,946
Posted By EnioMarques
wow thanks a lot dude :b::b: but can you...
wow thanks a lot dude :b::b:

but can you explain me how you did it??I wanna know how you used those indexes.

and can you give me a hand on exercise B too?? i need to know the total of ERRORS...
2,946
Posted By EnioMarques
[question] trouble with an 'exercise'
Hello guys..
well, im kinda newbie with unix because i started to learn it like 2 weeks ago.

then i started to make some exercises, but i got stucked on this one :



so, i need to know how...
Showing results 1 to 10 of 10

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