linuxÖеÄÐźŽṹÌå
typedef struct siginfo
{
int si_signo; /* Signal number.*/
int si_errno; /* If non-zero, an errno value associated with this signal, as defined in <errno.h>.*/
int si_code; /* Signal code*/
union
{
int _pad[__SI_PAD_SIZE];
struct /* kill().*/
{
__pid_t si_pid; /* Sending process ID.*/
__uid_t si_uid; /* Real user ID of sending process.*/
&n
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
linuxÏÂfile descriptoerÏÞÖÆ
ĬÈÏ·ÖÀà 2009-11-21 14:47 ÔĶÁ0 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
Tuning file descriptor limits on Linux
Linux limits the number of file descriptors that any one process may open; the default limits are 1024 p ......
LINUX³£ÓÃÃüÁ»ù´¡£©
1. man ¶ÔÄãÊìϤ»ò²»ÊìϤµÄÃüÁîÌṩ°ïÖú½âÊÍ
eg:man ls ¾Í¿ÉÒԲ鿴lsÏà¹ØµÄÓ÷¨
×¢£º°´q¼ü»òÕßctrl+cÍ˳ö£¬ÔÚlinuxÏ¿ÉÒÔʹÓÃctrl+cÖÕÖ¹µ±Ç°³ÌÐòÔËÐС£
2. ls ²é¿´Ä¿Â¼»òÕßÎļþµÄÊô*£¬ÁоٳöÈÎһĿ¼ÏÂÃæµÄÎļþ
eg: ls /usr/man
ls -l
a.d±íʾĿ¼(directory)£¬Èç¹ûÊÇÒ»¸ö"-"±íʾÊÇÎļþ ......
LinuxÏÂÀ©Õ¹Ó²ÅÌ£¨Ò»£©
(2009-09-26 19:15:12)
±êÇ©£ºit
ËÄ¡¢fdisk ¶ÔÓ²Å̼°·ÖÇøµÄ²Ù×÷£¬½øÈëfdisk ¶ÔÓ²Å̲Ù×÷½×¶Î
¡¡¡¡ÎÒÃÇ¿ÉÒÔ¶ÔÓ²Å̽øÐзÖÇø²Ù×÷£¬Ç°ÌáÊÇÄú°Ñfdisk -l ŪÃ÷°×ÁË£»Í¨¹ýfdisk -l
£¬ÎÒÃÇÄÜÕÒ³ö»úÆ÷ÖÐËùÓÐÓ²Å̸öÊý¼°É豸Ãû³Æ£»±ÈÈçÉÏÃæµÄÀý×Ó£¬ÎÒÃǻῴµ½Á½¸öÉ豸һ¸öÊÇ/dev/hda £¬ÁíÒ» ......
½üÀ´ÕýÔÚѧϰLinux shell script£¬Ö÷ÒªÊÇѧϰLinux Shell Scripting Tutorial (LSST) v1.05r3µÄ¼¸¸öÕ½ڣ¬µ«ÒòΪÊÇÓ¢ÎĵÄËùÒÔÕâÀï°ÑËü·ÒëÏ£¬Ò²ÊÇ×Ô¼º¼ÓÉîÓ¡Ï󡣺ÃÁËÖ±½Ó½øÈëÖ÷Ìâ¡£
1.How to write shell script £¿
a.Ê×ÏÈÓÃÈκεıàÒëÆ÷£¨vi,vim,kwrite,....£©±àдһ¸öshell script£»
b.È»ºó°´ÕÕÏÂÃæµÄ·½·¨¸øÄã± ......