"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
- Brian W. Kernighan
Performance Analysis Tools
Benchmarks
LMbench - Low-level performance benchmark tools.
STREAM - Sustainable memory bandwidth benchmark.
Calibrator - A cache-memory and TLB latency measurement tool.
Bonnie++ - A disk I/O benchmark.
System Analysis
KCachegrind - Source intermixed with profiling data.
OProfile - A system-wide profiler.
The Linux Trace Toolkit - A kernel-level tracer.
Syscalltrack - Track invocations of system calls (a system-wide strace).
Dynamic Probes - Linux debugger that can be used to insert software probes dynamically into executing code.
Development Tools
Static Code Analysis
Splint - A static checker (was called clint).
RATS - Rough Auditing Tool for Security. Similar to Flawfinder.
Flawfinder - a program that examines source code for security issues. Similar to RATS.
Smatch - The Source Matcher, based on papers about the Stanford Checker.
Sparse - a static type-checking tool for the Linux kernel (written by Linus Torvalds).
Dynamic Debugging
Dmalloc - Debug malloc library.
Mpatrol - another debugging malloc library.
Valgrind - An open-source memory debugger.
Electric Fence - A memory bounds checker.
BFBTester - A tool that does quick proactive security checks of binaries.
Compilation and Documentation Tools
Ccache - A compiler cache. This is a MUST HAVE.
Doxygen - A documentation system.
Code Coverage Tools
Gcov - A code coverage tool that works with gcc
Ggcov - A GUI for gcov
Other Possibly Interesting Stuff
LSM - Linux Security Modules.
Mudflap and Libmudflap - Patches for gcc/egcs.
Static Code Analysis
Flawfinder - Static security analysis tool (written in Python).
ITS4 - Software Security Tool. Not under GPL.
Cqual - A tool for adding type qualifiers to C.
MOPS - MOdelchecking Programs for Security properties.
BOON - Buffer Overrun detectiON.
Test Suites
Linux Test Project
Open POSIX Test Suite
Links:
http://www.mostang.com/~davidm/papers/expo97/paper/doc004.html
Note:
All above information is available in Internet … I just gathered the info and put here … Just recompilation nothing more than that. Thanks a lot to the Webpage owners.
UNIX Commands
1. UNIX Mount Commands:
AIX: mount –r –v cdrfs /dev/cd0 /cdrom
HP-UX: mount –o cdcase –F cdfs /dev/dsk/c0t0d0 /cdrom
SCO OpenServer: mount –r /dev/cd0 /cdrom
SCO UnixWare: mount –F cdfs –o ro /dev/cdrom/cdrom1 /cdrom
Solaris: mount –r –F hsfs /dev/cd0 /cdrom
Linux: mount –r –t iso9660 /dev/cdrom /cdro
2. grep Command
Command to recursively grep for a pattern in a directory => find . xargs grep pattern