/*
* As part of the "inode diet" the private data member of struct inode
* has changed in 2.6.19. However, Fedore Core 6 adopted this change
* a bit earlier (2.6.18). If you use such a kernel, Change the
* following test from 2,6,19 to 2,6,18.
*/
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#define I_PRIVATE(inode) ((inode)->u.generic_ip)
#else
#define I_PRIVATE(inode) ((inode)->i_private)
#endif
Tuesday, October 30, 2007
Friday, October 19, 2007
Remote UNIX connection(disconnected) and asterisk
On CLI which is under verbose output, following message will be generated every 5 seconds.
It is due to safe_asterisk process, which itself is invoked by asterisk service, that kept connecting!
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
It is due to safe_asterisk process, which itself is invoked by asterisk service, that kept connecting!
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
> > -- Remote UNIX connection
> > -- Remote UNIX connection disconnected
Saturday, October 13, 2007
Wednesday, October 10, 2007
list bios information on linux
$dmidecode
dmidecode is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format
dmidecode is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format
Monday, October 8, 2007
Simple Linux network traffic monitor
vnStat is a network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s). vnStat isn't a packet sniffer. The traffic information is analyzed from the /proc -filesystem, so vnStat can be used without root permissions.
$vnstat -tr
$vnstat -tr
Subscribe to:
Posts (Atom)