Home »
Posts by Artem Nosulchik
Posted by Artem Nosulchik on Oct 17, 2012 in Linux, Uncategorized | Comments Off
This post about Linux df command opens series of articles for Linux newbies where you’ll find description and usage examples of major Linux commands like df, top, fsck, mount and so on.
Introduction
Linux df command can be used to display disk usage statistics for the file systems present on the Linux system. It’s handy tool to know which filesystem is consuming how much memory. Also,...
read more
Posted by Artem Nosulchik on Jul 5, 2012 in Linux, Uncategorized | Comments Off
Restricted shells like rssh and scponly give sysadmin the possibility to limit the operations that Linux user can do, for example you can create user that will be allowed to copy files via scp but won’t be permitted to login into system’s command line. This is quite important security feature that should be considered by every sysadmin to prevent unauthorized activity by users for...
read more
Posted by Artem Nosulchik on Jul 4, 2012 in Linux, Uncategorized | Comments Off
HAProxy is open source proxy that can be used to enable high availability and load balancing for web applications. It was designed especially for high load projects so it is very fast and predictable, HAProxy is based on single-process model.
In this post I’ll describe sample setup of HAProxy: users’ requests are load balanced between two web servers Web1 and Web1, if one of them goes...
read more
Posted by Artem Nosulchik on Jul 4, 2012 in Linux, Uncategorized | Comments Off
Most of Linux distributions comes with Linux Auditing System that makes it possible to track file changes, file accesses as well as system calls. It’s pretty useful functionality for sysadmins who wish to know who and when accessed and/or changed sensitive files like /etc/passwd, /etc/sudoers or others.
Daemon auditd that usually runs in background and starts after reboot by default logs...
read more
Posted by Artem Nosulchik on Jul 3, 2012 in Linux, Uncategorized | Comments Off
cpulimit is a small program written in C that allows to limit CPU usage by Linux process. Limit is specified in percentage so it’s possible to prevent high CPU load generated by scripts, programs or processes.
I found cpulimit pretty useful for the scripts running from cron, for example I can do overnight backups and be sure that compression of 50GB file via gzip won’t eat all CPU...
read more