Tag: tool
Troubleshooting UNIX Systems with lsof
30 Mar2006

One of the main tasks of any administrator is to create stable environment for different sorts of businesses. Big part of this task is troubleshooting. There are many different tools in UNIX for system monitoring, but, at my mind, one of the most useful tools is lsof- one of the least-talked-about tools in a UNIX sysadmin’s toolkit. Lsof lists information about files opened by processes. But that’s really an understatement.

Most people forget that, in UNIX, (almost) everything is a file. The OS makes hardware available to applications by way of files in /dev. Kernel, system, memory, device etc. information in made available inside files in /proc. TCP/UDP sockets are sometimes represented internally as files. Even directories are really just files containing other filenames.

Lsof works by examining kernel data-structures and provides a variety of information related to files, pipes, sockets and more.

Read the rest of this entry

Fiddler – HTTP Debugging Proxy
16 Mar2006

Some times we need to debug some web-application or some web-server software, but we can not see complete HTTP-session. I very like Live Headers Plugin for Firefox, but it has some disadvantages… It can not say me when some interesting event happens.

Let me introduce very useful tool for web-server admins and web-developers: Fiddler – HTTP Debugging Proxy which logs all HTTP traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP Traffic, set breakpoints, and “fiddle” with incoming or outgoing data. Fiddler is designed to be much simpler than using NetMon or Achilles, and includes a simple but powerful JScript.NET event-based scripting subsystem.

If you need to debug HTTPS headers, you can use RPASpy plugin that enables viewing HTTPS request and response headers inside Fiddler.