vmstat reports information about processes, memory, paging, block IO, traps, disks and cpu activity. Slab Allocation Linux Slab Allocator.
Monthly Archives: December 2009
ypdomainname – show or set the system’s NIS/YP domain name
ABOUT NIS The Network Information Service, or NIS (originally called Yellow Pages or YP), is a client–server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network. Sun Microsystems developed the NIS; the technology is licensed to virtually all other Unix vendors. Because British Telecom …
Continue reading “ypdomainname – show or set the system’s NIS/YP domain name”
ypdomainname
commands used to display or set domain name , hostname and YP domain name.
backtrace for iceweasel related hangup
(gdb) bt #0 0x00007fc68928b99d in pthread_join (threadid=1404900385100136, thread_return=0x0) at pthread_join.c:89 #16 0x00007fc68773d8e8 in XRE_main (argc=, argv=, aAppData=) at nsAppRunner.cpp:3331 #17 0x00000000004024df in main (argc=1, argv=0x7fffaa9352c8) at nsXULStub.cpp:493
iceweasel related hangup
(gdb) bt #0 0x00007fc68928b99d in pthread_join (threadid=140490038565136, thread_return=0x0) at pthread_join.c:89 #16 0x00007fc68773d8e8 in XRE_main (argc=, argv=, aAppData=) at nsAppRunner.cpp:3331 #17 0x00000000004024df in main (argc=1, argv=0x7fffaa9352c8) at nsXULStub.cpp:493
getopt – parse command options
commandline session $getopt hello — $getopt hello how are you ? — how are you 1 c h $getopt hello hello are you ? — hello are you 1 c h $getopt hello hello are yours ? — hello are yours 1 c h $getopt hello hello are yours what ? — hello are yours …
getopt
getopt is used to break up (parse) options in command lines for easy parsing by shell procedures, and to check for legal options.
compilation error. libjingle
../../talk/base/messagequeue.h: In constructor ‘talk_base::Message::Message()’: ../../talk/base/messagequeue.h:121: error: ‘memset’ was not declared in this scope i have failed to fix it until now.it did not compile sucessfully. a typical source is available here
Understanding the Unix ‘head’ Command
commandline session head is a program on Unix and Unix-like operating systems used to display the beginning of a text file or piped data. $sudo head /var/log/syslog Jan 5 20:10:05 debian syslogd 1.5.0#6.1: restart. Jan 5 20:10:05 debian anacron[1056]: Job `cron.daily’ terminated Jan 5 20:10:05 debian anacron[1056]: Normal exit (1 job run) Jan 5 20:12:14 …
head
Print the first 10 lines of each FILE to standard output. Part of debian coreutils.