Search Results

Search: Posts Made By: Peasant
Forum: Red Hat 1 Hour Ago
37
Posted By Peasant
Well unfortunately, i'm no AIX guy, but it if...
Well unfortunately, i'm no AIX guy, but it if those other boxes in your LAN are connected to same network gear and everything works as expected / paid...
I would put my 2 cents on AIX.

Hopefully,...
Forum: Red Hat 5 Hours Ago
37
Posted By Peasant
Have you considered to set following mentioned in...
Have you considered to set following mentioned in below document if you are using VPN between ?

MTU considerations | Cloud VPN | Google Cloud...
79
Posted By Peasant
You can untar without the actual copy to host : ...
You can untar without the actual copy to host :

ssh user@host "cd /existing_folder_you_wish_to_untar_to && tar -xvf -" < mytar.tar


Regards
Peasant.
180
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,181
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,181
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: Solaris 1 Week Ago
377
Posted By Peasant
The procedure is documented here : Live Zone...
The procedure is documented here :

Live Zone Reconfiguration - Creating and Using Oracle(R) Solaris Zones (https://docs.oracle.com/cd/E53394_01/html/E54752/gogda.html#scrolltoc)

The feature is...
360
Posted By Peasant
Can you try force removal of mentioned packages...
Can you try force removal of mentioned packages using dpkg ?
After that, if packages are removed, run apt-get install -f

Hopefully that will help, if not post output of those commands above.

I...
Forum: Shell Programming and Scripting 2 Weeks Ago
581
Posted By Peasant
Real question being what is the purpose of...
Real question being what is the purpose of running :wq inside script ?

You wrote


Can you elaborate on this ?
How does :wq make things work better or worse for file in question ?

There are...
Forum: Shell Programming and Scripting 2 Weeks Ago
488
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 3 Weeks Ago
889
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...
716
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...
520
Posted By Peasant
Have you considered using SR-IOV or virtual...
Have you considered using SR-IOV or virtual tagged interfaces ?
Are you running virtual machines on that or bare metal configuration ?

Regards
Peasant.
559
Posted By Peasant
Change the $FILE variable include time of...
Change the $FILE variable include time of execution embedded in ?


EXECDATE=$(date "+%Y%m%d%H%M%S")
FILE="NEW_FILE_TRANSFER_${EXECDATE}.csv"
.....


So each time you execute a script, it...
552
Posted By Peasant
Are there any attempts or ideas from your side,...
Are there any attempts or ideas from your side, some code you gave a shot ?

Regards
Peasant.
702
Posted By Peasant
If you need to restart crond then you add a rule...
If you need to restart crond then you add a rule for that in /etc/sudoers.d/yourfilename
Rules must be added specifically per service using entire restart/stop string e.g systemctl stop crond,...
135
Posted By Peasant
Welcome to the forums Lukej21x Can you share...
Welcome to the forums Lukej21x

Can you share the entire or a major part of the script ?
How are you writing to file(s) using those checks ?

Regards
Peasant.
603
Posted By Peasant
Check out GNU specific grep option find...
Check out GNU specific grep option

find /u0/appl_top/ -name moveplan.xml -exec grep -H -i Passphrase {} \;


Or without GNU grep option

find /u0/appl_top/ -type f -name '*.txt' -exec grep...
824
Posted By Peasant
Such command does not exist, or else someone...
Such command does not exist, or else someone would suggest it.

Regards
Peasant.
870
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...

...
958
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,...
838
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)...
824
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...
824
Posted By Peasant
If you have access to switches in LAN network or...
If you have access to switches in LAN network or access to both hosts to examine configuration and traffic, yes.
Otherwise, you will not get advice here about 'hacking' tools or their usage, if...
143
Posted By Peasant
Both are exact ports. Currenty jboss is...
Both are exact ports.

Currenty jboss is running in standalone mode, with 9990 being management port (jboss cli and HTTP access for deploying restarting etc...)
And 8080 being application served....
Showing results 1 to 25 of 500

 

Featured Tech Videos

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