In our system, we use linux quota to limit users file usage. However, quota database has inconsistencies with file usage of users. Sometimes user has no data, however quota database shows 4KB of usage.
On this problem, quotacheck is recommended. However, quotacheck fully checks the disk. If there are too many files and users, also user files frequently changing; online mode of quotacheck can’t fix inconsistencies.
Continue reading Linux Quota Inconsistency Problems
I discovered a program that shows process activities: ProcessActivityView! You can find which files are accessed by a specific process. I will show this program on finding shared photos.
Continue reading How To Find Shared Photos in MSN Messenger
I wrote a program for deleting Foldername.exe virus.
- Must be executed in the virus directory.
- There must not be exe file on the folder.
- Open notepad, copy the code into it and save something.bat.
:: Written by Mustafa CANTURK
:: Licensed under GPL
for /f "tokens=*" %%a in ('dir /a /b') do (
attrib -S -H "%%a"
Hello again, we have given a project in System Programming course. It was expected you to alter the kernel code for process invisibility, when you
ps, process can not be seen in the output, if process invisibility flag is “1”.
The project was modifying the linux kernel for process invisibility, writing a system call for setting the invisibility flag and writing a user-space program.
Project was developed at Xubuntu 9.10 guest on Windows 7 host. Eclipse (with CDT and Remote System Explorer plugins) was the development IDE. Putty SSH client was also used for executing commands and “command copy/paste” availability. VirtualBox was the virtual machine supervisor.
ATTENTION: This code is experimental. If you try, it will be your own responsibility.
Continue reading Linux Process Invisibility
KDE4 has brought a new concept to desktop by Plasma. However, it was not considered that Plasma should work on more than one monitors. It has rumours that KDE 4.2 has a fix for multi-monitoring, this fix is not working. While I was searching for the problem, I found an alternative solution to monitoring on KDE-Forums (It redirects to Gentoo-Wiki).
- Backup your xorg.conf file (/etc/X11/xorg.conf ).
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
- Configure your xorg.conf file for dual monitors. I don’t now how ATI is configured, but for NVIDIA you can use
nvidia-settings program. You must configure both screen as seperate screen. Your main screen’s height should be greater than second’s and Xinerama should be disabled. Then click “Save to X Configuration File” and save it.
- Install ICEWM by your default repository manager.
emerge -av icewm
- Restart your Xorg server by
- Open a console then write:
- If you want to work with “icewm” every start of your computer:
echo 'DISPLAY=":0.1" icewm &' > ~/YOUR_KDE_FOLDER/Autostart/icewmstart.sh
If folder name is “.kde”:
echo 'DISPLAY=":0.1" icewm &' > ~/.kde/Autostart/icewmstart.sh
And then my dual monitors 🙂
If your second monitor left of the main monitor you can configure
xorg.conf file like this:
Find the line:
Screen 1 "Screen1" RightOf "Screen0"
Then change to:
Screen 1 "Screen1" LeftOf "Screen0"