FAQ Updates: Dec/22/2011

in Categories Sys admin last updated December 21, 2011

Our FAQ section is updated in last few days with new howto:

Make the most of nixCraft FAQ Section

Get intimated about our new howtos / faqs as soon as it is released via RSS feed OR follow us on twitter OR join our 16k+ facebook fans for more tips and news about Linux.

FAQ Updates – June/26/2011

in Categories Sys admin last updated June 26, 2011

Our FAQ section is updated in last few days with new howtos:

FAQ & Howtos RSS Feed

Get intimated about our new howtos / faqs as soon as it is released via RSS feed.

nixCraft is on Facebook!

Not our Fan yet? We suggest you become one right away! Just visit our Facebook Page. Click on the “like” button.

HowTo: Debug Crashed Linux Application Core Files Like A Pro

in Categories Linux, Troubleshooting last updated June 3, 2010

Core dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apache, PHP-CGI or any other program crashed. Many vendors and open source project author requests a core file to troubleshoot a program. A core file is generated when an application program abnormally terminates due to bug, operating system security protection schema, or program simply try to write beyond the area of memory it has allocated, and so on. This article explains how to turn on core file support and track down bugs in programs.

ss command: Display Linux TCP / UDP Network/Socket Information

in Categories Debian Linux, Howto, Linux, Monitoring, Networking, RedHat/Fedora Linux, Sys admin, Troubleshooting, Ubuntu Linux last updated March 20, 2018

The ss command is used to show socket statistics. It can display stats for PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets, and more. It allows showing information similar to netstat command. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (as compare to netstat) tool for tracking TCP connections and sockets. SS can provide information about:

  • All TCP sockets.
  • All UDP sockets.
  • All established ssh / ftp / http / https connections.
  • All local processes connected to X server.
  • Filtering by state (such as connected, synchronized, SYN-RECV, SYN-SENT,TIME-WAIT), addresses and ports.
  • All the tcp sockets in state FIN-WAIT-1 and much more.