Search Results

Search: Posts Made By: Peasant
723
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...
723
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 5 Days Ago
214
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...
206
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...
428
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...
333
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
714
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...
573
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...
385
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.
470
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...
440
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.
617
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,...
128
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.
560
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...
763
Posted By Peasant
Such command does not exist, or else someone...
Such command does not exist, or else someone would suggest it.

Regards
Peasant.
Forum: Shell Programming and Scripting 4 Weeks Ago
716
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...

...
810
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,...
695
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)...
763
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...
763
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...
136
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....
1,332
Posted By Peasant
Since you are using Oracle PL/SQL, it has DBMS...
Since you are using Oracle PL/SQL, it has DBMS Output availability to write to logs and UTL_SMTP to send mails.
Do everything in PL/SQL procedure and make your life easier.

At least, do not use...
124
Posted By Peasant
If your exclude.txt contains content like : ...
If your exclude.txt contains content like :

192.168.1.101
192.168.1.102
192.168.1.103
192.168.1.123


And you wish to exclude from your output.txt based on IP address in exclude.txt, this...
1,419
Posted By Peasant
Enviroment file is not a apache configuration...
Enviroment file is not a apache configuration file, try removing that line entirely.
Every time you change a systemd unit, you need to reload the daemon

systemctl daemon-reload


Then try to...
1,236
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...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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