Search Results

Search: Posts Made By: Habitual
8,186
Posted By Habitual
Turn your computer into a digital radio alarm...
Turn your computer into a digital radio alarm clock (http://forums.linuxmint.com/viewtopic.php?f=213&t=77603&p=459886)
1,862
Posted By Habitual
both --procfilt -p $(pidof mongod) ...
both
--procfilt -p $(pidof mongod)
--procfilt $(pidof mongod) both seem to put out identical data...?

and most importantly, (I just noticed also)
collectl V3.6.0-1 (zlib:2.033,HiRes:1.972101)...
1,862
Posted By Habitual
Mark: I am looking for the cause or clue of...
Mark:

I am looking for the cause or clue of what my clients reports as an issue for him.
He has an AWS Instance that was Ubu 9.04, so we upgraded his Instance to 12.04 LTS.
This cloning process...
1,862
Posted By Habitual
Mark! Your "style" in your options/switches...
Mark!

Your "style" in your options/switches suits me just fine. :)
So, the command I am now using hopefully that eliminates the 'extra' step is collectl --procfilt $(pidof mysqld) --dskopts z -sD...
1,862
Posted By Habitual
you are twice as good. 1 for fast reply. 1...
you are twice as good.
1 for fast reply.
1 for working command.

Thank you very much.

Edit. Props for alternatives!
1,862
Posted By Habitual
grep -v 13 zeros in a string - Resolved
I have a sample file created with collectl that contains a targeted collection of the mysqld threads that are writing to raid0 up on AWS. The output collects what I want, but what I need is grep...
2,097
Posted By Habitual
and from unix time to actual is date -d...
and from unix time to actual is date -d @1343314800
4,200
Posted By Habitual
same disscussion over at...
same disscussion over at https://www.unix.com/shell-programming-scripting/191615-how-remove-last-3-lines-many-files.html
11,618
Posted By Habitual
ssh-keygen -f /some/$user/.ssh/user1-id_rsa -t...
ssh-keygen -f /some/$user/.ssh/user1-id_rsa -t rsa -N '' -q

is what I have been using.

user1-id_rsa can be whatever you need it to be.

or see...
3,247
Posted By Habitual
and | sed -n '2p' works also.
and | sed -n '2p' works also.
13,573
Posted By Habitual
My .bash_history only has 14K using ...
My .bash_history only has 14K using

HISTCONTROL=ignoredups:ignorespace
HISTSIZE=30000
HISTFILESIZE=30000
export HISTTIMEFORMAT='%F %T '
export HISTIGNORE=' cd "`*: PROMPT_COMMAND=?*?'
1,810
Posted By Habitual
migurus: +1 and props for the heads up! ...
migurus:

+1 and props for the heads up!

Solution is much simpler that I anticipated. Funny what 2 days away from the keyboard can do... :)

gta.sh (Grab That Apache)

grep -iq "CentOS"...
1,810
Posted By Habitual
Thanks migurus: I re-thought the process and...
Thanks migurus:
I re-thought the process and got a solution for CentOS

### Set/force "uniqueness" of tar archive in a general way
TARDATE=$(date '+%m-%d-%Y.%s')

### Set the Apache conf and...
1,810
Posted By Habitual
"Walk" apache installs and do a tar on them...
Hello unix.com Community:

I need help with writing a "common" script that can get the httpd installs by name and install directory|ies and tar.gz them up by name and point that tar operation to...
3,745
Posted By Habitual
There's no _ in $prefix"config"? Also, try ...
There's no _ in $prefix"config"?

Also, try
set -x under
#!/bin/bash

in your script and then run the script manually, you'll see tons of diagnostic "goodies" :)
1,987
Posted By Habitual
echo \<\< > file.sh
echo \<\< > file.sh
2,285
Posted By Habitual
Personally, I'd quote the string "TestCompany,...
Personally, I'd quote the string "TestCompany, Inc." in ConfigFile

HTH
6,967
Posted By Habitual
www.rigacci.org/docs/biblio/offline/TLCL-09.12.pdf
www.rigacci.org/docs/biblio/offline/TLCL-09.12.pdf
1,334
Posted By Habitual
A remote script that has a chmod 0000...
A remote script that has a
chmod 0000 `basename $0` in it's body.

Might also need an "export HOME=/root" statement (if run as root, or other acceptable user.)

HTH
5,477
Posted By Habitual
I just offered a solution on another forum not...
I just offered a solution on another forum not 1.5 hours ago. :)
1,462
Posted By Habitual
terminal > mysql -uroot -p <db_copy> <...
terminal >
mysql -uroot -p <db_copy> < /path/to/file.sql
6,368
Posted By Habitual
apt-get install debconf-utils for starters. ...
apt-get install debconf-utils

for starters.

debconf-get-selections | grep mysql

sudo dpkg-reconfigure <mysql-package>
to "reset" the mysql install password.

"Preseed" is the technical...
2,817
Posted By Habitual
Thanks methyl: the "cut -c9-21" seems to do...
Thanks methyl:

the "cut -c9-21" seems to do the trick for now. :)

I also suspect that the /7 may have b0rked up the output.
2,817
Posted By Habitual
Thanks methyl and admin_xor: As usual...
Thanks methyl and admin_xor:

As usual "YMMV"... :)

anyway, does this make any difference?

+ temp=$'Microsoft-IIS/7.5\r'

the \r is what stands out...

JJ

Edit:

I also tried
......
2,817
Posted By Habitual
admin_xor; "echo always returns zero" is the...
admin_xor;

"echo always returns zero" is the rule I was looking for, when I couldn't even think of it!
I have implemented your suggested code, but...
Showing results 1 to 25 of 118

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