Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

Search Results

Search: Posts Made By: Corona688
181
Posted By Corona688
I think access time includes reads too, if its...
I think access time includes reads too, if its enabled. But its been so long since I've seen a system that had atimes enabled, I'm not 100% positive.

Unless you know for a fact atimes are enabled...
207
Posted By Corona688
Using awk's built-in ability to split records on...
Using awk's built-in ability to split records on blank lines, there's no need for a nested loop:
$ awk '$3 ~ /Four/ {print $1}' RS="" FS="\n" datafile

Vehicle: BMW Class
Vehicle: Toyota Class
...
154
Posted By Corona688
If you don't want the smallest range, and don't...
If you don't want the smallest range, and don't want the biggest range, then what do you want? The average?
157
Posted By Corona688
For that matter, there's already return values...
For that matter, there's already return values here you aren't checking.

function2()
{
cat test.txt # If this fails, $? will be nonzero
}

if ! function2
then
echo "Could...
Forum: Programming 1 Week Ago
354
Posted By Corona688
"Dying" is hyperbole. By that metric I'm sure...
"Dying" is hyperbole. By that metric I'm sure awk has been dead for half a century. It still persists where its feature set is useful, as does Perl.

One thing that makes Perl especially useful...
515
Posted By Corona688
#!/bin/bash MIN=1 MAX=10 STARS=0 ...
#!/bin/bash

MIN=1
MAX=10
STARS=0

S=$(printf '%*s' "$((MAX*2))" '')
D=${S// / *}

for ((N=MIN; N < (MAX*2); N++ && (STARS += W)))
do
[ "$N" -gt "$MAX" ] && W=$(((MAX*2)-N)) ||...
Forum: Shell Programming and Scripting 2 Weeks Ago
379
Posted By Corona688
If you have locate installed, this should find it...
If you have locate installed, this should find it efficiently:
locate 'partoffilename'
If you don't, and really want to do a brute-force search of the entire system, bar nothing and nobody:
find /...
Forum: Programming 2 Weeks Ago
383
Posted By Corona688
I don't think saved_ip =...
I don't think saved_ip = open('/tmp/outputcommand'"%s.txt"%i, "a+") does what you think it does. What are %s and %i supposed to be?
394
Posted By Corona688
That's still only part of your code. Its missing...
That's still only part of your code. Its missing libbb.h, common_bufsiz.h, misc.h, and global.h. We need those to compile your code and find the problem by testing.
1
awk
69
Posted By Corona688
Please use code tags for code, icode is for...
Please use code tags for code, icode is for single-line things.

awk syntax is very compact because it has its own built in loop and shortcuts.

A simple awk program might look like:
awk...
394
Posted By Corona688
If I had to make a wild guess, you're drawing...
If I had to make a wild guess, you're drawing something else on top of it. What, I can't say, without seeing all of your code.
394
Posted By Corona688
Mordac is being ridiculous. It's a direct link...
Mordac is being ridiculous. It's a direct link to some code.

void startup(void)
{

printf("\033(U"); /* set to ibm character set */
initscr(); /* initialize ncurses */
...
413
Posted By Corona688
You've got an extra quotation mark in there: ...
You've got an extra quotation mark in there:
mailx -s "Possible Redo Apply Issue at $ORACLE_SID - Log Gap is "$GAPNUM" $MAIL_TO < $OUTFILE
Which might be swallowing up quite a bit of code below it.
476
Posted By Corona688
AFAIK the multiple characters as RS ought to work...
AFAIK the multiple characters as RS ought to work with most awk, what won't work with some is RS as a regex.
1,738
Posted By Corona688
To get values back you'll have to print them and...
To get values back you'll have to print them and retrieve them in $( ) brackets.

VALUE=$(ssh username@host -s var1 var2 <<EOF
...
echo $VALUE
EOF
)

echo "Remote host sent VALUE=$VALUE"
476
Posted By Corona688
$ awk -v...
$ awk -v RS="--------------------------------------------------------\n" -v FS="\n" '/Status:[ ]+[ABD-Z]/ { print RS,$0,RS }' input

--------------------------------------------------------
...
518
Posted By Corona688
SELECT CodError perhaps?
SELECT CodError perhaps?
96
Posted By Corona688
I'm afraid your question isn't clear. It's also...
I'm afraid your question isn't clear. It's also not clear what your script does. Please show your script, the input you have, and the output you want.
Forum: Shell Programming and Scripting 3 Weeks Ago
610
Posted By Corona688
The new way: <span style='color:...
The new way: <span style='color: blue;'>Hello</span>
The old way: <font color="blue">Hello</font>
The new way is preferred, but some old email clients might want the old way.
Forum: Shell Programming and Scripting 4 Weeks Ago
674
Posted By Corona688
Then I would suggest posting a sample of what...
Then I would suggest posting a sample of what that looks like so we can contemplate ways to deal with it. Post what it looks like in the tool, and the actual arguments the shell receives.

OP's...
581
Posted By Corona688
Use "$@" instead of $* quotes and all. That...
Use "$@" instead of $* quotes and all. That will guarantee it splits on arguments only and not spaces.
Forum: OS X (Apple) 4 Weeks Ago
1,048
Posted By Corona688
If find doesn't work, no other user-mode...
If find doesn't work, no other user-mode application is going to work. The filename is invalid and the kernel refuses to touch it. You need a disk editor.
735
Posted By Corona688
What below command?
What below command?
851
Posted By Corona688
Something like # config for systemd ... ...
Something like # config for systemd
...
ExecStart=/path/to/collector2.sh
...

where collector2.sh is #!/bin/bash

. $HOME/.pgprofile_pgwatch2
# Redirect standard output into logfile
exec >>...
913
Posted By Corona688
I don't think you should specify "WITHIN GROUP"...
I don't think you should specify "WITHIN GROUP" more than once, that restriction would end up applying to all columns, put it at the end.
Showing results 1 to 25 of 500

 

Featured Tech Videos