Search Results

Search: Posts Made By: Peasant
125
Posted By Peasant
Have you tried running the grep -E -v...
Have you tried running the grep -E -v "string1|string2" and observe the results ?

Regards
Peasant.
1,059
Posted By Peasant
Those rrdtools based tools are quite efficient. ...
Those rrdtools based tools are quite efficient.
rrdtool is one of the gems in computing, much like MQTT Neo mentioned.

As for Prometheus, give it a shot, it's not that hard :)
But i think we...
1,059
Posted By Peasant
Setup metrics in file using cron, something in...
Setup metrics in file using cron, something in the line of :


TM=$(date "+%Y%m%d_%H%M")
DDUMP=/some/dir
iostat -ctdxN 15 240 >> ${DDUMP}/iostat_${TM}.out &
mpstat 15 240 >>...
Forum: Shell Programming and Scripting 2 Weeks Ago
429
Posted By Peasant
For single chars, tr is more obvious choice. ...
For single chars, tr is more obvious choice.

Give it a shot, and get back here if you get stuck, showing your attempts.

Regards
Peasant.
Forum: Solaris 2 Weeks Ago
824
Posted By Peasant
Current situation is : Your T4 box has 3 IP...
Current situation is :

Your T4 box has 3 IP addresses on three interface, from one which is VNIC net1 net0 vnic0
In one point in time, these addresses have been configured...

If you wish to...
661
Posted By Peasant
Tip: inotify cron
Dear members, moderators and others.

While working on <insert project>, a need has surfaced to watch a directory, and when a file comes, to do appropriate action.
So, i started writing some...
812
Posted By Peasant
Please, do post your attempts and efforts,...
Please, do post your attempts and efforts, including operating system and shell details in future.

We would like to see how far you got before helping.

See if this helps you get started...

...
892
Posted By Peasant
I've seen this mostly related to DNS query...
I've seen this mostly related to DNS query timeouts setup from client side.
The defaults are quite high on most linux/unix operating system, from AIX man page online :


In practice if you have,...
776
Posted By Peasant
Check out this example, and apply it to your...
Check out this example, and apply it to your enviroment.


[root@box ~]# id goprog
uid=1000(goprog) gid=1000(goprog) groups=1000(goprog)
[root@box ~]# id jboss
uid=666(jboss) gid=666(jboss)...
816
Posted By Peasant
Check firewall-cmd or iptables -L (depending on...
Check firewall-cmd or iptables -L (depending on linux release and type) rules for specific rules, containing IP addresses in questions.
This should help, if linux firewall is used.

If not, other...
1,322
Posted By Peasant
When dealing with /etc/passwd, /etc/shadow, PAM...
When dealing with /etc/passwd, /etc/shadow, PAM or sudo files :


Have a root session / prompt opened aside from everything else, you will use this session to fix / remedy if something does not...
1,554
Posted By Peasant
Try adding the -P option to both tar commands and...
Try adding the -P option to both tar commands and omit the change directory.
Since you are extracting full paths, you do not need to cd to anywhere.


tar -Pcvf - $filename |ssh -p222...
2,038
Posted By Peasant
For DIY ... you can get a small ARM board with...
For DIY ... you can get a small ARM board with sim slot with linux installed.
Buy a sim card or make a contract, like for regular phone.

Using opensource software such as Gammu...
1,014
Posted By Peasant
Looks like you are mixing ldoms and zones on the...
Looks like you are mixing ldoms and zones on the same box ?
This is doable, but ill advised.
Create a LDOM first, then zone inside or restore flar archive directly into a LDOM.

As for exclusive...
236
Posted By Peasant
Is this virtual machine and if yes on what...
Is this virtual machine and if yes on what platform ?

If not, what driver is running for that card, which kind of card is it.
Do you have access to lspci command from pciutils ?

Hope that...
931
Posted By Peasant
After 1300ish posts one should know to post error...
After 1300ish posts one should know to post error you found.
This will benefit others and be in search results.

So, please, post the solution.

Regards
Peasant.
931
Posted By Peasant
Please post operating system details. Can...
Please post operating system details.

Can you show output from :

which bash
head -1 <your script> | od -cb


Regards
Peasant.
802
Posted By Peasant
Why not check it by creating some files and doing...
Why not check it by creating some files and doing for loop with a simple echo ?
Default order of things should be apparent from the output produced.

As for other requirements, it will have to be...
164
Posted By Peasant
Can you please be more precise and note your...
Can you please be more precise and note your operating system with shell details.
Offer an example of your problem and/or make better wording.

Regards
Peasant.
1,010
Posted By Peasant
Looks fine. As far as i could read online, it's...
Looks fine.
As far as i could read online, it's some kind of Oracle Linux derivative which in turn is RHEL base.

Can we see inside the guest ..

ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*...
608
Posted By Peasant
Perfectly normal. When you unplug the PS, a...
Perfectly normal.
When you unplug the PS, a fault is generated.

You can clear the fault, after you plugged it back in and it shows everything is ok.

Regards
Peasant.
Forum: What is on Your Mind? 10-30-2019
2,903
Posted By Peasant
HAL9000 : Welcome Dave :) Regards Peasant.
HAL9000 : Welcome Dave :)

Regards
Peasant.
Forum: Solaris 10-23-2019
5,849
Posted By Peasant
Here : open("/etc/nsswitch.conf",...
Here :

open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4
fcntl(4, F_DUPFD, 0x00000100) = 256
close(4) = 0
read(256, 0xFF352400, 1024)...
Forum: Solaris 10-23-2019
5,849
Posted By Peasant
Can you try the following, perhaps it will shed...
Can you try the following, perhaps it will shed some light :

truss -rall -wall chown root:sys <some insignificant file>

Are you using ZFS ?
Please check if you have some old snapshot of rpool...
4,038
Posted By Peasant
Presenting snapshot luns will work fine, as long...
Presenting snapshot luns will work fine, as long as you don't present source and snapshots to the same box.

Rescan the fabric, followed by pvscan, then vgimport <your_group_from_pvscan>
Take care...
Showing results 1 to 25 of 404

 

Featured Tech Videos

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