Tag: process

find_free_dqentry(): Data block full but it shouldn’t.

Error: VFS: Error -5 occurred while creating quota. VFS: find_free_dqentry(): Data block full but it shouldn’t. Explanation: The error message “find_free_dqentry(): Data block full but it shouldn’t” appears in the server logs when the files “aquota.user and aquota.group” are mostly corrupted. The ‘fixquotas’ cannot read these files and thus increases […]

Unix Signals

A signal is a message which can be sent to a running process. Signals can be initiated by programs, users, or administrators. For example, to the proper method of telling the Internet Daemon (inetd) to re-read its configuration file is to send it a SIGHUP signal. For example, if the […]

INFECTED (PORTS: 465) + LKM Trojan installed

Chkrootkit scan result: INFECTED (PORTS: 465) + Possible LKM Trojan installed You may see the following output in the chkrootkit scan: INFECTED (PORTS: 465) You have 1 process hidden for readdir command You have 1 process hidden for ps command chkproc: Warning: Possible LKM Trojan installed The server is not […]

How to Monitor cpu abusers with script

The script found on the following site http://bashcurescancer.com The a script is called monitorCpuUsage.sh. It is meant to be called from crontab and to inform you of processes or users who maybe using excessive amounts of cpu. Here is the help screen: # ./monitorCpuUsage.sh -h Usage: monitorCpuUsage.sh -u starting uid, must be […]

Shell Script Utility To Read a File Line By Line

#!/bin/bash # Shell script utility to read a file line line. # Once line is read it can be process in processLine() function # You can call script as follows, to read myfile.txt: # ./readline myfile.txt # Following example will read line from standard input device aka keyboard: # ./readline […]

iopp: howto get i/o information per process

We all know and love vmstat, but wouldn’t it be nice to get such information on a per process basis, to be able to better understand what is causing i/o problems? This is exactly what iopp, written by Mark Wong and released as open source does: “It’s a custom tool […]

How to read core.xxx files in linux

How to view core.xx files in Linux? The core.xxx files are created on Linux servers and holds the current state of a process working memory when a process is crashed. To view the core.xx files in Linux, execute the command: root@host [~]# strings core.xxx It will list different state of […]