sar – Collect, report, or save system activity information

commandline session $ 4.2.36 24 220—> sar -b 1 3 Linux 3.2.0-3-amd64 (debian) Saturday 29 September 2012 _x86_64_ (1 CPU) 01:22:03 IST tps rtps wtps bread/s bwrtn/s 01:22:04 IST 0.00 0.00 0.00 0.00 0.00 01:22:05 IST 0.00 0.00 0.00 0.00 0.00 01:22:06 IST 5.21 0.00 5.21 0.00 2541.67 Average: 1.71 0.00 1.71 0.00 832.76 $ …

tcpdump not port 80

commandline session root@debian:~# tcpdump -i wlan0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on wlan0, link-type EN10MB (Ethernet), capture size 100535 bytes 23:33:46.824172 IP debian.local.48247 > mars.infoclub.in.http: Flags [S], seq 1276297543, win 14600, options [mss 1460,sackOK,TS val 4098743 ecr 0,nop,wscale 5], length 0 23:33:46.826612 IP debian.local.41745 > 192.168.0.1.domain: 43954+ …

backup

.righthalf { position:relative; left:51%; top:10.1%; } Work Style I 1. Get Topic From The Community 2. Select Easy Or Interested Area From The Topic 3. Play With It. 4. Organize. 5. Make Connection Between Works(Posts) To Make A Beautiful Work. Work Style II 1. Topic Selected By Us using Feedback. 2. Select Easy Or Interested …

semantic patch using coccinelle

commandline session $ 4.2.36 26 525—> cat source.c #include int main(int argc, char *argv[]) { unsigned int bytes = 1024 * 1024; char *buf; /* allocate memory */ buf = alloca(bytes); return 0; } $ 4.2.36 27 526—> cat source.cocci @@ expression E; @@ -alloca(E) +malloc(E) $ 4.2.36 28 527—> spatch –sp-file source.cocci source.c init_defs_builtins: …

universality of I/O

commandline session $ 4.2.36 6 504—> sudo cp yt-chanrip /dev/tty43 [sudo] password for jeffrin: $ 4.2.36 7 505—> tail -f /var/log/syslog tail: cannot open `/var/log/syslog’ for reading: Permission denied $ 4.2.36 8 506—> sudo tail -f /var/log/syslog Jan 5 21:04:54 debian — MARK — Jan 5 21:09:01 debian /USR/SBIN/CRON[4789]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime …