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: MadeInGermany
101
Posted By MadeInGermany
I wonder what the -f does in conjunction with -o...
I wonder what the -f does in conjunction with -o ...
"etime" is standard. With an appropriate RE:
ps -eo pid,comm,etime | awk '$3~/^[2-9][0-9]*-/{print $1,$2,$3}'
Forum: OS X (Apple) 1 Day Ago
362
Posted By MadeInGermany
IMHO a glob match returns even unprintable...
IMHO a glob match returns even unprintable characters.
So the last proposal does not improve anything.

And the clri command (didn't know it yet), will cause extra harm.
It is useless to clear...
Forum: OS X (Apple) 1 Day Ago
362
Posted By MadeInGermany
I think you need a "disk editor" tool that allows...
I think you need a "disk editor" tool that allows to edit the directory entries.
Cannot recommend any - I am not a Mac user.
132
Posted By MadeInGermany
Where is the promised command? I think df...
Where is the promised command?

I think df -kF zfs might do it.
Forum: OS X (Apple) 1 Day Ago
362
Posted By MadeInGermany
The filename seems to be illegal, not accepted by...
The filename seems to be illegal, not accepted by the MacOS kernel.
And seems to be impossible to delete.
Even in C it is
int unlink(const char *pathname);so the illegal file name comes into...
Forum: OS X (Apple) 2 Days Ago
362
Posted By MadeInGermany
Try with wildcards, -i prompts for each match, so...
Try with wildcards, -i prompts for each match, so you can say yes only to the desired match:
rm -i ./*Word*
185
Posted By MadeInGermany
Thanks for the feedback!
Thanks for the feedback!
160
Posted By MadeInGermany
/var/run/ is supposed to be writable and...
/var/run/ is supposed to be writable and volatile: to be cleaned during system boot, or an in-memory file system (e.g. tmpfs).
The daemon process should create the pidfile, and remove it when it is...
333
Posted By MadeInGermany
Right. A trailing / would cause a double-check....
Right. A trailing / would cause a double-check. Is technically okay though.

For Posix-compatibility you should stick to "$(ls -A)" and test it for being null or non-null. Generally better for...
185
Posted By MadeInGermany
Sun's Xserver needs keyboard and mouse connected...
Sun's Xserver needs keyboard and mouse connected - otherwise it does not start.
Also the correct graphics driver must be installed. That means it should be included in the imstall image. (If not,...
186
Posted By MadeInGermany
Ah, now I understand It's a challenge to split...
Ah, now I understand
It's a challenge to split and print in awk.
Here is a RE
awk -F"|" '{ x=$0; sub(/[^|]*[|][^|]*[|][^|]*[|]/, "", x); print x > ("sample_" $1 "_" $2 "_" $3 ".csv") }'...
186
Posted By MadeInGermany
Did you search this forum? There might be an...
Did you search this forum? There might be an answer already.
Here is a simple one:
awk -F"|" ' { print > ("sample_" $1 "_" $2 "_" $3 ".csv") }' sample.csv
333
Posted By MadeInGermany
In order to move a file the directory is modified...
In order to move a file the directory is modified i.e
must be writable. The file permissions do not really matter, while in an interactive shell the mv might become interactive i.e. ask.
So...
469
Posted By MadeInGermany
[ Sorry, I did not read the prev page ]
[ Sorry, I did not read the prev page ]
469
Posted By MadeInGermany
The following variant correctly handles filenames...
The following variant correctly handles filenames with special characters:
for f in *; do printf "%s/%s lines are unique in file %s\n" $(sort "$f" | uniq -u | wc -l) $(wc -l < "$f") "$f"; donePost...
265
Posted By MadeInGermany
NF number of fields $1 first field $2 ...
NF number of fields
$1 first field
$2 field 2
$NF last field
$(NF-1) second last field
sub() substitute
gsub() globally substitute, apply multiple subsequent substitutions
sub("/", "-",...
295
Posted By MadeInGermany
grep -q might not work with all grep versions....
grep -q might not work with all grep versions. What is your OS?
tail -f $UMPath/data/nirvana.log | while read line
do
done
Several problems with that.
The pipe forces the while-do-done block...
316
Posted By MadeInGermany
Actually it is command1 && command2 || echo...
Actually it is
command1 && command2 || echo "something went wrong with command 1 or command 2"Test it with true and false commands!

Another solution to the original question: redirect a {...
Forum: What is on Your Mind? 1 Week Ago
529
Posted By MadeInGermany
Congratulations, Don!
Congratulations, Don!
453
Posted By MadeInGermany
Sorry, an extra i slipped into my awk code....
Sorry, an extra i slipped into my awk code. Should be p1=$1 not p1=$1i.

With printing the file names:
awk -F, 'FILENAME!=pFN { printf "File : %s\n\n", pFN=FILENAME } p1!=$1 { print "FRAME :",...
169
Posted By MadeInGermany
Good point; the -P works around a long-term bug...
Good point; the -P works around a long-term bug in GNU df.
Meanwhile, in recent distros, it should have been fixed.
453
Posted By MadeInGermany
Most efficient with awk: awk -F, 'p1!=$1 {...
Most efficient with awk:
awk -F, 'p1!=$1 { print "\nFRAME :", p1=$1i, "=====" } { print "\nRAM :", $2; for (i=3; i<=NF; i++) print "CPU ", i-2, ":", $i }' *.csvThe same can be done with shell:...
409
Posted By MadeInGermany
The n command fetches the next input line. No sed...
The n command fetches the next input line. No sed code follows that does something on it, so it goes to the next cycle that - as usual - fetches the next input line, in this case the over-next line....
Forum: Shell Programming and Scripting 2 Weeks Ago
621
Posted By MadeInGermany
Don, they would all work with nawk. Or can you...
Don, they would all work with nawk. Or can you show me one that does not, or give me a pointer?
Forum: Programming 2 Weeks Ago
214
Posted By MadeInGermany
Yes, MyList.append(value) must be indented,...
Yes, MyList.append(value) must be indented, otherwise it is after the loop!
Showing results 1 to 25 of 500

 

Featured Tech Videos