If you are a developer, you will re-use code provided by others. Usually /lib, /lib64, /usr/local/lib, and other directories stores various shared libraries. You can write your own program using these shared libraries. As a sys admin you need to manage and install these shared libraries. Use the following commands for shared libraries management, security, and debugging problems.
Cygwin software offers Linux-like environment for Windows making it possible to port software running on POSIX systems (such as Linux, BSD, and Unix systems) to Windows. However, sometime you just wanna run bc or wget under Windows without going through Cygwin. Here are some ports of common GNU utilities to native Win32. In this context, […]
Under Linux / UNIX it is very easy to find out all running services and shutdown unwanted services. All you have to do it go through the following directories or configuration files: => /etc/init.d/ => /etc/rcX.d/ => /etc/xinetd./d => /etc/inetd.conf => /usr/local/etc/rc.d You can also use tools such as CentOS / RHEL ntsysv tool / […]
While administrating a box, you may wanted to find out what a processes is doing and find out how many file descriptors (fd) are being used. You will surprised to find out that process does open all sort of files:
=> Actual log file
=> /dev files
=> UNIX Sockets
=> Network sockets
=> Library files /lib /lib64
=> Executables and other programs etc
In this quick post, I will explain how to to count how many file descriptors are currently in use on your Linux server system.