Copy standard input to each FILE, and also to standard output. A special variant of the tee for the shell is called script and permits duplicating all input commands submitted to a shell into a file.
Author Archives: jeffrin
tee – read from standard input and write to standard output and files
A UNIX Command $tee name my name is nice. my name is nice. $cat name my name is nice. $ UNIX Explanation Copy standard input to each FILE, and also to standard output. A special variant of the tee for the shell is called script and permits duplicating all input commands submitted to a shell …
Continue reading “tee – read from standard input and write to standard output and files”
stat
Display file or file system status.
stat – display file or file system status
A UNIX Command stat -f / $stat -f / File: “/” ID: bc427fdafb7b0541 Namelen: 255 Type: ext2/ext3 Block size: 4096 Fundamental block size: 4096 Blocks: Total: 18864769 Free: 16209639 Available: 15251363 Inodes: Total: 4792320 Free: 4684854 $ UNIX Explanation Display file or file system status. Related Source Code Exposition static bool do_statfs (char const *filename, …
Continue reading “stat – display file or file system status”
vmstat -m
vmstat reports information about processes, memory, paging, block IO, traps, disks and cpu activity. Slab Allocation Linux Slab Allocator.
vmstat – Report virtual memory statistics
A UNIX Command . vmstat -m Cache Num Total Size Pages fat_inode_cache 23 23 688 23 fat_cache 102 102 40 102 isofs_inode_cache 0 0 656 12 udf_inode_cache 23 23 712 23 fuse_request 0 0 632 25 fuse_inode 0 0 768 21 dm_crypt_io 0 0 152 26 kcopyd_job 0 0 368 22 dm_uevent 0 0 2608 …
Continue reading “vmstat – Report virtual memory statistics”
ypdomainname
commands used to display or set domain name , hostname and YP domain name.
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”
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
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