易截截图软件、单文件、免安装、纯绿色、仅160KB

linux 软件的性能分析工具

在linux上,jprofiler可以分析java的软件系统,oprofile可以分析C的软件系统。
oprofile可以说是一个工具集,包含:
ophelp,
opcontrol,
agent libraries,
opreport,
opannotate,
opgprof,
oparchive,
opimport。
常用的工具是opcontrol,opreport,opannotate。opcontrol用来启动来停止profile监控;opreport用来报告测试结果;opannotate用来分析源代码。
详细信息手册:
http://oprofile.sourceforge.net/doc/index.html


相关文档:

Linux下常用C语言字符串操作函数

stroul,
strdup
snprintf()
atio
 
C中常用字符串操作函数
#include <string.h>
 
size_t strlen(const char *s)   测量字符串长度s的实际长度。
例如s[20]="abc",那么strlen(s)的结果是3,而不是20.这就是实际长度
 
char *strcat(const char *s1, const *s2)  ......

Linux 内核配置

Linux内核配置办法:
1. make config
这种办法会遍历所有配置项,要求用户逐个选择Y/N/M
2. make menuconfig
这个办法是基于ncurse库编制的图形界面工具。常用
3. make xconfig
用于基于X11的图形工具
4. make gconfig
用于基于gtk+图形工具
5. make defconfig
创建一个默认的配置,生成当前的.config
6. make x ......

linux 0.11 内核学习 file_dev.c


/*
 *  linux/fs/file_dev.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <errno.h>
#include <fcntl.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#define MIN(a,b) (((a)<(b))?(a):(b))
#defi ......

Linux重定向详解

转载:http://www.cnblogs.com/hexapodsoft/archive/2007/04/24/724902.html
I/O重定向详解及应用实例
1、 基本概念(这是理解后面的知识的前提,请务必理解)
a、 I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9;
b、 常用FD有3个,为0(stdin,标准输入)、1(stdout,标准输出)、2(stderr,标准错误输 ......

linux 常用网络工具

1,网络整体流量查看
  ifconfig -s
  cat /proc/net/dev
  sar -n DEV/EDEV interval(时间隔) count(次数)
  nload -m [-d interface]
2,详细查看网络流量,比如查看某一个ip/port,某一个协议
  iptraf,文本窗口界面
  ntop,web网页界面 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号