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: Peasant
167
Posted By Peasant
Please use code and icode tags. Also, shell,...
Please use code and icode tags.
Also, shell, operating system and utilities which are to be used would help us help you.
Your coding effort is also encouraged.

Here is gnu grep from linux box...
133
Posted By Peasant
Any attempts / ideas from your side ? ...
Any attempts / ideas from your side ?

Regards
Peasant.
Forum: What is on Your Mind? 3 Days Ago
358
Posted By Peasant
Thank you for your kind words. I will do my...
Thank you for your kind words.

I will do my best to justify the trust given here and on linkedin.

Regards
Peasant.
287
Posted By Peasant
You can delegate SMF permissions for specified...
You can delegate SMF permissions for specified service to a user.
A user can be set to stop / start / restart svc:/site/network/http:apache2 specifically.

Check out the resources online so i...
Forum: Red Hat 2 Weeks Ago
681
Posted By Peasant
I did not mean not talking to anybody in security...
I did not mean not talking to anybody in security department and doing stuff in DIY mode :)
A simple proxy or tunnel for a one time operation should not classify as a security breach if...
Forum: Red Hat 2 Weeks Ago
681
Posted By Peasant
Are you trying to install centos / redhat...
Are you trying to install centos / redhat packages on oracle enterprise linux ?
I see UEK kernel and oel packages, while you are following centos / redhat tutorial ?

If you are in offline mode,...
433
Posted By Peasant
We like to see some effort from our new members,...
We like to see some effort from our new members, before helping.

But since you are new, and this is your first post, here is one possible attempt :

awk 'match($3,/[0-9][0-9][0-9][0-9]/) {...
Forum: Shell Programming and Scripting 3 Weeks Ago
530
Posted By Peasant
Is this redhat or centos (the not working one) ?...
Is this redhat or centos (the not working one) ?

If it is can you show output of from the non working server as wasadm :

getenforce
ls -larZ $HOME/.ssh


Regards
Peasant.
232
Posted By Peasant
It's good to mention that there is a major...
It's good to mention that there is a major difference between bash and ksh running the same code.
Which is expected due to ksh / bash difference in implementation.


# ./in_ksh.sh
Outside loop...
697
Posted By Peasant
Can you elaborate more on need or problem to...
Can you elaborate more on need or problem to examine the cache usage ?
Are you having issues and what kind of workload is that ?

memstat/mdb should show correct cache usage.
I did see on 11.3...
Forum: Linux 07-11-2019
907
Posted By Peasant
The system requires a major dependency, a python...
The system requires a major dependency, a python programming language.

Processing Dependency: python(abi) = 2.6 for package: python-jinja2-2.2.1-1.el6.rf.x86_64

So either download all the rpms...
281
Posted By Peasant
I do not think init system is a place for such...
I do not think init system is a place for such application features.
You can customize execution of code on those actions but .. your application should implement socket / network / database...
Forum: Programming 07-05-2019
1,372
Posted By Peasant
On my home debian linux system, 'which' is a...
On my home debian linux system, 'which' is a shell script.
So looking at the source is just using cat against it.

Quite short script as well.

Regards
Peasant.
1,656
Posted By Peasant
Can you show example of that substitute failure...
Can you show example of that substitute failure ..

Here everything works as expected, but i'm not using tape device, but cat :)

cat archive.tar | pax...
419
Posted By Peasant
Try using the NF operator, considering the input....
Try using the NF operator, considering the input.


yourcode .... | awk ' { print $(NF-1) } '


Hope that helps
Regards
Peasant.
Forum: Solaris 06-19-2019
2,013
Posted By Peasant
You wish to access rpool filesystem from guest...
You wish to access rpool filesystem from guest domain on control domain at the same time ?

If that is NOT the case,...
You can stop the guest domain in question, and import the rpool with...
163
Posted By Peasant
It accepts numbers before as well. e.g. 3dw...
It accepts numbers before as well.
e.g. 3dw will delete 3 words in line from cursor to the right.

Regards
Peasant.
1,343
Posted By Peasant
r -> just a char. [0-9]+ -> extended regular...
r -> just a char.
[0-9]+ -> extended regular expression matching number.

Can you show output of show process pidin, so we can see output before greping.

Regards
Peasant
Forum: Solaris 06-13-2019
2,232
Posted By Peasant
I believe it's just a name of the interface...
I believe it's just a name of the interface address object, generic created during zone boot.
Similar in global zone e.g net0/v4 for instance, where v4 can be anything you want.

For instance (in...
2,386
Posted By Peasant
Looks like java is missing from PATH, does not...
Looks like java is missing from PATH, does not exist on system or not properly installed.

Can you show output from :

echo $PATH
which java
ls -dl /usr/lib/jvm/jre/bin/java

From the shell...
Forum: Solaris 06-11-2019
2,414
Posted By Peasant
Configuration looks fine, can you show output of...
Configuration looks fine, can you show output of :

dladm show-vnic


Question, are you running this on some virtualization solution (kvm/qemu, vmware, LDOM or alike) ?

Regards
Peasant.
1,414
Posted By Peasant
The files being found are deleted before the find...
The files being found are deleted before the find finishes i guess.
Are you sure you are not running multiple scripts against those folders, altering content with each ?

As for the storage part,...
166
Posted By Peasant
We will help you. But did you try something ? ...
We will help you.
But did you try something ?

If using rsync, examine its options carefully.
Perhaps issuing a find first using absolute path, print its output to file then processes it with...
2,648
Posted By Peasant
Rudi is right, i missed the conversion and header...
Rudi is right, i missed the conversion and header part, having hardcoded date value for the first field.

Please see correction :

BEGIN {
FS=","
OFS=";"
print...
2,648
Posted By Peasant
Try this, save it as into file small.awk ...
Try this, save it as into file small.awk

BEGIN {
FS=","
OFS=";"
}
{
$1=strftime("%Y-%m-%d %H:%M:%S")
$2=86400
print $1,$2,$7,$3,$4,$5,$6,$NF
}


Run as :
awk -f small.awk test1 >...
Showing results 1 to 25 of 500

 

Featured Tech Videos